probinet.model_selection.acd_cross_validation#

This module contains the ACDCrossValidation class, which is used to perform cross-validation of the ACD algorithm.

Classes

ACDCrossValidation(algorithm, parameters, ...)

Class for cross-validation of the ACD algorithm.

class probinet.model_selection.acd_cross_validation.ACDCrossValidation(algorithm, parameters, input_cv_params, numerical_parameters=None)[source]#

Class for cross-validation of the ACD algorithm.

calculate_performance_and_prepare_comparison(outputs, mask, fold, algorithm_object)[source]#
extract_mask(fold)[source]#

Extract the mask for the current fold.

prepare_and_run(mask)[source]#

Prepare the data for training and run the algorithm.

Parameters:

mask (np.ndarray) – The mask to apply on the data.

Returns:

  • tuple – The outputs of the algorithm.

  • object – The algorithm object.