-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.m
More file actions
13 lines (11 loc) · 505 Bytes
/
main.m
File metadata and controls
13 lines (11 loc) · 505 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
% MAIN do analysis on headache dates
close all; clear variables;
% autoloading :P
addpath('./classes', './functions');
long = 8.630744305025708;
lat = 47.2473242478023;
analsyisProvider = Analyzer();
analsyisProvider = analsyisProvider.addDataByDataProvider(DarkSkyAPIClient(long, lat));
analsyisProvider = analsyisProvider.addDataByDataProvider(FitbitAPIClient());
%[loadings,scores,vexpZ,tsquared,vexpX,mu] = analsyisProvider.runPrincipalComponentAnalysis();
tree = analsyisProvider.runDecisionTree();