This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
is there any guild about the tool model comparison?
when I try to use this tool I get the following information:
Error: Model Comparison (28): Tool #3: Error in match.fun(FUN) : object 'getXVars' not found
Also, in the model comparison configuration page: it asks you to input the positive class in target variable, my target is string was defined as 1 means bad and 0 means good. What should I input for this question?
I hope it could have more documentation about the predictive tools. Thank you so much.
Hi @qqqwww, first thank you for downloading and using this tool. My first question for you: are you getting this error also when you run the Model Comparison Sample? If it's the case, what is your current Alteryx version? I've experienced errors with older version Alteryx when running with Model Comparison, but it should work with the latest version of Alteryx.
I'm happy to take a look at your workflow if this is not a Alteryx version issue.
To answer your second question, I would suggest put "1" in the box without quotes. However, you are probably the best person to answer this question -- what do you consider as your "positive" class? If you application is that you are studying what parts of a machine are "bad", then usually "bad" ("1") should be the positive class. Another example: if you are studying which patients have cancer, then patitents who have cancers are usually considered as "positive"
When I submitted the question, I use 10.1. I don't know if it has the error to run the Sample.
Right now, I have updated to 10.6, when I run the sample, I get the following error information. I have already installed the R predictive packages. But it seems like I need to install the package manually.
Hi @qqqwww, we didn't ship the "ROCR" library which Model Comparison Macro depends on with Alteryx 10.6. However, the macro will install "ROCR" package for you if you don't have it installed already. I just removed "ROCR" from my machine, and ran Model Comparison Sample fresh. I didn't get any errors...
I think the issue you're experiencing is probably due to restrictions of your R library setup that prevents you to install the package from a thrid party software.
However, to install "ROCR" manually is very simple.
is all you need.
Let me know if you still can't run the Model Comparison Sample.