-
Notifications
You must be signed in to change notification settings - Fork 0
/
Architecture.drawio
31 lines (31 loc) · 3.67 KB
/
Architecture.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<mxfile host="65bd71144e">
<diagram id="EBTE2L9BBxQTS6oZsrdj" name="Page-1">
<mxGraphModel dx="1161" dy="446" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#000000" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="4" value="Data" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" vertex="1" parent="1">
<mxGeometry x="-790" y="50" width="250" height="310" as="geometry"/>
</mxCell>
<mxCell id="5" value="+ std::vector< uint8_t > * feature_vector + uint8_t label + int enum_label + double distance void set_feature_vector void append_to_feature_vector void set_label void set_enumerated_label void set_distance int get_feature_vector_size uint8_t get_label uint8_t get_enumerated_label std::vector< uint8_t > * get_feature_vector double get_distance" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="4">
<mxGeometry y="30" width="250" height="280" as="geometry"/>
</mxCell>
<mxCell id="7" value="" style="rounded=1;absoluteArcSize=1;html=1;arcSize=10;" vertex="1" parent="1">
<mxGeometry x="-770" y="410" width="220" height="200" as="geometry"/>
</mxCell>
<mxCell id="8" value="DataHandler" style="html=1;shape=mxgraph.er.anchor;whiteSpace=wrap;" vertex="1" parent="7">
<mxGeometry width="110" height="200" as="geometry"/>
</mxCell>
<mxCell id="9" value="Data" style="rounded=1;absoluteArcSize=1;html=1;arcSize=10;whiteSpace=wrap;points=[];strokeColor=inherit;fillColor=inherit;" vertex="1" parent="7">
<mxGeometry x="110" y="10" width="99" height="180" as="geometry"/>
</mxCell>
<mxCell id="10" value="DataHandler" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" vertex="1" parent="1">
<mxGeometry x="-450" y="50" width="250" height="400" as="geometry"/>
</mxCell>
<mxCell id="11" value="+ std::vecotr<data *> *data_array + std::vector<data *> *training_data + std::vector<data*> *test_data + std::vector<data *> *validation_data + int num_classes + int feature_vector_size + std::map<uint8_t, int> class_map + const double TRAIN_SET_PERCENT + const double TEST_SET_PERCENT + const double VALIDATION_PERCENT void read_feature_vector(std::string path) void read_feature_labels(std::string path) void split_data void count_classes uint32_t convert_to_little_endian std::vector<data *> * get_training_data std::vector<data *> * get_test_data std::vector<data *> * get_validation_data " style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="10">
<mxGeometry y="30" width="250" height="370" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>