public class opencv_ml extends opencv_ml
Modifier and Type | Field and Description |
---|---|
static int |
COL_SAMPLE
enum cv::ml::SampleTypes
|
static int |
ROW_SAMPLE
enum cv::ml::SampleTypes
|
static int |
TEST_ERROR
enum cv::ml::ErrorTypes
|
static int |
TRAIN_ERROR
enum cv::ml::ErrorTypes
|
static int |
VAR_CATEGORICAL
enum cv::ml::VariableTypes
|
static int |
VAR_NUMERICAL
enum cv::ml::VariableTypes
|
static int |
VAR_ORDERED
enum cv::ml::VariableTypes
|
Constructor and Description |
---|
opencv_ml() |
Modifier and Type | Method and Description |
---|---|
static void |
createConcentricSpheresTestSet(int nsamples,
int nfeatures,
int nclasses,
GpuMat samples,
GpuMat responses) |
static void |
createConcentricSpheresTestSet(int nsamples,
int nfeatures,
int nclasses,
Mat samples,
Mat responses)
\brief Creates test set
|
static void |
createConcentricSpheresTestSet(int nsamples,
int nfeatures,
int nclasses,
UMat samples,
UMat responses) |
static void |
randMVNormal(GpuMat mean,
GpuMat cov,
int nsamples,
GpuMat samples) |
static void |
randMVNormal(Mat mean,
Mat cov,
int nsamples,
Mat samples)
\brief Generates _sample_ from multivariate normal distribution
|
static void |
randMVNormal(UMat mean,
UMat cov,
int nsamples,
UMat samples) |
public static final int VAR_NUMERICAL
public static final int VAR_ORDERED
public static final int VAR_CATEGORICAL
public static final int TEST_ERROR
public static final int TRAIN_ERROR
public static final int ROW_SAMPLE
public static final int COL_SAMPLE
@Namespace(value="cv::ml") public static void randMVNormal(@ByVal Mat mean, @ByVal Mat cov, int nsamples, @ByVal Mat samples)
mean
- an average row vectorcov
- symmetric covariation matrixnsamples
- returned samples countsamples
- returned samples array@Namespace(value="cv::ml") public static void randMVNormal(@ByVal UMat mean, @ByVal UMat cov, int nsamples, @ByVal UMat samples)
@Namespace(value="cv::ml") public static void randMVNormal(@ByVal GpuMat mean, @ByVal GpuMat cov, int nsamples, @ByVal GpuMat samples)
@Namespace(value="cv::ml") public static void createConcentricSpheresTestSet(int nsamples, int nfeatures, int nclasses, @ByVal Mat samples, @ByVal Mat responses)
@Namespace(value="cv::ml") public static void createConcentricSpheresTestSet(int nsamples, int nfeatures, int nclasses, @ByVal UMat samples, @ByVal UMat responses)
Copyright © 2020. All rights reserved.