Closed cornejom closed 7 months ago
The linear model example at https://github.com/iamDecode/sklearn-pmml-model/tree/master/sklearn_pmml_model/linear_model cannot be run.
The following command fails: clf = PMMLLinearRegression(pmml="models/linear-regression.pmml")
clf = PMMLLinearRegression(pmml="models/linear-regression.pmml")
FileNotFoundError: [Errno 2] No such file or directory: 'models/linear-regression.pmml'
I visually reviewed the contents of the models folder and could not find that pmml file.
Windows-10-10.0.14393-SP0 Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] NumPy 1.23.0 SciPy 1.8.1 Scikit-Learn 1.2.1 sklearn-pmml-model 1.0.1
Description
The linear model example at https://github.com/iamDecode/sklearn-pmml-model/tree/master/sklearn_pmml_model/linear_model cannot be run.
Steps/Code to Reproduce
The following command fails:
clf = PMMLLinearRegression(pmml="models/linear-regression.pmml")
I visually reviewed the contents of the models folder and could not find that pmml file.
Versions
Windows-10-10.0.14393-SP0 Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] NumPy 1.23.0 SciPy 1.8.1 Scikit-Learn 1.2.1 sklearn-pmml-model 1.0.1