Displaying 2 results from an estimated 2 matches for "abilit".
Did you mean:
ability
2011 Aug 26
1
Predictions from a logistic regression model with validation for ROCR
Dear experts,
I am looking for a package that does logistic regression with corssvalidation and gives me the probabilites of all the corssvalidations so that I can plot them in ROCR.
Would also like to know if the corssvalidate model would give me a summary coefficient for the intercept and my to predictors.
Thank you.
Best regards,
Jon Toledo, MD
Postdoctoral fellow
University of Pennsylvania School of Medicine
C...
2010 Dec 02
8
CanCan issue when being very specific
...nadmin) belongs to an
Account or Organization. Admins should only be able to edit users from
their own Account or Organization. I was able to do that too.
The problem is, I can''t display the Create New User link. It seems
everything is correct but I must be doing something wrong.
HERE IS ABILITY.RB
---------------------------------------------
if user.role == "admin"
can :read, User do |u|
u.try(:account_id) == user.account_id
end
can :update, User do |u|
u.try(:account_id) == user.account_id
end
can :destroy, User do |u|...