Commit Graph

504 Commits

Author SHA1 Message Date
Alexandre Passos 2eff92e86d Adding example; adding explicit lower bound computation; optionally monitoring convergence; full and tied work, somehow spherical and diag diverge. 2011-04-03 14:37:23 -03:00
Alexandre Gramfort 632364c3ba cosmits with trailing spaces 2011-04-01 12:36:49 -04:00
Alexandre Gramfort bacbe9611d Merge branch 'hcluster2'
Conflicts:
	scikits/learn/datasets/samples_generator.py
	scikits/learn/grid_search.py
2011-04-01 12:27:16 -04:00
bthirion 3c9113d0b2 always use scikits ward algo when no structure is provided 2011-04-01 12:18:29 +02:00
Fabian Pedregosa e1ecda69b0 ENH: better doc and tests for unbalanced svm's 2011-03-31 12:01:57 +02:00
Mathieu Blondel 66483cf2c0 Use np.vander. 2011-03-30 14:58:38 +09:00
Gael varoquaux ec96240c71 DOC: improve PLS docs and example 2011-03-25 00:27:18 +01:00
Mathieu Blondel b7c9201f6b Add polynomial interpolation example. 2011-03-24 16:04:40 +09:00
Peter Prettenhofer 3e9a383af6 Merge branch 'master' into sgdsampleweight 2011-03-21 08:04:44 +01:00
Olivier Grisel 637c70038c renamed load_* to fetch_* when network connection is potentially involved 2011-03-19 18:39:45 +01:00
Peter Prettenhofer bc16f01e24 Additional tests for sample weights.
Fixed some typos in doc strings.
Changed signature of coef_ for SGDClassifier; now adheres to svm convention that coef_ is shape [1, n_features] in the case of binary classification.
2011-03-15 20:50:44 +01:00
Peter Prettenhofer dfa75da35d Sample weights for SGDClassifier.
Additional test cases for class weight and sample weight.
Example plot for sample weight.
2011-03-15 19:58:56 +01:00
Edouard Duchesnay 4d31f558b2 Merge branch 'master' of github.com:scikit-learn/scikit-learn
Conflicts:
	doc/modules/classes.rst
	scikits/learn/datasets/__init__.py
	scikits/learn/datasets/base.py
2011-03-09 14:18:27 +01:00
Olivier Grisel 27acf9100d Merge branch 'master' into 20newsgroups-dataset 2011-03-03 18:50:58 +01:00
GaelVaroquaux 7d6b8b1dad BUG: fix grid_to_graph 2011-03-03 13:59:22 +01:00
Gael varoquaux 21175e3629 MISC: Fix example to adjust to eps -> tol 2011-03-02 06:52:58 +01:00
Olivier Grisel 317df23fd8 Merge branch 'master' into 20newsgroups-dataset 2011-02-28 18:38:59 +01:00
Alexandre Gramfort a3bc7eafcf ENH : factorizing img_to_graph and grid_to_graph
there was no bug before but an obscure img_to_graph(mask, mask)
that is now replaced by grid_to_graph (makes a connectivity structure
for a grid of pixels/voxels)
2011-02-28 10:58:00 -05:00
Fabian Pedregosa 4b00058df0 Examples cleanup: remove pl.close, it is now handled by gen_rst. 2011-02-28 15:12:32 +01:00
Olivier Grisel 6c4ecf3fb8 cosmit 2011-02-27 16:08:13 +01:00
Olivier Grisel 123c0f8c11 better name: rename class_names to target_names for consistency 2011-02-27 12:15:50 +01:00
Olivier Grisel f0a054b5ec update the grid search example 2011-02-27 03:05:42 +01:00
Olivier Grisel a7a6431627 cosmit 2011-02-27 02:19:14 +01:00
Olivier Grisel 7e65409bf2 cosmit 2011-02-27 02:10:26 +01:00
Olivier Grisel 323a423553 first stab at factoring the 20 newsgroups dataset loading 2011-02-27 02:05:02 +01:00
Alexandre Gramfort 5c9df2cefc FIX: ugly bug in connectivity on grids and images 2011-02-25 15:37:41 -05:00
Alexandre Gramfort 8c6ece869b fix remaining n_comp 2011-02-24 16:59:49 -05:00
Alexandre Gramfort c5aa155621 Merge branch 'hcluster' into hcluster2 that matches master
- pipeline and GridSearchCV have been cleaned
- feat agglo inherits from TransformerMixin
- s / n_comp / n_components in hierarchical.py

