-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.bat
42 lines (28 loc) · 1.43 KB
/
script.bat
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
@echo off
chcp 65001
del data\user1.csv
del data\user2.csv
del data\user3.csv
del data\user4.csv
del data\user5.csv
echo create a user profile from normal history
python ".\User Builder\user_builder.py" "data\browser_history.db" "data\user1.csv"
echo create a user profile up to a certain date
python ".\User Builder\user_builder.py" "data\browser_history.db" "data\user2.csv" -t 2016-12-15T1:00:00Z
echo create a user profile for sports
python ".\User Builder\user_builder.py" "data\browser_history.db" "data\user3.csv" -k "football baseball soccer rugby"
echo create a user profile for programmers
python ".\User Builder\user_builder.py" "data\browser_history.db" "data\user4.csv" -k "sql python programming"
echo create a user profile for foodies
python ".\User Builder\user_builder.py" "data\browser_history.db" "data\user5.csv" -k "recipe sous vide cooking"
rem Recommend docs
echo "Recommendations from normal browser history"
python "Profiler\doc_profiler.py" "data\Documents.csv" "data\user1.csv"
echo "Recommendations from up to a certain date"
python "Profiler\doc_profiler.py" "data\Documents.csv" "data\user2.csv"
echo "Recommendations for sports"
python "Profiler\doc_profiler.py" "data\Documents.csv" "data\user3.csv"
echo "Recommendations for programmers"
python "Profiler\doc_profiler.py" "data\Documents.csv" "data\user4.csv"
echo "Recommendations for gamers"
python "Profiler\doc_profiler.py" "data\Documents.csv" "data\user5.csv"