Ml.cs 668 B

1234567891011121314151617181920212223242526272829
  1. 
  2. using OpenCVForUnity.CoreModule;
  3. using OpenCVForUnity.UtilsModule;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Runtime.InteropServices;
  7. namespace OpenCVForUnity.MlModule
  8. {
  9. // C++: class Ml
  10. //javadoc: Ml
  11. public class Ml
  12. {
  13. // C++: enum ErrorTypes
  14. public const int TEST_ERROR = 0;
  15. public const int TRAIN_ERROR = 1;
  16. // C++: enum VariableTypes
  17. public const int VAR_NUMERICAL = 0;
  18. public const int VAR_ORDERED = 0;
  19. public const int VAR_CATEGORICAL = 1;
  20. // C++: enum SampleTypes
  21. public const int ROW_SAMPLE = 0;
  22. public const int COL_SAMPLE = 1;
  23. }
  24. }