FileIOModel

class pyapprox.interface.FileIOModel(shell_command, params_filename='params.in', results_filename='results.out', process_sample_override=None, load_results_override=None)[source]

Bases: object

Evaluate a model by writing parameters to file, running a shell script and reading the results from the file created by the shell script.

Methods Summary

__call__(samples)

Call self as a function.

get(key[, assert_exists])

run(sample)

set_function_evaluation_id(eval_id)

Methods Documentation

__call__(samples)[source]

Call self as a function.

get(key, assert_exists=True)[source]
run(sample)[source]
set_function_evaluation_id(eval_id)[source]