org.opencv.ml
Class LogisticRegression
java.lang.Object
   org.opencv.core.Algorithm
org.opencv.core.Algorithm
       org.opencv.ml.StatModel
org.opencv.ml.StatModel
           org.opencv.ml.LogisticRegression
org.opencv.ml.LogisticRegression
- public class LogisticRegression 
- extends StatModel
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BATCH
public static final int BATCH
- See Also:
- Constant Field Values
MINI_BATCH
public static final int MINI_BATCH
- See Also:
- Constant Field Values
REG_DISABLE
public static final int REG_DISABLE
- See Also:
- Constant Field Values
REG_L1
public static final int REG_L1
- See Also:
- Constant Field Values
REG_L2
public static final int REG_L2
- See Also:
- Constant Field Values
create
public static LogisticRegression create()
- 
 
get_learnt_thetas
public Mat get_learnt_thetas()
- 
 
getIterations
public int getIterations()
- 
 
getLearningRate
public double getLearningRate()
- 
 
getMiniBatchSize
public int getMiniBatchSize()
- 
 
getRegularization
public int getRegularization()
- 
 
getTermCriteria
public TermCriteria getTermCriteria()
- 
 
getTrainMethod
public int getTrainMethod()
- 
 
predict
public float predict(Mat samples)
- 
- Overrides:
- predictin class- StatModel
 
- 
 
predict
public float predict(Mat samples,
                     Mat results,
                     int flags)
- 
- Overrides:
- predictin class- StatModel
 
- 
 
setIterations
public void setIterations(int val)
- 
 
setLearningRate
public void setLearningRate(double val)
- 
 
setMiniBatchSize
public void setMiniBatchSize(int val)
- 
 
setRegularization
public void setRegularization(int val)
- 
 
setTermCriteria
public void setTermCriteria(TermCriteria val)
- 
 
setTrainMethod
public void setTrainMethod(int val)
-