|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjnisvmlight.Kernel
jnisvmlight.LinearKernel
public class LinearKernel
A linear kernel. Computes the scalar (inner) product of two feature vectors and is the default inner kernel of all the other kernel implementations.
| Field Summary |
|---|
| Fields inherited from class jnisvmlight.Kernel |
|---|
m_kernel |
| Constructor Summary | |
|---|---|
LinearKernel()
|
|
| Method Summary | |
|---|---|
double |
evaluate(FeatureVector v1,
FeatureVector v2)
|
| Methods inherited from class jnisvmlight.Kernel |
|---|
getNestedKernel, setNestedKernel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearKernel()
| Method Detail |
|---|
public double evaluate(FeatureVector v1,
FeatureVector v2)
evaluate in class Kernel
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||