-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall_in.py
24 lines (21 loc) · 829 Bytes
/
all_in.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import preprocessing_photos
import modeling_k_means
import preprocessing_user_preferences
import recommend_for_each_user
import datetime
from utils import logger
#logger.write('{}: {}\n'.format(datetime.datetime.now(), 'Started preprocessing_photos'))
#logger.flush()
#preprocessing_photos.main()
#logger.write('{}: {}\n'.format(datetime.datetime.now(), 'Started modeling_k_means'))
#logger.flush()
#modeling_k_means.main()
#logger.write('{}: {}\n'.format(datetime.datetime.now(), 'Started preprocessing_user_preferences'))
#logger.flush()
#preprocessing_user_preferences.main()
#logger.write('{}: {}\n'.format(datetime.datetime.now(), 'Started recommend_for_each_user'))
#logger.flush()
recommend_for_each_user.main('v0.9.0')
logger.write('{}: {}\n'.format(datetime.datetime.now(), 'Finished'))
logger.flush()
logger.close()