kasrahabib / persian-sentiment-analysis

A trained model to predict sentiment class of a given Persian text.
MIT License
11 stars 1 forks source link

sklearn.linear_model.stochastic_gradient #2

Open yousefan opened 2 years ago

yousefan commented 2 years ago

Hi, when I import this library and run the code, I get the Error: ModuleNotFoundError: No module named 'sklearn.linear_model.stochastic_gradient'

no matter where to install ... i installed on both google colab and my machine but the error is the same

kasrahabib commented 2 years ago

Hi,

It is due to the recent update of sklearn. They have either changed the name of the module or replaced its directory in the newer versions.

I do not have time to fix it. PM me if you want, I might find the original files and share it with you.

yousefan commented 2 years ago

Hi, Where to PM you? Send me a contact way

Thanks

On Azar 3, 1400 AP, at 02:06, Mohammad Kasra Habib @.***> wrote:

Hi,

It is due to the recent update of sklearn. They have either changed the name of the module or replaced its directory in the newer versions.

I do not have time to fix it. PM me if you want I might find the original files and share it with you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kasrahabib/persian-sentiment-analysis/issues/2#issuecomment-977235013, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJPTLBLXZJNIJRG6EMOHKLUNQJODANCNFSM5IUEK2CQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kasrahabib commented 2 years ago

Hi, My email address is shared on my profile!