ComparisonReport.create_estimator_report#
- ComparisonReport.create_estimator_report(*, name, X_test=None, y_test=None)[source]
Create an estimator report from one of the reports in the comparison.
This method creates a new
EstimatorReportwith the same estimator and the same data as the chosen report. It is useful to evaluate and deploy a model that was deemed optimal during the comparison. Provide a held out test set to properly evaluate the performance of the model.- Parameters:
- namestr
The name of the estimator to create a report for.
- 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