-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
70 lines (56 loc) · 2.21 KB
/
README
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Description:
------------
A small machine learning framework that does the following:
- training data set generation
- machine-learning model creation and saving to disk
- invoking the model with test data instance(s)
The framework has four executables (bash and python):
- training_data_gen
This is a shell script that takes input:
-> a list of events to be measured; values of these
events form a row of training data
For a full list of supported events, execute:
likwid-perfctr -e | grep ", PMC" | awk -F ',' '{print $1}'
-> a list of programs and optional program arguments
that will be profiled
It outputs a text file consisting of
-> a header line for the all the performance events
-> as many rows as many programs, where each row
contains the values of events that have been measured
- train_ml
This is a python script that takes input:
-> a training data set, output by training_data_gen
-> a target data set; this will need to be created
by the user depending on his/her objective
function
-> the name of the binary file where the trained
model will be written to
It outputs a binary file that contains the serialized
model object
- test_ml
This is a python script that takes input:
-> a test data set, formatted similarly to the
training data set
-> a binary file containing the model to be
invoked
It outputs the results from the model
- perf_counter
This is a shell script that is called internally to measure
performance events. This is the file that should be
modified if the user wants to add code to automatically
generate target data based on his/her objective function
- get_hex_codes_from_names
This is a shell script that is called internally to
convert the provided names of the performance events to
hex codes
Dependencies:
-------------
- likwid
- bash shell
- python
- scikit-learn
- numpy
Installation:
-------------
After checking out the SVN repository,
add the bin directory to your path