watex.models.getSplitBestScores#
- watex.models.getSplitBestScores(cvres, split=0)[source]#
Get the best score at each split from cross-validation results
- Parameters:
cvres (dict of (str, Array-like)) β cross validation results after training the models of number of parameters equals to N. The str fits the each parameter stored during the cross-validation while the value is stored in Numpy array.
split (int, default=1) β The number of split to fetch parameters. The number of split must be the number of cross-validation (cv) minus one.
- Returns:
bests β Dictionnary of the best parameters at the corresponding split in the cross-validation.
- Return type:
Dict,