iCub-main
|
#include <iostream>
#include <cmath>
#include <stdio.h>
#include "iCub/learningMachine/MachinePortable.h"
#include "iCub/learningMachine/MachineCatalogue.h"
#include "iCub/learningMachine/TransformerPortable.h"
#include "iCub/learningMachine/TransformerCatalogue.h"
#include <yarp/sig/Vector.h>
#include <yarp/os/Property.h>
#include <yarp/math/Math.h>
#include <yarp/math/Rand.h>
#include <yarp/os/SystemClock.h>
Go to the source code of this file.
Macros | |
#define | MIN(a, b) ((a < b) ? a : b) |
#define | NO_TRAIN 4000 |
#define | NO_TEST 8000 |
#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 22 of file lmlibportable.cpp.
#define NO_TEST 8000 |
Definition at line 25 of file lmlibportable.cpp.
#define NO_TRAIN 4000 |
Definition at line 24 of file lmlibportable.cpp.
#define NOISE_MAX 0.05 |
Definition at line 27 of file lmlibportable.cpp.
#define NOISE_MIN -0.05 |
Definition at line 26 of file lmlibportable.cpp.
std::pair< Vector, Vector > createSample | ( | ) |
Definition at line 64 of file lmlibportable.cpp.
double cross | ( | double | x1, |
double | x2 | ||
) |
Definition at line 36 of file lmlibportable.cpp.
Vector elementDiv | ( | const Vector & | v, |
double | d | ||
) |
Definition at line 55 of file lmlibportable.cpp.
void elementProd | ( | const Vector & | v1, |
Vector & | v2 | ||
) |
Definition at line 49 of file lmlibportable.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 88 of file lmlibportable.cpp.
double sin2d | ( | double | x1, |
double | x2 | ||
) |
Definition at line 45 of file lmlibportable.cpp.