idmtools_calibra.algorithms.next_point_algorithm module

class idmtools_calibra.algorithms.next_point_algorithm.NextPointAlgorithm

Bases: object

abstract set_state(state, iteration)
restore(iteration_state)
abstract cleanup()
abstract get_param_names()
abstract get_samples_for_iteration(iteration)
abstract get_state()
abstract set_results_for_iteration(iteration, results)
abstract end_condition()
abstract get_final_samples()
update_iteration(iteration)

Update the current iteration state of the algorithm.

prep_for_dict(df)

Utility function allowing to transform a DataFrame into a dict removing null values

static sample_from_function(function, N)
update_summary_table(iteration_state, previous_results)
Returns a summary table of the form:

[result1 result2 results_total param1 param2 iteration simIds] index = sample Used by OptimTool and IMIS algorithm

get_results_to_cache(results)
generate_samples_from_df(dfsamples)