intel / scikit-learn-intelex

Intel(R) Extension for Scikit-learn is a seamless way to speed up your Scikit-learn application
https://intel.github.io/scikit-learn-intelex/
Apache License 2.0
1.23k stars 175 forks source link

Null pointer in input arguments #308

Closed jojo96 closed 3 years ago

jojo96 commented 4 years ago

I am trying the run the notebook @ https://github.com/IntelPython/daal4py/blob/master/examples/daal4py_data_science.ipynb

When I try to run the following block, I get a run time error. d4p_lm = d4p.linear_regression_training(interceptFlag=True) lm_trained = d4p_lm.compute(reduced_dataset.values, target)

**RuntimeError Traceback (most recent call last)

in 1 d4p_lm = d4p.linear_regression_training(interceptFlag=True) ----> 2 lm_trained = d4p_lm.compute(reduced_dataset.values, target) build\daal4py_cy.pyx in _daal4py.linear_regression_training.compute() build\daal4py_cy.pyx in _daal4py.linear_regression_training._compute() RuntimeError: Null pointer in input arguments**
KalyanovD commented 4 years ago

Hello @jojo96,

Looks like in your case input data wasn't set. This may be caused by some issues with environment or execution process. Could you please provide more information about environment on your machine(versions of packages and jupyter and how it was installed)? Does the In[5] and In[7] cells shows correct shapes as in original notebook?

I've tried to reproduce your problem with using conda environment with installed Jupyter Notebook and other packages but this notebook finished without errors.

PetrovKP commented 3 years ago

@jojo96 can we close this issue?