#include "Prerequisites.h"
#include "NeuralNetwork.h"
#include <algorithm>
Go to the source code of this file.
|
#define | NbMltkPKG 11 |
| Nb of Scol functions or types.
|
|
|
int | destroyMlObj (mmachine m, SCOL_PTR_TYPE handsys, int obj) |
|
int | _CRml (mmachine m) |
| Create a new neural network Prototype: fun [Chn I F] ObjMl.
|
|
int | _DSml (mmachine m) |
| destroy a neural network Prototype: fun [ObjMl] I
|
|
int | _MlAddDetectionData (mmachine m) |
| Get a label for the input Prototype: fun [ObjMl [[F F F] r1]] I.
|
|
int | _MlAddTrainingData (mmachine m) |
| Add data to learn to the format <input, label> Prototype: fun [ObjMl [[F F F] r1] S] I.
|
|
int | _MlTrain (mmachine m) |
| Launch the training of the nn Prototype: fun [ObjMl] I.
|
|
int | _MlSaveData (mmachine m) |
| Save the settings of a trained neural network Prototype: fun [ObjMl W] I.
|
|
int | _MlLoadData (mmachine m) |
| Load an already trained file neural network AND the used parameters (high level) Prototype: fun [ObjMl P] I.
|
|
int | _MlGetCategories (mmachine m) |
| Get the ML loaded categories Prototype: fun [ObjMl] [S r1].
|
|
int | _CBMlTrainingFinished (mmachine m) |
| Set a CB function linked to the finished training signal Prototype: fun [ObjMl fun [ObjMl u0] u1 u0] ObjMl.
|
|
int | getMlTrainingFinishedCb (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE msg_ptr) |
|
int | _CBMlDetect (mmachine m) |
| Set a CB function linked to detection signal Prototype: fun [ObjMl fun [ObjMl u0 S] u1 u0] ObjMl.
|
|
int | getMlDetectionCb (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE msg_ptr) |
|
◆ NbMltkPKG
Nb of Scol functions or types.
Scol function names
Definition at line 454 of file MlToolkit.cpp.
◆ destroyMlObj()
int destroyMlObj |
( |
mmachine |
m, |
|
|
SCOL_PTR_TYPE |
handsys, |
|
|
int |
obj |
|
) |
| |
◆ getMlDetectionCb()
int getMlDetectionCb |
( |
mmachine |
m, |
|
|
SCOL_PTR_TYPE |
id, |
|
|
SCOL_PTR_TYPE |
msg_ptr |
|
) |
| |
◆ getMlTrainingFinishedCb()
int getMlTrainingFinishedCb |
( |
mmachine |
m, |
|
|
SCOL_PTR_TYPE |
id, |
|
|
SCOL_PTR_TYPE |
msg_ptr |
|
) |
| |
◆ MltkFunc
int(* MltkFunc[NbMltkPKG])(mmachine m) |
( |
mmachine |
m | ) |
|
Initial value:=
{
NULL,
}
int _MlGetCategories(mmachine m)
Get the ML loaded categories Prototype: fun [ObjMl] [S r1].
int _MlTrain(mmachine m)
Launch the training of the nn Prototype: fun [ObjMl] I.
int _DSml(mmachine m)
destroy a neural network Prototype: fun [ObjMl] I
int _MlAddTrainingData(mmachine m)
Add data to learn to the format <input, label> Prototype: fun [ObjMl [[F F F] r1] S] I.
int _MlSaveData(mmachine m)
Save the settings of a trained neural network Prototype: fun [ObjMl W] I.
int _CRml(mmachine m)
Create a new neural network Prototype: fun [Chn I F] ObjMl.
int _CBMlDetect(mmachine m)
Set a CB function linked to detection signal Prototype: fun [ObjMl fun [ObjMl u0 S] u1 u0] ObjMl.
int _MlLoadData(mmachine m)
Load an already trained file neural network AND the used parameters (high level) Prototype: fun [ObjM...
int _MlAddDetectionData(mmachine m)
Get a label for the input Prototype: fun [ObjMl [[F F F] r1]] I.
int _CBMlTrainingFinished(mmachine m)
Set a CB function linked to the finished training signal Prototype: fun [ObjMl fun [ObjMl u0] u1 u0] ...
Definition at line 471 of file MlToolkit.cpp.
◆ MltkName
Initial value:=
{
"ObjMl",
"_CRml",
"_DSml",
"_MlAddTrainingData",
"_MlAddDetectionData",
"_CBMlTrainingFinished",
"_MlLoadData",
"_MlSaveData",
"_MlGetCategories",
"_MlTrain",
"_CBMlDetect"
}
Definition at line 456 of file MlToolkit.cpp.
◆ MltkNArg
Initial value:=
{
TYPTYPE,
4,
1,
3,
2,
3,
2,
2,
1,
1,
3
}
Definition at line 486 of file MlToolkit.cpp.
◆ MltkType
Initial value:=
{
NULL,
"fun [Chn I I F] ObjMl",
"fun [ObjMl] I",
"fun [ObjMl [[F F F] r1] S] I",
"fun [ObjMl [[F F F] r1]] I",
"fun [ObjMl fun [ObjMl u0] u1 u0] ObjMl",
"fun [ObjMl P] I",
"fun [ObjMl W] I",
"fun [ObjMl] [S r1]",
"fun [ObjMl] I",
"fun [ObjMl fun [ObjMl u0 S] u1 u0] ObjMl"
}
Definition at line 501 of file MlToolkit.cpp.
◆ OBJMLSCOL
◆ WM_ML_DETECTION
◆ WM_ML_TRAINING_FINISHED
int WM_ML_TRAINING_FINISHED |