Conflicts:
	scikits/learn/feature_selection/univariate_selection.py
	scikits/learn/pipeline.py
	scikits/learn/tests/test_pipeline.py
2011-02-21 21:28:34 -05:00
Edouard Duchesnay e37d528dfe Merge branch 'master' of github.com:scikit-learn/scikit-learn 2011-02-21 16:07:02 +01:00
Olivier Grisel e4227fde23 face verification example will be implemented later 2011-02-21 11:09:06 +01:00
Olivier Grisel d7a1ddd6c1 better looking example 2011-02-21 02:19:28 +01:00
Olivier Grisel 3a28fd366c remove stupid color slicing 'feature' and shuffle the examples 2011-02-21 01:40:50 +01:00
Olivier Grisel 6609703cb3 make it possible to load the LFW people dataset using the scikits.learn.datasets infra 2011-02-20 21:08:28 +01:00
Olivier Grisel bfa583185a Merge branch 'master' into lfw-dataset 2011-02-20 15:36:33 +01:00
Edouard Duchesnay 26a25613de PLS : check for numerical instabilities + force float
- Warm user if latent variance is null
- cast X, Y data to float (since they have to be centerered)
2011-02-20 04:15:35 +01:00
Fabian Pedregosa ecd7190f09 Neighbors refactoring.
Rename NeighborsBarycenter --> NeighborsRegressor, Neighbors -->
NeighborsClassifier.

Also added parameter mode for NeighborRegressor (and updated examples
and doc describing it).
2011-02-17 10:37:34 +01:00
Fabian Pedregosa 40b3799a9f FIX: fix dimensions in plot_neighbors_regression. 2011-02-17 10:23:33 +01:00
Olivier Grisel 6826401dc6 more work on dataset loader for LFW pairs 2011-02-14 02:44:21 +01:00
Fabian Pedregosa 578154b6d3 PEP8 fixes. 2011-02-03 18:36:57 +01:00
Fabian Pedregosa c777ee7e26 Nicer support vectors in example plot_separating_hyperplane.py
Idea taken from svm_gui.py
2011-02-02 11:53:51 +01:00
Fabian Pedregosa 941c18a79e Turn off axis in plot_iris.
Looks better in the doc.
2011-02-02 06:41:44 +01:00
Alexandre Gramfort abd9a193c7 moving swiss_roll generator in samples generator
better 3D axes orientation for viz
2011-02-01 22:29:50 -05:00
Edouard Duchesnay fb9e0bd523 PLS, new specific classes: PLSCanonical, PLSRegression, CCA + some cosmetics
Those classes simply inherits from the base PLS with specific parameters
- PLSregression inherits from PLS with mode="A" and
    deflation_mode="regression"
- PLSCanonical inherits from PLS with mode="A" and
    deflation_mode="canonical"
- CCA inherits from PLS with
    mode="B" and deflation_mode="canonical"

Cosmetics: minimalistic example usage
2011-02-01 13:58:27 +01:00
Edouard Duchesnay 5d6b05852d PLS cosmetic: PEP8, etc. 2011-02-01 04:35:18 +01:00
Alexandre Gramfort 1cd924e404 better ward rst doc examples 2011-01-31 22:16:31 -05:00
Edouard Duchesnay 6de70d451d PLS : make sure this also works with 1 dimensional response (PLS1) 2011-01-31 12:11:05 +01:00
Edouard Duchesnay e388349f26 Merge branch 'master' of github.com:scikit-learn/scikit-learn 2011-01-30 03:43:51 +01:00
Edouard Duchesnay 40c62f4b91 PLS : predict
- add some plot
- test of "non regression" for the prediction fucntion
2011-01-30 03:42:28 +01:00
Edouard Duchesnay 04c10f74e3 PLS : add predict function
+ some cosmetic
2011-01-29 20:48:43 +01:00
Mathieu Blondel 215ed61545 Merge branch 'ridge' 2011-01-28 12:57:52 +09:00