public class AdaptiveLogisticModelParameters extends LogisticModelParameters
Constructor and Description |
---|
AdaptiveLogisticModelParameters() |
Modifier and Type | Method and Description |
---|---|
void |
checkParameters() |
AdaptiveLogisticRegression |
createAdaptiveLogisticRegression() |
String |
getAuc() |
int |
getAverageWindow() |
int |
getInterval() |
String |
getPrior() |
double |
getPriorOption() |
int |
getThreads() |
static AdaptiveLogisticModelParameters |
loadFromFile(File in) |
void |
readFields(DataInput in) |
void |
saveTo(OutputStream out)
Saves a model to an output stream.
|
void |
setAuc(String auc) |
void |
setAverageWindow(int averageWindow) |
void |
setInterval(int interval) |
void |
setPrior(String prior) |
void |
setPriorOption(double priorOption) |
void |
setThreads(int threads) |
void |
write(DataOutput out) |
createRegression, getCsvRecordFactory, getLambda, getLearningRate, getMaxTargetCategories, getNumFeatures, getTargetCategories, getTargetVariable, getTypeMap, loadFrom, loadFrom, setLambda, setLearningRate, setMaxTargetCategories, setNumFeatures, setTargetCategories, setTargetVariable, setTypeMap, setTypeMap, setUseBias, useBias
public AdaptiveLogisticRegression createAdaptiveLogisticRegression()
public void checkParameters()
public void saveTo(OutputStream out) throws IOException
LogisticModelParameters
saveTo
in class LogisticModelParameters
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class LogisticModelParameters
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class LogisticModelParameters
IOException
public static AdaptiveLogisticModelParameters loadFromFile(File in) throws IOException
IOException
public int getInterval()
public void setInterval(int interval)
public int getAverageWindow()
public void setAverageWindow(int averageWindow)
public int getThreads()
public void setThreads(int threads)
public String getPrior()
public void setPrior(String prior)
public String getAuc()
public void setAuc(String auc)
public double getPriorOption()
public void setPriorOption(double priorOption)
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.