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, useBiaspublic AdaptiveLogisticRegression createAdaptiveLogisticRegression()
public void checkParameters()
public void saveTo(OutputStream out) throws IOException
LogisticModelParameterssaveTo in class LogisticModelParametersIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class LogisticModelParametersIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class LogisticModelParametersIOExceptionpublic static AdaptiveLogisticModelParameters loadFromFile(File in) throws IOException
IOExceptionpublic 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–2013 The Apache Software Foundation. All rights reserved.