Displaying 1 result from an estimated 1 matches for "y_class".
Did you mean:
r_class
2005 Dec 08
1
logistic regression with constrained coefficients?
...ives me
a distance between whole cases that is well associated with the
class variable, in that
"combined distance between two cases large =>
they most likely belong to different classes."
So from my training set I construct a set of
(d1(x1,y1), ..., dn(xn,yn), x_class != y_class)
rows bound together as a data frame (actually I construct it by
columns), and then the obvious thing to try was
glm(different.class ~ ., family = binomial(), data = distance.frame)
The thing is that this gives me both positve and negative coefficients,
whereas the linear combination is only...