public class Glm extends Object
| Constructor and Description |
|---|
Glm() |
Glm(GlmSolverType solverType,
GlmDistributionFamily distributionFamily) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(Glm that) |
protected GlmAlgorithm |
createSolver(double[][] A,
double[] b) |
void |
fit(com.github.chen0040.data.frame.DataFrame dataFrame) |
com.github.chen0040.data.frame.Coefficients |
getCoefficients() |
GlmDistributionFamily |
getDistributionFamily() |
String |
getName() |
GlmSolverType |
getSolverType() |
static Glm |
linear() |
static Glm |
logistic() |
Glm |
makeCopy() |
static OneVsOneGlmClassifier |
oneVsOne() |
static OneVsOneGlmClassifier |
oneVsOne(java.util.function.Supplier<Glm> binaryClassifierGenerator) |
void |
setDistributionFamily(GlmDistributionFamily distributionFamily) |
void |
setSolverType(GlmSolverType solverType) |
GlmStatistics |
showStatistics() |
double |
transform(com.github.chen0040.data.frame.DataRow tuple) |
public Glm(GlmSolverType solverType, GlmDistributionFamily distributionFamily)
public Glm()
public void copy(Glm that)
public Glm makeCopy()
public GlmDistributionFamily getDistributionFamily()
public void setDistributionFamily(GlmDistributionFamily distributionFamily)
public GlmSolverType getSolverType()
public void setSolverType(GlmSolverType solverType)
public double transform(com.github.chen0040.data.frame.DataRow tuple)
protected GlmAlgorithm createSolver(double[][] A, double[] b)
public void fit(com.github.chen0040.data.frame.DataFrame dataFrame)
public GlmStatistics showStatistics()
public com.github.chen0040.data.frame.Coefficients getCoefficients()
public static Glm logistic()
public static Glm linear()
public String getName()
public static OneVsOneGlmClassifier oneVsOne()
public static OneVsOneGlmClassifier oneVsOne(java.util.function.Supplier<Glm> binaryClassifierGenerator)
Copyright © 2017. All rights reserved.