/BgAlgorithm

A program that is used to evaluate algorithms that create bg from raw readings.

Primary LanguageJavaGNU General Public License v2.0GPL-2.0

BgAlgorithm

A program that is used to evaluate algorithms that create bg from raw readings, this takes xDrip Database exports as input.

Currently the algorithms in test are:

  • LineFitAlgorithm
  • xDripAlgoritm
note that the xDrip algorithm just uses the values currently in the db and is not recalculating anything.

Adding a new algorithm?

  • Add it to SQLiteJbdc.java
  • Be sure to implement BgAlgorithm

Running it

On a Mac/Linux
  • after any changes run ./compile.sh
  • run with ./run/sh path/to/db.sqlite AlgorithmName
    • since Im lazy I always run something like ./compile.sh; ./run.sh db2.sqlite xDripAlgorithm