This shows you the differences between two versions of the page.
projects:fingertip_distance [2010/09/20 13:33] – created amaldo | projects:fingertip_distance [2010/09/24 10:44] (current) – ehmann | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Distance classification using the fingertip sensor ====== | ||
+ | |||
+ | |||
+ | ===== Client programs ===== | ||
+ | |||
+ | The project contains client programs to train and test the sensors. | ||
+ | |||
+ | |||
+ | |||
+ | ==== training file format ==== | ||
+ | The training data needs to be in the following format. | ||
+ | This allows the use in the distance evaluation program and in the libsvm-tools programs. | ||
+ | |||
+ | < | ||
+ | . | ||
+ | . | ||
+ | . | ||
+ | |||
+ | The parameters 1-9 have to be in ascending order. | ||
+ | The '' | ||
+ | |||
+ | |||
+ | ==== evaluate ==== | ||
+ | |||
+ | This program prints values from selected sensors. | ||
+ | It can also be used to generate training data in libsvm format | ||
+ | |||
+ | Usage: | ||
+ | Sensor-Register-Reader | ||
+ | Parameters | ||
+ | -f < | ||
+ | -c < | ||
+ | -n < | ||
+ | -m < | ||
+ | -v < | ||
+ | -s < | ||
+ | |||
+ | ==== distance ==== | ||
+ | |||
+ | This program uses libsvm to predict the sensors distance to the surface. | ||
+ | It can use both training data and model files to generate the internal model. | ||
+ | The training data can also be saved as a model file. | ||
+ | Beside the distance-prediction on the sensor it can be used to test the training data. Either perform a cross validation check or test it against given test data. | ||
+ | |||
+ | Usage: | ||
+ | Distance-Evaluation | ||
+ | Parameters | ||
+ | -f < | ||
+ | -m < | ||
+ | -n < | ||
+ | -t < | ||
+ | -p Print probability estimates instead of class predictions | ||
+ | -T Make cross validation test | ||
+ | -s Save model file (use -o) | ||
+ | -o < | ||
+ | |||
+ | |||