Ml.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //
  2. // This file is auto-generated. Please don't modify it!
  3. //
  4. #pragma once
  5. #ifdef __cplusplus
  6. //#import "opencv.hpp"
  7. #import "opencv2/ml.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. // C++: enum ErrorTypes (cv.ml.ErrorTypes)
  13. typedef NS_ENUM(int, ErrorTypes) {
  14. TEST_ERROR = 0,
  15. TRAIN_ERROR = 1
  16. };
  17. // C++: enum SampleTypes (cv.ml.SampleTypes)
  18. typedef NS_ENUM(int, SampleTypes) {
  19. ROW_SAMPLE = 0,
  20. COL_SAMPLE = 1
  21. };
  22. // C++: enum VariableTypes (cv.ml.VariableTypes)
  23. typedef NS_ENUM(int, VariableTypes) {
  24. VAR_NUMERICAL = 0,
  25. VAR_ORDERED = 0,
  26. VAR_CATEGORICAL = 1
  27. };
  28. NS_ASSUME_NONNULL_BEGIN
  29. // C++: class Ml
  30. /**
  31. * The Ml module
  32. *
  33. * Member classes: `ParamGrid`, `TrainData`, `StatModel`, `NormalBayesClassifier`, `KNearest`, `SVM`, `EM`, `DTrees`, `RTrees`, `Boost`, `ANN_MLP`, `LogisticRegression`, `SVMSGD`
  34. *
  35. * Member enums: `VariableTypes`, `ErrorTypes`, `SampleTypes`, `StatModelFlags`, `KNearestTypes`, `SVMTypes`, `KernelTypes`, `ParamTypes`, `EMTypes`, `DTreeFlags`, `Types`, `TrainingMethods`, `ActivationFunctions`, `TrainFlags`, `RegKinds`, `Methods`, `SvmsgdType`, `MarginType`
  36. */
  37. CV_EXPORTS @interface Ml : NSObject
  38. #pragma mark - Methods
  39. @end
  40. NS_ASSUME_NONNULL_END