You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\Carina\ProgrammingProjects\KaterynaSuperProf\twitter_analysis.py", line 74, in
test()
File "C:\Users\Carina\ProgrammingProjects\KaterynaSuperProf\twitter_analysis.py", line 68, in test
sonar = Sonar()
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\hatesonar\api.py", line 21, in init
self.estimator = joblib.load(model_file)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1213, in load
dispatchkey[0]
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1529, in load_global
klass = self.find_class(module, name)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1580, in find_class import(module, level=0)
ModuleNotFoundError: No module named 'sklearn.linear_model.logistic'
Process finished with exit code 1
Code:
def test():
sonar = Sonar()
sonar.ping(text="I hate you")
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "C:\Users\Carina\ProgrammingProjects\KaterynaSuperProf\twitter_analysis.py", line 74, in
test()
File "C:\Users\Carina\ProgrammingProjects\KaterynaSuperProf\twitter_analysis.py", line 68, in test
sonar = Sonar()
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\hatesonar\api.py", line 21, in init
self.estimator = joblib.load(model_file)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1213, in load
dispatchkey[0]
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1529, in load_global
klass = self.find_class(module, name)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1580, in find_class
import(module, level=0)
ModuleNotFoundError: No module named 'sklearn.linear_model.logistic'
Process finished with exit code 1
Code:
def test():
sonar = Sonar()
sonar.ping(text="I hate you")
The text was updated successfully, but these errors were encountered: