probinet.model_selection.cross_validation#
Main function to implement cross-validation given a number of communities.
Hold-out part of the dataset (pairs of edges labeled by unordered pairs (i,j));
Infer parameters on the training set;
Calculate performance measures in the test set (AUC).
Classes
|
Abstract class to implement cross-validation for a given algorithm. |
- class probinet.model_selection.cross_validation.CrossValidation(algorithm, model_parameters, cv_parameters, numerical_parameters=None)[source]#
Abstract class to implement cross-validation for a given algorithm.