Start your journey with Alteryx Machine Learning - Take our Interactive Lesson today!

Alteryx Machine Learning Discussions

Find answers, ask questions, and share expertise about Alteryx Machine Learning.
Getting Started

Start your learning journey with Alteryx Machine Learning Interactive Lessons

Go to Lessons
SOLVED

Machine Learning Predict throwing an error

fmvizcaino
17 - Castor
17 - Castor

Hi everyone,

 

I'm playing with the tool and I'm not able to predict results in designer.

For context, I'm using the non-admin designer 2022.1.1.30961 and I'm using the AutoML platform for partners.

 

  1. Uploaded data from designer - OK
  2. Modelling in AutoML cloud - OK
  3. Upload new data for prediction from browser - OK
  4. Upload same data for prediction from designer - ERROR (I removed the target variable)

The logs are attached and showing the following error: 

ERROR tempojobs.cli.utils - Fatal error in pipeline-predict job

ValueError: Length mismatch: Expected axis has 18 elements, new values have 19 elements

 

 

Best,

Fernando Vizcaino

 

 

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hey everyone,

 

I was able to correct the issue with a few tries. I didn't do all the scenarios, but this is what I think I found.

 

When you upload the dataset from the browser option and you have to drop an ID column in the first prep step; It will throw an error when using the Machine Learning Predict tool (with or without the ID column).

 

If you upload your dataset using the Machine Learning Send tool with or without the ID column, it works fine.

 

 

Best,

Fernando Vizcaino

 

fmvizcaino
17 - Castor
17 - Castor

Let me know if your comments or if you were able to get this to work differently, please.