public class LinearPassiveAggressiveRegression extends PassiveAggressiveRegression implements LinearMethod
[CrammerJLMR2006] Koby Crammer, Ofer Dekel, Joseph Keshet, Shai Shalev-Shwartz and Yoram Singer Online Passive-Aggressive Algorithms. Journal of Machine Learning Research (2006)
PassiveAggressive.Policyepsilon, regressorc, label, policy| Constructor and Description |
|---|
LinearPassiveAggressiveRegression() |
LinearPassiveAggressiveRegression(float aggressiveness,
float epsilon,
PassiveAggressive.Policy policy,
String representation,
Label label) |
| Modifier and Type | Method and Description |
|---|---|
LinearPassiveAggressiveRegression |
duplicate()
Creates a new instance of the LearningAlgorithm initialized with the same parameters
of the learningAlgorithm to be duplicated.
|
UnivariateLinearRegressionFunction |
getPredictionFunction()
Returns the regressor learned during the training process
|
String |
getRepresentation()
Returns the representation this learning algorithm exploits
|
void |
setRepresentation(String representation)
Sets the representation this learning algorithm will exploit
|
getEpsilon, learn, learn, setEpsiloncomputeWeight, getC, getLabel, getLabels, getPolicy, reset, setC, setLabel, setLabels, setPolicyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLabels, reset, setLabelspublic LinearPassiveAggressiveRegression()
public LinearPassiveAggressiveRegression(float aggressiveness,
float epsilon,
PassiveAggressive.Policy policy,
String representation,
Label label)
public LinearPassiveAggressiveRegression duplicate()
LearningAlgorithmduplicate in interface LearningAlgorithmpublic String getRepresentation()
LinearMethodgetRepresentation in interface LinearMethodpublic void setRepresentation(String representation)
LinearMethodsetRepresentation in interface LinearMethodrepresentation - the representation to setpublic UnivariateLinearRegressionFunction getPredictionFunction()
RegressionLearningAlgorithmgetPredictionFunction in interface LearningAlgorithmgetPredictionFunction in interface RegressionLearningAlgorithmgetPredictionFunction in class PassiveAggressiveRegressionCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.