8000 [MRG] Model selection clean up old files - Reuse as much as possible from the new module(s) by raghavrv · Pull Request #2 · raghavrv/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG] Model selection clean up old files - Reuse as much as possible from the new module(s) #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 39 commits into from

Conversation

raghavrv
Copy link
Owner

@jnothman @amueller @vene Please take a look!

This should clean up a lot.

I am not sure if I should clean up the tests.. There will be a lot of duplicated tests but I felt not removing them will ensure that we are able to import the duplicated modules from cross validation and that they work as before...

@raghavrv raghavrv force-pushed the model_selection_clean_up_old_files branch 4 times, most recently from 50b5e26 to 5d172b0 Compare June 28, 2015 02:50
@raghavrv raghavrv changed the title Model selection clean up old files - Reuse as much as possible from the new module(s) [MRG] Model selection clean up old files - Reuse as much as possible from the new module(s) Jun 28, 2015
@raghavrv raghavrv force-pushed the model_selection branch 2 times, most recently from d2688ff to e4e3290 Compare June 28, 2015 07:18
@amueller
Copy link

why is there a landscape bot here?! do you have some hooks on your repo?

@amueller
Copy link

ah this is a PR to your branch...

@raghavrv raghavrv force-pushed the model_selection_clean_up_old_files branch from 5d172b0 to 6b5a4fb Compare July 1, 2015 08:48
@raghavrv
Copy link
Owner Author
raghavrv commented Jul 1, 2015

haha yes! wait I'll disable it :)

@raghavrv raghavrv force-pushed the model_selection_clean_up_old_files branch from 6b5a4fb to 9329936 Compare July 2, 2015 11:51
@raghavrv raghavrv force-pushed the model_selection_clean_up_old_files branch from 9329936 to f4b8fca Compare July 5, 2015 06:00
@raghavrv raghavrv force-pushed the model_selection branch 2 times, most recently from 8d39d5d to fb8b1ac Compare July 10, 2015 18:38
@raghavrv raghavrv force-pushed the model_selection_clean_up_old_files branch from f4b8fca to 222bd86 Compare July 10, 2015 18:43
@raghavrv raghavrv force-pushed the model_selection branch 7 times, most recently from 51d6829 to b114063 Compare August 3, 2015 04:19
raghavrv and others added 5 commits August 10, 2015 04:33
Main Commits
------------

* ENH Reogranize classes/fn from grid_search into search.py
* ENH Reogranize classes/fn from cross_validation into split.py
* ENH Reogranize cls/fn from cross_validation/learning_curve into validate.py
* MAINT Merge _check_cv into check_cv inside the model_selection module
* MAINT Update all the imports to point to the model_selection module
* FIX use iter_cv to iterate throught the new style/old style cv objs

Commits merged manually
-----------------------

* FIX Document the random_state attribute in RandomSearchCV
* MAINT Use check_cv instead of _check_cv
* ENH refactor OVO decision function, use it in SVC for sklearn-like
  decision_function shape
@raghavrv raghavrv force-pushed the model_selection branch 2 times, most recently from d36fbaa to d1d30b9 Compare August 14, 2015 23:23
@raghavrv raghavrv force-pushed the model_selection branch 4 times, most recently from ac70abe to 36cd441 Compare September 14, 2015 00:31
@raghavrv raghavrv force-pushed the model_selection branch 8 times, most recently from 1c078f9 to 19c2a78 Compare October 12, 2015 11:48
@raghavrv raghavrv force-pushed the model_selection branch 7 times, most recently from b2a952a to b40f307 Compare October 22, 2015 13:10
@raghavrv raghavrv force-pushed the model_selection branch 5 times, most recently from 74ec175 to 6a0d2fc Compare October 23, 2015 13:02
@raghavrv raghavrv closed this Oct 23, 2015
raghavrv pushed a commit that referenced this pull request Dec 7, 2016
…scikit-learn#7838)

* initial commit for return_std

* initial commit for return_std

* adding tests, examples, ARD predict_std

* adding tests, examples, ARD predict_std

* a smidge more documentation

* a smidge more documentation

* Missed a few PEP8 issues

* Changing predict_std to return_std #1

* Changing predict_std to return_std #2

* Changing predict_std to return_std #3

* Changing predict_std to return_std final

* adding better plots via polynomial regression

* trying to fix flake error

* fix to ARD plotting issue

* fixing some flakes

* Two blank lines part 1

* Two blank lines part 2

* More newlines!

* Even more newlines

* adding info to the doc string for the two plot files

* Rephrasing "polynomial" for Bayesian Ridge Regression

* Updating "polynomia" for ARD

* Adding more formal references

* Another asked-for improvement to doc string.

* Fixing flake8 errors

* Cleaning up the tests a smidge.

* A few more flakes

