CrossValidationReport.create_estimator_report#
- CrossValidationReport.create_estimator_report(*, X_test=None, y_test=None)[source]
Create an estimator report from the cross-validation report.
This method creates a new
EstimatorReportwith the same estimator and the same data as the cross-validation report. It is useful to evaluate and deploy a model that was deemed optimal with cross-validation. Provide a held out test set to properly evaluate the performance of the model.- Parameters:
- X_test{array-like, sparse matrix} of shape (n_samples, n_features) or None
Testing data. It should have the same structure as the training data.
- y_testarray-like of shape (n_samples,) or (n_samples, n_outputs) or None
Testing target.
- Returns:
- report
EstimatorReport The estimator report.
- report