• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  * @file     svm_defines.h
3  * @brief    Public header file for CMSIS DSP Library
4  * @version  V1.9.0
5  * @date     23 April 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 
27 
28 #ifndef _SVM_DEFINES_H_
29 #define _SVM_DEFINES_H_
30 
31 /**
32  * @brief Struct for specifying SVM Kernel
33  */
34 typedef enum
35 {
36     ARM_ML_KERNEL_LINEAR = 0,
37              /**< Linear kernel */
38     ARM_ML_KERNEL_POLYNOMIAL = 1,
39              /**< Polynomial kernel */
40     ARM_ML_KERNEL_RBF = 2,
41              /**< Radial Basis Function kernel */
42     ARM_ML_KERNEL_SIGMOID = 3
43              /**< Sigmoid kernel */
44 } arm_ml_kernel_type;
45 
46 #endif
47