Skip to content

Delete wrapper function optics around OPTICS#13271

Merged
adrinjalali merged 2 commits intoscikit-learn:masterfrom
abenbihi:remove-optics-wrapper
Feb 26, 2019
Merged

Delete wrapper function optics around OPTICS#13271
adrinjalali merged 2 commits intoscikit-learn:masterfrom
abenbihi:remove-optics-wrapper

Conversation

@abenbihi
Copy link
Copy Markdown
Contributor

@abenbihi abenbihi commented Feb 26, 2019

Fixes #11568.

@adrinjalali
optics is a simple wrapper around the OPTICS class which instantiates the
class and calls fit. This wrapper exists for DBSCAN or K-Means but not for all
clustering methods. For code homogeneity, I am deleting this function. I delete the documentation references to it.

optics () is a simple  wrapper around the OPTICS class which instantiates the
class and calls fit. This wrapper exists for DBSCAN or K-Means but not for all
clustering methods. For code homogeneity, I am deleting this function.
@adrinjalali
Copy link
Copy Markdown
Member

tests failing?

@adrinjalali
Copy link
Copy Markdown
Member

This also fixes #11568

Previous commit forgot to delete the optics wrapper from the cluster module
list. So the test testing the presence of modules failed.
@abenbihi
Copy link
Copy Markdown
Contributor Author

I forgot to delete the optics wrapper function from the list of functions for which the tests do a presence test. Since I deleted the function, the presence test failed. Now I deleted optics from the list of functions to test.

Copy link
Copy Markdown
Member

@qinhanmin2014 qinhanmin2014 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the final decision is to split it in a separate PR ? OK then.

@adrinjalali
Copy link
Copy Markdown
Member

yeah I'm happy to have this separate. LGTM as well.

@adrinjalali adrinjalali merged commit face9da into scikit-learn:master Feb 26, 2019
@adrinjalali
Copy link
Copy Markdown
Member

Thanks @AssiaBen :)

xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
* Delete wrapper function optics around OPTICS

optics () is a simple  wrapper around the OPTICS class which instantiates the
class and calls fit. This wrapper exists for DBSCAN or K-Means but not for all
clustering methods. For code homogeneity, I am deleting this function.

* delete optics wrapper from cluster module list

Previous commit forgot to delete the optics wrapper from the cluster module
list. So the test testing the presence of modules failed.
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
* Delete wrapper function optics around OPTICS

optics () is a simple  wrapper around the OPTICS class which instantiates the
class and calls fit. This wrapper exists for DBSCAN or K-Means but not for all
clustering methods. For code homogeneity, I am deleting this function.

* delete optics wrapper from cluster module list

Previous commit forgot to delete the optics wrapper from the cluster module
list. So the test testing the presence of modules failed.
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