Closed ElrondL closed 8 months ago
Does LassoNet have an autoencoder implementation? If not, is it possible to create one by connecting two LassoNetRegressors?
@ilemhadri do you know how the autoencoders were implemented in the paper?
My best guess is that it was something along the lines of
from sklearn.datasets import fetch_california_housing
from sklearn.preprocessing import StandardScaler
from lassonet import LassoNetRegressor
X, _ = fetch_california_housing(return_X_y=True)
X = StandardScaler().fit_transform(X)
model = LassoNetRegressor(verbose=2)
path = model.path(X, X)
My reference is https://github.com/lasso-net/lassonet/issues/25
That works for me too. Is there any idea similar to a ‘latent space’ in LassoNetRegressor when used for unsupervised learning?
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: @.> Sent: 04 November 2023 07:04 To: @.> Cc: @.>; @.> Subject: Re: [lasso-net/lassonet] Add documentation for LassoNetAutoEncoder (Issue #47)
As of Oct 2022, it seems this used to work
from sklearn.datasets import fetch_california_housing
from sklearn.preprocessing import StandardScaler
from lassonet import LassoNetRegressor
X, _ = fetch_california_housing(return_X_y=True)
X = StandardScaler().fit_transform(X)
model = LassoNetRegressor(verbose=2)
path = model.path(X, X)
My reference is #25https://github.com/lasso-net/lassonet/issues/25
— Reply to this email directly, view it on GitHubhttps://github.com/lasso-net/lassonet/issues/47#issuecomment-1793452644, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALNNXLMYGX5XZNSMPCGVFC3YCZDQPAVCNFSM6AAAAAA6LNGJWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ2TENRUGQ. You are receiving this because you authored the thread.Message ID: @.***>
I’m mainly looking for a way to output the feature space
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: @.> Sent: 04 November 2023 07:04 To: @.> Cc: @.>; @.> Subject: Re: [lasso-net/lassonet] Add documentation for LassoNetAutoEncoder (Issue #47)
As of Oct 2022, it seems this used to work
from sklearn.datasets import fetch_california_housing
from sklearn.preprocessing import StandardScaler
from lassonet import LassoNetRegressor
X, _ = fetch_california_housing(return_X_y=True)
X = StandardScaler().fit_transform(X)
model = LassoNetRegressor(verbose=2)
path = model.path(X, X)
My reference is #25https://github.com/lasso-net/lassonet/issues/25
— Reply to this email directly, view it on GitHubhttps://github.com/lasso-net/lassonet/issues/47#issuecomment-1793452644, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALNNXLMYGX5XZNSMPCGVFC3YCZDQPAVCNFSM6AAAAAA6LNGJWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ2TENRUGQ. You are receiving this because you authored the thread.Message ID: @.***>
In the example mnist_ae.py the module LassoNetAutoEncoder is imported from lassonet, but this is not in the documentation?