Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gini for continuous responses #19

Open
spedygiorgio opened this issue Apr 10, 2017 · 4 comments
Open

Gini for continuous responses #19

spedygiorgio opened this issue Apr 10, 2017 · 4 comments

Comments

@spedygiorgio
Copy link

I was trying to use the Gini function with a non negative score but I receive the following Error:

out<-with(db4scoring, ModelMetrics::gini(actual=numero, predicted = numeroPred))
Error in binaryChecks(actual, "auc") :
auc only works for binary outcomes at this time

@JackStat
Copy link
Owner

Sometimes you get that error when you have NAs in you actual vector. Is that the case here?

@spedygiorgio
Copy link
Author

spedygiorgio commented Apr 11, 2017 via email

@JackStat
Copy link
Owner

Agreed. I will fix it

@spedygiorgio
Copy link
Author

spedygiorgio commented Apr 26, 2017

mydf.txt

I have used again the package and I confirm that the issue is present even if no missing value is available. See the attached file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants