Lasso on dense and sparse data
  • References/Python/scikit-learn/Examples/Generalized Linear Models

We show that linear_model.Lasso provides the same results for dense and sparse data and that in the case of sparse data the speed is improved.

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

sklearn.linear_model.lasso_stability_path(X, y, scaling=0.5, random_state=None, n_resampling=200, n_grid=100, sample_fraction=0

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

class sklearn.cluster.SpectralClustering(n_clusters=8, eigen_solver=None, random_state=None, n_init=10, gamma=1.0, affinity='rbf'

2025-01-10 15:47:30
Robust linear estimator fitting
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Here a sine function is fit with a polynomial of order 3, for values close to zero. Robust fitting is demoed in different situations: No

2025-01-10 15:47:30
1.8.
  • References/Python/scikit-learn/Guide

The cross decomposition module contains two main families of algorithms: the partial least squares (PLS) and the canonical correlation analysis (CCA). These families

2025-01-10 15:47:30
Face completion with a multi-output estimators
  • References/Python/scikit-learn/Examples/General examples

This example shows the use of multi-output estimator to complete images. The goal is to predict the lower half of a face given its upper half

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

class sklearn.svm.NuSVC(nu=0.5, kernel='rbf', degree=3, gamma='auto', coef0=0.0, shrinking=True, probability=False, tol=0.001, cache_size=200, class_weight=None

2025-01-10 15:47:30
Clustering text documents using k-means
  • References/Python/scikit-learn/Examples/Working with text documents

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

2025-01-10 15:47:30
Probabilistic predictions with Gaussian process classification
  • References/Python/scikit-learn/Examples/Gaussian Process for Machine Learning

This example illustrates the predicted probability of GPC for an RBF kernel with different choices of the hyperparameters

2025-01-10 15:47:30
A demo of structured Ward hierarchical clustering on a raccoon face image
  • References/Python/scikit-learn/Examples/Clustering

Compute the segmentation of a 2D image with Ward hierarchical clustering. The clustering is spatially constrained in

2025-01-10 15:47:30