|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.learner.functions.kernel.logistic.KLR
public class KLR
The main class for the Kernel Logistic Regression.
| Field Summary | |
|---|---|
protected SVMExamples |
examples
|
protected Kernel |
kernel
|
| Constructor Summary | |
|---|---|
KLR()
|
|
KLR(Operator paramOperator)
|
|
| Method Summary | |
|---|---|
double |
getB()
Returns the value of b. |
double[] |
getWeights()
Return the weights of the features. |
void |
init(Kernel new_kernel,
SVMExamples new_examples)
Initializes this SVM. |
void |
klr()
|
double |
predict(SVMExample sVMExample)
Perform a prediction of label for all examples. |
void |
predict(SVMExamples to_predict)
Perform a prediction of label for all examples. |
protected boolean |
takeStep(int i,
int j)
|
void |
train()
Train this SVM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Kernel kernel
protected SVMExamples examples
| Constructor Detail |
|---|
public KLR()
public KLR(Operator paramOperator)
throws UndefinedParameterError
UndefinedParameterError| Method Detail |
|---|
public void init(Kernel new_kernel,
SVMExamples new_examples)
SVMInterface
init in interface SVMInterface
protected boolean takeStep(int i,
int j)
public void klr()
public double predict(SVMExample sVMExample)
SVMInterface
predict in interface SVMInterfacepublic void predict(SVMExamples to_predict)
SVMInterface
predict in interface SVMInterfacepublic void train()
SVMInterface
train in interface SVMInterfacepublic double[] getWeights()
getWeights in interface SVMInterfacepublic double getB()
getB in interface SVMInterface
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||