- Sort Score
- Result 20 results
- Languages All
- Labels All
Results 181 - 200 of 599 for test (0.65 sec)
-
Gradient Boosting regression — scikit-learn 1.4...
X_test , y_train , y_test = train_test_split ( X ,...mean_squared_error ( y_test , reg . predict ( X_test )) print ( "The...scikit-learn.org/stable/auto_examples/ensemble/plot_gradient_boosting_regression.html -
Installing scikit-learn — scikit-learn 1.4.2 do...
2 tests pytest-cov 2.9.0 tests ruff 0.0.272 tests black 23.3.0...23.3.0 tests mypy 1.3 tests pyamg 4.0.0 tests polars 0.19.12...scikit-learn.org/stable/install.html -
Kernel PCA — scikit-learn 1.4.2 documentation
X_test , y_train , y_test = train_test_split ( X ,..."Training data" ) test_ax . scatter ( X_test [:, 0 ], X_test [:, 1 ],...scikit-learn.org/stable/auto_examples/decomposition/plot_kernel_pca.html -
Single estimator versus bagging: bias-variance ...
( y ) X_test , y_test = generate ( n_samples = n_test , noise...training set n_test = 1000 # Size of the test set noise = 0.1...scikit-learn.org/stable/auto_examples/ensemble/plot_bias_variance.html -
L1-based models for Sparse Signals — scikit-lea...
import train_test_split X_train , X_test , y_train , y_test = train_test_split...train_test_split ( X , y , test_size = 0.5 , shuffle = False ) In...scikit-learn.org/stable/auto_examples/linear_model/plot_lasso_and_elasticnet.html -
GMM covariances — scikit-learn 1.4.2 documentation
train_index ] X_test = iris . data [ test_index ] y_test = iris . target...transAxes ) y_test_pred = estimator . predict ( X_test ) test_accuracy...scikit-learn.org/stable/auto_examples/mixture/plot_gmm_covariances.html -
Linear Regression Example — scikit-learn 1.4.2 ...
scatter ( diabetes_X_test , diabetes_y_test , color = "black" )...Split the data into training/testing sets diabetes_X_train = diabetes_X...scikit-learn.org/stable/auto_examples/linear_model/plot_ols.html -
Shrinkage covariance estimation: LedoitWolf vs ...
coloring_matrix ) X_test = np . dot ( base_X_test , coloring_matrix...ymin , - cv . best_estimator_ . score ( X_test ), color = "cyan"...scikit-learn.org/stable/auto_examples/covariance/plot_covariance_estimation.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 -
Custom refit strategy of a grid search with cro...
import train_test_split X_train , X_test , y_train , y_test = train_test_split..., "mean_test_recall" , "std_test_recall" , "mean_test_precision"...scikit-learn.org/stable/auto_examples/model_selection/plot_grid_search_digits.html -
Dimensionality Reduction with Neighborhood Comp...
train/test X_train , X_test , y_train , y_test = train_test_split...( model . transform ( X_test ), y_test ) # Embed the data set...scikit-learn.org/stable/auto_examples/neighbors/plot_nca_dim_reduction.html -
Cross-validation on diabetes Dataset Exercise —...
regularization Nested versus non-nested cross-validation Nested versus...lasso_cv . score ( X [ test ], y [ test ]) ) ) print () print...scikit-learn.org/stable/auto_examples/exercises/plot_cv_diabetes.html -
Sample pipeline for text feature extraction and...
) data_test = fetch_20newsgroups ( subset = "test" , categories...vect__norm: l1 test_accuracy = random_search . score ( data_test . data...scikit-learn.org/stable/auto_examples/model_selection/plot_grid_search_text_feature_extraction.html -
Multiclass Receiver Operating Characteristic (R...
X_test , y_train , y_test , ) = train_test_split ( X...( X_test ) One-vs-Rest multiclass ROC The One-vs-the-Rest (OvR)...scikit-learn.org/stable/auto_examples/model_selection/plot_roc.html -
Comparing Random Forests and Histogram Gradient...
significant improvement of the testing score. Plot results We can...elapsed computing time and mean test score. Passing the cursor over...scikit-learn.org/stable/auto_examples/ensemble/plot_forest_hist_grad_boosting_comparison.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 -
Comparison of kernel ridge regression and SVR —...
train_time = [] test_time = [] for train_test_size in sizes :...fit ( X [: train_test_size ], y [: train_test_size ]) train_time...scikit-learn.org/stable/auto_examples/miscellaneous/plot_kernel_ridge_regression.html -
sklearn.neighbors.NeighborhoodComponentsAnalysi...
X_test , y_train , y_test = train_test_split ( X ,...print ( knn . score ( X_test , y_test )) 0.933333... >>> knn ....scikit-learn.org/stable/modules/generated/sklearn.neighbors.NeighborhoodComponentsAnalysis.html -
10. Common pitfalls and recommended practices —...
X_test , y_train , y_test = train_test_split ( ......X_train , X_test , y_train , y_test = train_test_split ( ......scikit-learn.org/stable/common_pitfalls.html -
Compare cross decomposition methods — scikit-le...
) X_test_r , Y_test_r = cca . transform ( X_test , Y_test ) Total...Y_train ) X_test_r , Y_test_r = plsca . transform ( X_test , Y_test...scikit-learn.org/stable/auto_examples/cross_decomposition/plot_compare_cross_decomposition.html