Cross Validator for ML

This module belongs to the ""Evaluation and fine-tuning" category of modules.

Description

The Cross Validator is used for evaluating a Machine Learning model using the cross validation method. It outputs the relative scores of the model according to your scoring method. You can get the mean, and the standard deviation of the scores with the mean() and std() method of the output.

This module has three input ports and one output port.

The input ports

  1. The first input port takes the model to evaluate .

  2. The second input port takes the features used for evaluating the model .

  3. The third port takes the labels for evaluating the model.

The three inputs of the Cross Validator have all to be connected.

The output port

As an output, this port gets back the selected element from the parameters.

Parameters

Scoring methods can be set by selecting one from the dropdown :

  • Balanced accuracy (Classification) , Average precision, Brier score loss, F1 score , F1 Micro, F1 Weighted , F1 Samples ,Cross entropy Precision, Macro -precision ,Weighted-precision, Sample precision, Recall (Binary Classification ), Macro-recall ,Micro-recall ,Weighted-recall, Samples recall (Multi -label classification ), Adjusted mutual information score (Clustering), Adjusted Rand Index, Completeness score, Fowlkes Mallows score ,Homogeneity Score, Mutual Information score, Normalized information score ,V-measure Cluster (Clustering) ,Explained variance (Regression), Negative mean squared error (Regression), Negative mean squared logarithmic error (Regression) , Negative median absolute (Regression), R2 score (Regression) and more.....

Equally, we can choose what to output. This might be : Scores, Mean, Standard deviation and Median.

👉N.B : K is for k-fold CV

We can choose how to score or model among the enriched list of methods.

Last updated

Was this helpful?