iCub-main
|
#include <iostream>
#include <stdexcept>
#include <cmath>
#include <iCub/learningMachine/RLSLearner.h>
#include <iCub/learningMachine/RandomFeature.h>
#include <yarp/sig/Vector.h>
#include <yarp/os/Property.h>
#include <yarp/math/Math.h>
#include <yarp/math/Rand.h>
Go to the source code of this file.
Macros | |
#define | MIN(a, b) ((a < b) ? a : b) |
#define | NO_TRAIN 1000 |
#define | NO_TEST 1000 |
#define | NOISE_MIN -0.05 |
#define | NOISE_MAX 0.05 |
Functions | |
double | cross (double x1, double x2) |
double | sin2d (double x1, double x2) |
void | elementProd (const Vector &v1, Vector &v2) |
Vector | elementDiv (const Vector &v, double d) |
std::pair< Vector, Vector > | createSample () |
int | main (int argc, char **argv) |
#define MIN | ( | a, | |
b | |||
) | ((a < b) ? a : b) |
Definition at line 17 of file lmlibindirect.cpp.
#define NO_TEST 1000 |
Definition at line 20 of file lmlibindirect.cpp.
#define NO_TRAIN 1000 |
Definition at line 19 of file lmlibindirect.cpp.
#define NOISE_MAX 0.05 |
Definition at line 22 of file lmlibindirect.cpp.
#define NOISE_MIN -0.05 |
Definition at line 21 of file lmlibindirect.cpp.
std::pair< Vector, Vector > createSample | ( | ) |
Definition at line 59 of file lmlibindirect.cpp.
double cross | ( | double | x1, |
double | x2 | ||
) |
Definition at line 31 of file lmlibindirect.cpp.
Vector elementDiv | ( | const Vector & | v, |
double | d | ||
) |
Definition at line 50 of file lmlibindirect.cpp.
void elementProd | ( | const Vector & | v1, |
Vector & | v2 | ||
) |
Definition at line 44 of file lmlibindirect.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 83 of file lmlibindirect.cpp.
double sin2d | ( | double | x1, |
double | x2 | ||
) |
Definition at line 40 of file lmlibindirect.cpp.