- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 61 - 70 of 509 for tests (0.1 sec)
-
Lagged features for time series forecasting — s...
import train_test_split X_train , X_test , y_train , y_test = train_test_split...train_test_split ( X , y , test_size = 0.2 , random_state = 42 )...scikit-learn.org/stable/auto_examples/applications/plot_time_series_lagged_features.html -
LeavePGroupsOut — scikit-learn 1.5.0 documentation
f " Test: index= { test_index } , group= { groups [ test_index...indices for that split. test ndarray The testing set indices for that...scikit-learn.org/stable/modules/generated/sklearn.model_selection.LeavePGroupsOut.html -
ROC Curve with Visualization API — scikit-learn...
X_test , y_train , y_test = train_test_split ( X ,...from_estimator ( svc , X_test , y_test ) plt . show () Training...scikit-learn.org/stable/auto_examples/miscellaneous/plot_roc_curve_visualization_api.html -
StratifiedGroupKFold — scikit-learn 1.5.0 docum...
print ( f " Test: index= { test_index } " ) ... print...indices for that split. test ndarray The testing set indices for that...scikit-learn.org/stable/modules/generated/sklearn.model_selection.StratifiedGroupKFold.html -
Multi-class AdaBoosted Decision Trees — scikit-...
import train_test_split X_train , X_test , y_train , y_test = train_test_split...the remaining 30 percent for testing. from sklearn.model_selection...scikit-learn.org/stable/auto_examples/ensemble/plot_adaboost_multiclass.html -
LeaveOneOut — scikit-learn 1.5.0 documentation
Provides train/test indices to split data in train/test sets. Each..." ) ... print ( f " Test: index= { test_index } " ) Fold 0: Train:...scikit-learn.org/stable/modules/generated/sklearn.model_selection.LeaveOneOut.html -
Multiclass sparse logistic regression on 20newg...
X_test , y_train , y_test = train_test_split ( X ,...predict ( X_test ) accuracy = np . sum ( y_pred == y_test ) / y_test...scikit-learn.org/stable/auto_examples/linear_model/plot_sparse_logistic_regression_20newsgroups.html -
Release Highlights for scikit-learn 0.22 — scik...
X_test , y_train , y_test = train_test_split ( X ,...plot_roc_curve(svc, X_test, y_test) # rfc_disp = plot_roc_curve(rfc, X_test, y_test,...scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_0_22_0.html -
Post pruning decision trees with cost complexit...
X_test , y_train , y_test = train_test_split ( X ,...clfs ] test_scores = [ clf . score ( X_test , y_test ) for clf...scikit-learn.org/stable/auto_examples/tree/plot_cost_complexity_pruning.html -
Visualizations with Display Objects — scikit-le...
X_test , y_train , y_test = train_test_split ( X ,...predict ( X_test ) cm = confusion_matrix ( y_test , y_pred ) cm_display...scikit-learn.org/stable/auto_examples/miscellaneous/plot_display_object_visualization.html