iCub-main
Macros | Functions
lmlibdirect.cpp File Reference
#include <iostream>
#include <cmath>
#include <iCub/learningMachine/LSSVMLearner.h>
#include <iCub/learningMachine/FixedRangeScaler.h>
#include <yarp/sig/Vector.h>
#include <yarp/math/Rand.h>
+ Include dependency graph for lmlibdirect.cpp:

Go to the source code of this file.

Macros

#define INPUT_MIN   -10
 
#define INPUT_MAX   10
 
#define NO_TRAIN   400
 
#define NO_TEST   400
 

Functions

std::pair< Vector, Vector > createSample (double min_in, double max_in)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ INPUT_MAX

#define INPUT_MAX   10

Definition at line 16 of file lmlibdirect.cpp.

◆ INPUT_MIN

#define INPUT_MIN   -10

Definition at line 15 of file lmlibdirect.cpp.

◆ NO_TEST

#define NO_TEST   400

Definition at line 18 of file lmlibdirect.cpp.

◆ NO_TRAIN

#define NO_TRAIN   400

Definition at line 17 of file lmlibdirect.cpp.

Function Documentation

◆ createSample()

std::pair<Vector, Vector> createSample ( double  min_in,
double  max_in 
)

Definition at line 23 of file lmlibdirect.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 43 of file lmlibdirect.cpp.