We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Issues with Predictive Tools

jkalal
5 - Atom

I have been trying to implement a workflow using "R Linear Regression" but has been showing errors,

 

I performed steps of cleaning the data by :

removing nulls

changing data types

 

The columns I am trying to predict are set as "double".

 

 

Please let me know your comments.

jnj.png

3 REPLIES 3
martinson
11 - Bolide

Hi jkalal I hope you're doing well. Would you be able to share the data that you're using by uploading it here?

Cheers,
martinson

LinkedIN

Bulien
Pilsner
13 - Pulsar

Hello @jkalal 

Without seeing the data I'm not sure what could be causing this. My initial thought would be that one of your data columns going into the model contains non-Unicode characters. One wat to try and fix this is to just remove all non-Unicode characters. You could do this using the following regex  REGEX_Replace([Name], '[^ -~]', ''). It works by looking at the list of ascii characters between a space and a ~. This contains most common letters, numbers and special characters. Anything not in this range is simply removed. I would try applying this to the columns that you feed into your model.

Please let me know how you got on.

Regards - Pilsner

 

 

 

jkalal
5 - Atom

Found some data which was ".6 digit decimal" have to convert in to integer and than work on it.

Labels
Top Solution Authors