Linear Regression
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I am using Linear regression to predict my target variable with 3 variables. I divided the data into 80% train and 20% test. Is there a way which can tell me what is the overall accuracy of the model on the test data?
I tried using model comparison tool but it is showing error.
Attached is the model view
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The model comparison tool should work with only one model being used.
Could you send through your configuration and the error and I'll look to help you debug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@JoeS Attached is the error screenshot. Is model comparison applicable only for binary outputs? My target variable is not binary, maybe that is the reason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @ayadav8
The Model comparison should work for both outputs, binary and continuous.
It looks like the installation of the model comparison didn't quite go right. The error is complaining about a missing submacro.
If you try to install it again and restart Alteryx hopefully that will help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It worked. Thanks @JoeS
