svm_defines.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /******************************************************************************
  2. * @file svm_defines.h
  3. * @brief Public header file for CMSIS DSP Library
  4. * @version V1.10.0
  5. * @date 08 July 2021
  6. *
  7. * Target Processor: Cortex-M and Cortex-A cores
  8. ******************************************************************************/
  9. /*
  10. * Copyright (c) 2010-2020 Arm Limited or its affiliates. All rights reserved.
  11. *
  12. * SPDX-License-Identifier: Apache-2.0
  13. *
  14. * Licensed under the Apache License, Version 2.0 (the License); you may
  15. * not use this file except in compliance with the License.
  16. * You may obtain a copy of the License at
  17. *
  18. * www.apache.org/licenses/LICENSE-2.0
  19. *
  20. * Unless required by applicable law or agreed to in writing, software
  21. * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  22. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. * See the License for the specific language governing permissions and
  24. * limitations under the License.
  25. */
  26. #ifndef _SVM_DEFINES_H_
  27. #define _SVM_DEFINES_H_
  28. /**
  29. * @brief Struct for specifying SVM Kernel
  30. */
  31. typedef enum
  32. {
  33. ARM_ML_KERNEL_LINEAR = 0,
  34. /**< Linear kernel */
  35. ARM_ML_KERNEL_POLYNOMIAL = 1,
  36. /**< Polynomial kernel */
  37. ARM_ML_KERNEL_RBF = 2,
  38. /**< Radial Basis Function kernel */
  39. ARM_ML_KERNEL_SIGMOID = 3
  40. /**< Sigmoid kernel */
  41. } arm_ml_kernel_type;
  42. #endif