I have tried importing a simple logistic regression model into Azure ML to use in a Execute Python Script-module It's attached the correct way, but I keep getting the same error. From what I understand this has to do with the version of scikit-learn and scipy, but I created venv for almost every possible version of Python.
Error 0085: The following error occurred during script evaluation, please view the output log for more information:
---------- Start of error message from Python interpreter ----------
Caught exception while executing function: Traceback (most recent call last):
File "C:\server\invokepy.py", line 199, in batch
odfs = mod.azureml_main(*idfs)
File "C:\temp\8c190f6b5c65446f8824ed5a578a75d5.py", line 22, in azureml_main
model = pickle.load( open( "./Script Bundle/logreg_model_36.pkl", "rb" ) )
ImportError: No module named 'sklearn.linear_model._logistic'
Process returned with non-zero exit code 1
Can someone please explain which version of scikit-learn I need to execute in Azure ML studio (classic) with the environment set to 'Anconda 4.0/Python3.5'?
Kind regards