Skip to content
Snippets Groups Projects
Commit be7388b7 authored by Michael Zbyszyński's avatar Michael Zbyszyński
Browse files

preliminary test checkin

parent 1df86942
Branches
Tags
No related merge requests found
#include <vector>
#include <iostream>
#include <cassert>
#include <random>
#include <algorithm>
#include "json.h"
#include "rapidmix.h"
int main(int argc, const char * argv[]) {
/////////////////////////////////////////////////////////////////////////////////
//
// SIGNAL PROCESSING
//
/////////////////////////////////////////////////////////////////////////////////
// tests moved into test_signalProcessing
/////////////////////////////////////////////////////////////////////////////////
//
// MACHINE LEARNING
//
/////////////////////////////////////////////////////////////////////////////////
//tests moved into test_rapidmix-api
//rapidXmmTools tests moved into test_rapidXmmTools
//mz label test
rapidmix::staticClassification labelKnn;
labelKnn.train(myXmmData);
std::vector<double> input = { 0.8, 0.1 };
std::cout << "knn test: " << myXmmData.getLabel(labelKnn.run(input)[0]) << std::endl;
return 0;
}
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:RapidAPI.xcodeproj">
</FileRef>
</Workspace>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment