Skip to content
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

DOC Example MLPRegressor as an autoencoder #25360

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lfourniercm
Copy link

@lfourniercm lfourniercm commented Jan 11, 2023

Reference Issues/PRs

Fixes #25346
Fixes #25216

What does this implement/fix? Explain your changes.

This fix adds an example for MLPRegressor as an autoencoder

Any other comments?

@glemaitre glemaitre changed the title Example MLPRegressor as an autoencoder DOC Example MLPRegressor as an autoencoder Jan 13, 2023
@glemaitre glemaitre self-requested a review January 31, 2023 10:25
@glemaitre glemaitre removed their request for review September 9, 2023 13:39
@github-actions
Copy link

github-actions bot commented Sep 9, 2023

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 002c6fc. Link to the linter CI: here

@glemaitre
Copy link
Member

@ogrisel I just push my improved example. However, I am wondering if we should actually add this example since in a real use-case we would advocate to use a dedicated neural network library (e.g. keras) to tackle such problem.

I would second your opinion either way on this one.

@jonnor
Copy link
Contributor

jonnor commented Oct 29, 2023

Denoising an image is maybe not a great example. Especially since very quickly, one probably would want to use convolutions etc., which are outside sklearn scope. But using a reconstructing autoencoder as an anomaly detection method is quite established, and an improvement over OneClassSVM/IsolationForest/LocalOutlierFactor etc in many cases. Maybe a basic example of that would be appropriate?
Similar to ex https://scikit-learn.org/stable/auto_examples/neighbors/plot_lof_novelty_detection.html#sphx-glr-auto-examples-neighbors-plot-lof-novelty-detection-py ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mention that MLPRegressor can function as an autoencoder
3 participants