Skip to content

Pickle file troubleshoot #3

@Vanessawhj

Description

@Vanessawhj

Hi Mehul, great work with your personality detection there! However, I'm having trouble loading the pickle files as it says No module named 'sklearn.linear_model.logistic

I've already install sklearn packages but still couldn't load the module. I was wondering how did you install the module as the closest one I got was https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html
where it is sklearn.linear_model.LogisticRegression instead of 'sklearn.linear_model.logistic`

Thank you!

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-44-1904dfad750b> in <module>
     45 #     lr_ie = pickle.load(f)
     46 with open('LR_clf_JP_kaggle.pickle', 'rb') as f:
---> 47     lr_jp = pickle.load(f)
     48 # with open('LR_clf_NS_kaggle.pickle', 'rb') as f:
     49 #     lr_ns = pickle.load(f)

ModuleNotFoundError: No module named 'sklearn.linear_model.logistic'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions