FidoProject / Fido

A lightweight C++ machine learning library for embedded electronics and robotics.
http://fidoproject.github.io/
MIT License
439 stars 81 forks source link

Standardization of Storage #37

Open truell20 opened 8 years ago

truell20 commented 8 years ago

Because of ISEF, I don't really have time to do this right now. However, serialization for Learner, Trainer, and Interpolator subclasses should follow the method outlined here. Right now, unserializing a subclass of one of these three without knowing the subclass is impossible.

truell20 commented 8 years ago

@FlyingGraysons

hmwildermuth commented 8 years ago

Trainer is done @truell20

joshuagruenstein commented 8 years ago

If we want Fido to run seamless on microcontrollers, we're gonna have to make some compromises regarding serialization. I would be in favor of a single serialization factory-type class than can serialize and construct Learners, Trainers, and Interpolators. For microcontrollers the class could simply not be included.

truell20 commented 8 years ago

@joshuagruenstein Can we not use char arrays to serialize and unserialize objects?