GenSVM
Functions
test_gensvm_kernel.c File Reference

Unit tests for gensvm_kernel.c. More...

#include "minunit.h"
#include "gensvm_kernel.h"
Include dependency graph for test_gensvm_kernel.c:

Go to the source code of this file.

Functions

char * test_kernel_copy_kernelparam_to_data_linear ()
 
char * test_kernel_copy_kernelparam_to_data_rbf ()
 
char * test_kernel_copy_kernelparam_to_data_poly ()
 
char * test_kernel_copy_kernelparam_to_data_sigmoid ()
 
char * test_dot_rbf ()
 
char * test_dot_poly ()
 
char * test_dot_sigmoid ()
 
char * test_kernel_preprocess_linear ()
 
char * test_kernel_preprocess_kernel ()
 
char * test_kernel_postprocess_linear ()
 
char * test_kernel_postprocess_kernel ()
 
char * test_kernel_compute_rbf ()
 
char * test_kernel_compute_poly ()
 
char * test_kernel_compute_sigmoid ()
 
char * test_kernel_eigendecomp ()
 
char * test_kernel_cross_rbf ()
 
char * test_kernel_cross_poly ()
 
char * test_kernel_cross_sigmoid ()
 
char * test_kernel_trainfactor ()
 
char * test_kernel_testfactor ()
 
char * test_dsyevx ()
 
char * test_dlamch ()
 
char * all_tests ()
 
 RUN_TESTS (all_tests)
 

Detailed Description

Unit tests for gensvm_kernel.c.

Author
G.J.J. van den Burg
Date
2016-11-09

This file is part of GenSVM.

GenSVM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

GenSVM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GenSVM. If not, see http://www.gnu.org/licenses/.

Definition in file test_gensvm_kernel.c.

Function Documentation

◆ all_tests()

char* all_tests ( )

Definition at line 3851 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ RUN_TESTS()

RUN_TESTS ( all_tests  )

◆ test_dlamch()

char* test_dlamch ( )

Definition at line 3844 of file test_gensvm_kernel.c.

◆ test_dot_poly()

char* test_dot_poly ( )

Definition at line 153 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_dot_rbf()

char* test_dot_rbf ( )

Definition at line 119 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_dot_sigmoid()

char* test_dot_sigmoid ( )

Definition at line 190 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_dsyevx()

char* test_dsyevx ( )

Definition at line 3837 of file test_gensvm_kernel.c.

◆ test_kernel_compute_poly()

char* test_kernel_compute_poly ( )

Definition at line 1456 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_compute_rbf()

char* test_kernel_compute_rbf ( )

Definition at line 1082 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_compute_sigmoid()

char* test_kernel_compute_sigmoid ( )

Definition at line 1831 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_copy_kernelparam_to_data_linear()

char* test_kernel_copy_kernelparam_to_data_linear ( )

Definition at line 30 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_copy_kernelparam_to_data_poly()

char* test_kernel_copy_kernelparam_to_data_poly ( )

Definition at line 71 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_copy_kernelparam_to_data_rbf()

char* test_kernel_copy_kernelparam_to_data_rbf ( )

Definition at line 50 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_copy_kernelparam_to_data_sigmoid()

char* test_kernel_copy_kernelparam_to_data_sigmoid ( )

Definition at line 96 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_cross_poly()

char* test_kernel_cross_poly ( )

Definition at line 2805 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_cross_rbf()

char* test_kernel_cross_rbf ( )

Definition at line 2559 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_cross_sigmoid()

char* test_kernel_cross_sigmoid ( )

Definition at line 3053 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_eigendecomp()

char* test_kernel_eigendecomp ( )

Definition at line 2206 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_postprocess_kernel()

char* test_kernel_postprocess_kernel ( )

Definition at line 786 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_postprocess_linear()

char* test_kernel_postprocess_linear ( )

Definition at line 762 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_preprocess_kernel()

char* test_kernel_preprocess_kernel ( )

Definition at line 245 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_preprocess_linear()

char* test_kernel_preprocess_linear ( )

Definition at line 227 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_testfactor()

char* test_kernel_testfactor ( )

Definition at line 3649 of file test_gensvm_kernel.c.

Here is the call graph for this function:

◆ test_kernel_trainfactor()

char* test_kernel_trainfactor ( )

Definition at line 3302 of file test_gensvm_kernel.c.

Here is the call graph for this function: