simrun
❭ modular_reduced_model_inference
❭ reduced_model
❭ DataSplitEvaluation
DataSplitEvaluation¶
- class simrun.modular_reduced_model_inference.reduced_model.DataSplitEvaluation(Rm)¶
Split data in training-test sets.
This class provides an interface to split input data in separate train-test sets, and to evaluate the reduced model performance scores corresponding to the splits.
- Methods:¶
add_random_split
(name, percentage_train, l)Set the train-test split randomly.
add_isi_dependent_random_split
(name, min_isi, percentage_train)Split data based on the inter-spike interval.
Get the train-test splits.
add_result
(solver, x)Save the optimization result.
Compute the score of the optimization.