ESP  0.1
The Example-based Sensor Predictions (ESP) system tries to bring machine learning to the maker community.
cli.cpp File Reference
#include "MFCC.h"
#include "matplotlibcpp.h"
#include "training-data-manager.h"
#include <GRT/GRT.h>
#include <assert.h>
#include <ctype.h>
#include <unistd.h>
#include <vector>

Functions

int main (int argc, char *argv[])
 

Variables

constexpr uint32_t kNumMaxLabels = 9
 
constexpr char kTrainingDataFilename [] = "TrainingData.grt"
 
constexpr char kTestDataFilename [] = "TestData.grt"
 
constexpr char kPipelineFilename [] = "Pipeline.grt"
 
constexpr uint32_t downsample_rate = 5
 
constexpr uint32_t sample_rate = 44100 / downsample_rate
 
constexpr uint32_t kFFT_WindowSize = 256
 
constexpr uint32_t kFFT_HopSize = 128
 
constexpr uint32_t DIM = 1
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

constexpr uint32_t DIM = 1
constexpr uint32_t downsample_rate = 5
constexpr uint32_t kFFT_HopSize = 128
constexpr uint32_t kFFT_WindowSize = 256
constexpr uint32_t kNumMaxLabels = 9
constexpr char kPipelineFilename[] = "Pipeline.grt"
constexpr char kTestDataFilename[] = "TestData.grt"
constexpr char kTrainingDataFilename[] = "TrainingData.grt"
constexpr uint32_t sample_rate = 44100 / downsample_rate