Go to file
2023-08-30 17:46:49 +02:00
teng_ml improve plots 2023-08-30 17:46:49 +02:00
.gitignore Fixed model, restructured files 2023-05-10 22:44:14 +02:00
LICENSE Made installable 2023-05-26 14:01:15 +02:00
pyproject.toml add pandas as dep 2023-08-17 10:54:27 +02:00
readme.md updated readme 2023-08-30 17:43:59 +02:00

Machine learning for material recognition with a triboelectric nanogenerator (TENG)

This project was written for my bachelor's thesis.

It was written to classify TENG voltage output from pressing it against different materials. Contents:

  • Data preparation/plotting/loading utilites
  • (Bi)LSTM + fully connected + softmax model for name classifiying TENG output
  • Progress tracking utilities to easily find the best parameters

Model training

Adjust the parameters in main.py and run it. All models and the settings they were trained with are automatically serialized with pickle and stored in a subfolder of the <model_dir> that was set in main.py.

Model evaluation

Run find_best_model.py <model_dir> with the <model_dir> specified in main.py during training.