Classification of text documents
  • References/Python/scikit-learn/Examples/Working with text documents

This is an example showing how the scikit-learn can be used to classify documents by topics using a bag-of-words approach. This example

2025-01-10 15:47:30
grid_search.GridSearchCV()
  • References/Python/scikit-learn/API Reference/grid_search

Warning DEPRECATED class

2025-01-10 15:47:30
sklearn.metrics.r2_score()
  • References/Python/scikit-learn/API Reference/metrics

sklearn.metrics.r2_score(y_true, y_pred, sample_weight=None, multioutput=None)

2025-01-10 15:47:30
sklearn.metrics.pairwise.chi2_kernel()
  • References/Python/scikit-learn/API Reference/metrics

sklearn.metrics.pairwise.chi2_kernel(X, Y=None, gamma=1.0)

2025-01-10 15:47:30
Scaling the regularization parameter for SVCs
  • References/Python/scikit-learn/Examples/Support Vector Machines

The following example illustrates the effect of scaling the regularization parameter when using

2025-01-10 15:47:30
Selecting dimensionality reduction with Pipeline and GridSearchCV
  • References/Python/scikit-learn/Examples/General examples

This example constructs a pipeline that does dimensionality reduction followed by prediction with a support vector classifier

2025-01-10 15:47:30
Comparison of kernel ridge regression and SVR
  • References/Python/scikit-learn/Examples/General examples

Both kernel ridge regression (KRR) and SVR learn a non-linear function by employing the kernel trick, i.e., they learn a linear function in the

2025-01-10 15:47:30
Isotonic Regression
  • References/Python/scikit-learn/Examples/General examples

An illustration of the isotonic regression on generated data. The isotonic regression finds a non-decreasing approximation of a function while minimizing the mean squared

2025-01-10 15:47:30
manifold.SpectralEmbedding()
  • References/Python/scikit-learn/API Reference/manifold

class sklearn.manifold.SpectralEmbedding(n_components=2, affinity='nearest_neighbors', gamma=None, random_state=None, eigen_solver=None

2025-01-10 15:47:30
sklearn.metrics.v_measure_score()
  • References/Python/scikit-learn/API Reference/metrics

sklearn.metrics.v_measure_score(labels_true, labels_pred)

2025-01-10 15:47:30