* requested fixes from Andy

* Mini bug fix

* Final pep8 fix

* pep8 fix round 2

* Fix beta_ to alpha_ in the comments
raghavrv pushed a commit that referenced this pull request Jun 10, 2017
* resurrect quantile scaler

* move the code in the pre-processing module

* first draft

* Add tests.

* Fix bug in QuantileNormalizer.

* Add quantile_normalizer.

* Implement pickling

* create a specific function for dense transform

* Create a fit function for the dense case

* Create a toy examples

* First draft with sparse matrices

* remove useless functions and non-negative sparse compatibility

* fix slice call

* Fix tests of QuantileNormalizer.

* Fix estimator compatibility

* List of functions became tuple of functions
* Check X consistency at transform and inverse transform time

* fix doc

* Add negative ValueError tests for QuantileNormalizer.

* Fix cosmetics

* Fix compatibility numpy <= 1.8

* Add n_features tests and correct ValueError.

* PEP8

* fix fill_value for early scipy compatibility

* simplify sampling

* Fix tests.

* removing last pring

* Change choice for permutation

* cosmetics

* fix remove remaining choice

* DOC

* Fix inconsistencies

* pep8

* Add checker for init parameters.

* hack bounds and make a test

* FIX/TST bounds are provided by the fitting and not X at transform

* PEP8

* FIX/TST axis should be <= 1

* PEP8

* ENH Add parameter ignore_implicit_zeros

* ENH match output distribution

* ENH clip the data to avoid infinity due to output PDF

* FIX ENH restraint to uniform and norm

* [MRG] ENH Add example comparing the distribution of all scaling preprocessor (#2)

* ENH Add example comparing the distribution of all scaling preprocessor

* Remove Jupyter notebook convert

* FIX/ENH Select feat before not after; Plot interquantile data range for all

* Add heatmap legend

* Remove comment maybe?

* Move doc from robust_scaling to plot_all_scaling; Need to update doc

* Update the doc

* Better aesthetics; Better spacing and plot colormap only at end

* Shameless author re-ordering ;P

* Use env python for she-bang

* TST Validity of output_pdf

* EXA Use OrderedDict; Make it easier to add more transformations

* FIX PEP8 and replace scipy.stats by str in example

* FIX remove useless import

* COSMET change variable names

* FIX change output_pdf occurence to output_distribution

* FIX partial fixies from comments

* COMIT change class name and code structure

* COSMIT change direction to inverse

* FIX factorize transform in _transform_col

* PEP8

* FIX change the magic 10

* FIX add interp1d to fixes

* FIX/TST allow negative entries when ignore_implicit_zeros is True

* FIX use np.interp instead of sp.interpolate.interp1d

* FIX/TST fix tests

* DOC start checking doc

* TST add test to check the behaviour of interp numpy

* TST/EHN Add the possibility to add noise to compute quantile

* FIX factorize quantile computation

* FIX fixes issues

* PEP8

* FIX/DOC correct doc

* TST/DOC improve doc and add random state

* EXA add examples to illustrate the use of smoothing_noise

* FIX/DOC fix some grammar

* DOC fix example

* DOC/EXA make plot titles more succint

* EXA improve explanation

* EXA improve the docstring

* DOC add a bit more documentation

* FIX advance review

* TST add subsampling test

* DOC/TST better example for the docstring

* DOC add ellipsis to docstring

* FIX address olivier comments

* FIX remove random_state in sparse.rand

* FIX spelling doc

* FIX cite example in user guide and docstring

* FIX olivier comments

* EHN improve the example comparing all the pre-processing methods

* FIX/DOC remove title

* FIX change the scaling of the figure

* FIX plotting layout

* FIX ratio w/h

* Reorder and reword the plot_all_scaling example

* Fix aspect ratio and better explanations in the plot_all_scaling.py example

* Fix broken link and remove useless sentence

* FIX fix couples of spelling

* FIX comments joel

* FIX/DOC address documentation comments

* FIX address comments joel

* FIX inline sparse and dense transform

* PEP8

* TST/DOC temporary skipping test

* FIX raise an error if n_quantiles > subsample

* FIX wording in smoothing_noise example

* EXA Denis comments

* FIX rephrasing

* FIX make smoothing_noise to be a boolearn and change doc

* FIX address comments

* FIX verbose the doc slightly more

* PEP8/DOC

* ENH: 2-ways interpolation to avoid smoothing_noise

Simplifies also the code, examples, and documentation
raghavrv pushed a commit that referenced this pull request Jun 26, 2017
6594
* add test for _preprocess_data and make it consistent

* fix pep8

* add doc, cast systematically y in X.dtype and update test_coordinate_descent.py

* test if input values don't change with copy=True

* test if input values don't change with copy=True #2

* fix doc

* fix doc #2

* fix doc #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0