Package samer.functions
Class LogisticHyperplane
- java.lang.Object
-
- samer.maths.FunctionOfVector
-
- samer.functions.LogisticHyperplane
-
public class LogisticHyperplane extends FunctionOfVector
-
-
Constructor Summary
Constructors Constructor and Description LogisticHyperplane(double[] norm, double offset)
LogisticHyperplane(int n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
apply(double[] in)
double[]
getNormal()
double
getOffset()
void
setFunction(Function f)
void
setNormal(double[] n)
void
setOffset(double r)
-
Methods inherited from class samer.maths.FunctionOfVector
derivative, dispose
-
-
-
-
Constructor Detail
-
LogisticHyperplane
public LogisticHyperplane(double[] norm, double offset)
-
LogisticHyperplane
public LogisticHyperplane(int n)
-
-
Method Detail
-
setFunction
public void setFunction(Function f)
-
setOffset
public void setOffset(double r)
-
setNormal
public void setNormal(double[] n)
-
getOffset
public double getOffset()
-
getNormal
public double[] getNormal()
-
apply
public double apply(double[] in)
- Specified by:
apply
in classFunctionOfVector
-
-