Tool: Model Comparison
- 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
When I am running the workflow for the Model Comparison macro, this error shows up "Error in plot.new()". This is when I am initializing the macro. Due to this when I run the model comparison tool, the Confusion Matrix Section of the report is missing. Anyone know how to fix this? I am currently enrolled in Udacity's Predictive Analytics for Business Analysts if that provides context.
Loading in the macro from Predictive District:
Running a Decision Tree and validating model with 70/30 split:
Report:
Solved! Go to Solution.
- Labels:
- Macros
- Predictive Analysis
- Udacity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Can you attach the workflow that you are attempting to run (as a package so that the data is included)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Also, note the following passage in the tool description on the tool's Gallery page...
To use this macro, and additional R packages (ROCR) needs to be installed. The link below provides instructions on how to install R packages that can be accessed by Alteryx. The macro will attempt to install the needed R packages if they are not already installed, but this may be prevented by certain firewalls and proxy servers.
So try installing the ROCR package with this app: https://gallery.alteryx.com/#!app/Install-R-Packages/57bb2a58a248970b4472c2e6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The workflow you sent runs fine on my machine, so it's like something to do with your setup. I'd recommend reaching out to Alteryx Support and they can take a closer look at your setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks, @NeilR! @JHFongSF87, the workflow runs correctly on my machine, as well. Were you able to get any additional information from Showing Macro Messages?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for the confirmation, I will maybe try and do a reinstall to see if that works correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @JHFongSF87, are you getting that error from the macro in your workflow, or when you open the macro and run it as-is? Can you go into your Workflow-Configuration> Runtime tab, click to "Show all macro messages," and send the full error message?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@CristonS, the error comes from when I run the workflow once it is imported. Due to the fact it is a .yxmc file, I can't find the Runtime option in the Workflow Configuration like the other file which was a .yxmd.
Steps are as follows:
Loaded the macro with no errors but then once it is on my screen in the workflow I run the workflow. I am currently using a Virtual PC, VMWare Fusion, would this cause an issue with the macro?
