forked from aruberts/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipe_config.yaml
58 lines (50 loc) · 951 Bytes
/
pipe_config.yaml
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
data_path: "./youtube/GBvideos.csv"
category_map_path: "./youtube/GB_category_id.json"
# Pre-processing config
date_column_format:
trending_date: "%y.%d.%m"
publish_time: "%Y-%m-%dT%H:%M:%S%.fZ"
# Feature engineering config
ratio_features:
likes_to_dislikes:
- likes
- dislikes
likes_to_views:
- likes
- views
comments_to_views:
- comment_count
- views
difference_features:
days_to_trending:
- trending_date
- publish_time
date_features:
trending_date:
- weekday
# Filtering config
max_time_to_trending: 60
# Features config
join_columns:
- video_id
- trending_date
base_columns:
- views
- likes
- dislikes
- comment_count
- comments_disabled
- ratings_disabled
- video_error_or_removed
- likes_to_dislikes
- likes_to_views
- comments_to_views
- trending_date_weekday
- channel_title
- tags
- description
- category_id
aggregate_windows:
- 7
- 30
- 180