-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel_config.yml
55 lines (53 loc) · 1.31 KB
/
model_config.yml
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
name: YourNewModel
version: 0.0.1
features:
- source: "data/train_A.csv"
columns:
- name: "hotel_id"
type: "string"
xteristics:
unique: true
- name: "date"
type: "datetime"
xteristics:
from_date: "2018-01-01"
to_date: "2022-05-31"
- name: "check_in"
type: "datetime"
xteristics:
from_date: "2018-01-01"
to_date: "2022-06-30"
- name: "check_out"
type: "datetime"
xteristics:
from_date: "2018-01-01"
to_date: "2022-07-31"
- name: "day_distance"
type: "integer"
xteristics:
calculated: true
calculated_columns: ["date", check_in"]
- name: "length_of_stay"
type: "integer"
xteristics:
calculated: true
calculated_columns: ["check_in", "check_out"]
- name: "status"
type: "string"
xteristics:
values: ["booked", "cancelled", "fulfilled"]
- source: "data/train_B.csv"
columns:
- name: "hotel_id"
type: "string"
xteristics:
unique: true
- name: "country_code"
type: "string"
xteristics:
length: 2
model:
name: YourNewModel
path: some-model-store
training_script: train.py
inference_script: inference.py