Repository navigation
Analysis Tools
No longer valid since release 0.25.0
The analysis tools are located in octave folder.
To collect the kpis the -k <kpi_folder> command option is required during agent training.
For information about performance analysis please refer to Analysis of Performance
The octave program td_report generates the agent performance report.
The kpi folder and the report folder should be selected.
To collect the statistics of the weight variations it is necessary to run the training session by generating all the kpis with the command options -k <kpi_folder> -l all.
The weight changes are ploted with td_delta_weights.m octave program.
The speed of the motors depends on the voltage supplied.
The dependence is non-linear mainly due to static friction.
For this reason, the supplied voltage is a non-linear function of the power signal which corrects for these non-linearities.
The parameters MotorMeasuring wheellino project).
The Octave motorMeasureReport.m application allows you to calculate the theta parameters in speed measurements and than can be transpose in the robot configuration yaml file.
To dump neural network weight statistics, after installed the application run the command:
>java -classpath lib/wheelly-0.6.0.jar org.mmarini.wheelly.apps.WeightsStatsthe options are
>java -classpath lib/wheelly-0.6.0.jar org.mmarini.wheelly.apps.WeightsStats -h
usage: org.mmarini.wheelly.apps.WeightsStats
[-h] [-v] modelPath
Dump the weights statistic
positional arguments:
modelPath specify the model path
named arguments:
-h, --help show this help message and exit
-v, --version show current version
The number of weights, the minimum and maximum weights, the number of biases, the minimum and maximum values of bias for the critic and actor network will be displayed.
>java -classpath lib/wheelly-0.6.0.jar org.mmarini.wheelly.apps.WeightsStats
Model: models/polarRadarAnalogAgent
Policy
41800 weights
Min value: -0,0357621
Max value: 0,0292231
442 bias
Min value: -0,174762
Max value: 0,353298
Critic
37700 weights
Min value: -0,0215887
Max value: 0,0245415
401 bias
Min value: -0,00191194
Max value: 7,14404e-05Release 0.5.2