public class KernelizedPassiveAggressiveRegression extends PassiveAggressiveRegression implements KernelMethod
[CrammerJLMR2006] Koby Crammer, Ofer Dekel, Joseph Keshet, Shai Shalev-Shwartz and Yoram Singer Online Passive-Aggressive Algorithms. Journal of Machine Learning Research (2006)
PassiveAggressive.Policy
epsilon, regressor
c, label, policy
Constructor and Description |
---|
KernelizedPassiveAggressiveRegression() |
KernelizedPassiveAggressiveRegression(float aggressiveness,
float epsilon,
PassiveAggressive.Policy policy,
Kernel kernel,
Label label) |
Modifier and Type | Method and Description |
---|---|
KernelizedPassiveAggressiveRegression |
duplicate()
Creates a new instance of the LearningAlgorithm initialized with the same parameters
of the learningAlgorithm to be duplicated.
|
Kernel |
getKernel()
Returns the kernel exploited by this learner
|
UnivariateKernelMachineRegressionFunction |
getPredictionFunction()
Returns the regressor learned during the training process
|
void |
setKernel(Kernel kernel)
Sets the kernel this
|
getEpsilon, learn, learn, setEpsilon
computeWeight, getC, getLabel, getLabels, getPolicy, reset, setC, setLabel, setLabels, setPolicy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLabels, reset, setLabels
public KernelizedPassiveAggressiveRegression()
public KernelizedPassiveAggressiveRegression(float aggressiveness, float epsilon, PassiveAggressive.Policy policy, Kernel kernel, Label label)
public Kernel getKernel()
KernelMethod
getKernel
in interface KernelMethod
public void setKernel(Kernel kernel)
KernelMethod
setKernel
in interface KernelMethod
kernel
- the kernel to setpublic KernelizedPassiveAggressiveRegression duplicate()
LearningAlgorithm
duplicate
in interface LearningAlgorithm
public UnivariateKernelMachineRegressionFunction getPredictionFunction()
RegressionLearningAlgorithm
getPredictionFunction
in interface LearningAlgorithm
getPredictionFunction
in interface RegressionLearningAlgorithm
getPredictionFunction
in class PassiveAggressiveRegression
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.