@@ -11,6 +11,9 @@ household_power_consumption:
11
11
Date : str
12
12
Time : str
13
13
Global_active_power : float64
14
+ metadata :
15
+ kedro-viz :
16
+ layer : raw
14
17
15
18
# Weather data - part 1
16
19
weather_data_part1 :
@@ -20,6 +23,9 @@ weather_data_part1:
20
23
parse_dates : ['datetime', 'sunrise', 'sunset']
21
24
index_col : ' datetime'
22
25
sep : " ,"
26
+ metadata :
27
+ kedro-viz :
28
+ layer : raw
23
29
24
30
# Weather data - part 2
25
31
weather_data_part2 :
@@ -28,6 +34,9 @@ weather_data_part2:
28
34
load_args :
29
35
parse_dates : ['datetime', 'sunrise', 'sunset']
30
36
index_col : ' datetime'
37
+ metadata :
38
+ kedro-viz :
39
+ layer : raw
31
40
32
41
# French Holidays data
33
42
french_holidays :
@@ -36,6 +45,9 @@ french_holidays:
36
45
load_args :
37
46
parse_dates : ['date']
38
47
sep : " ,"
48
+ metadata :
49
+ kedro-viz :
50
+ layer : raw
39
51
40
52
# Processed Weather and consumption data
41
53
processed_weather_and_consumption_data :
@@ -46,6 +58,9 @@ processed_weather_and_consumption_data:
46
58
load_args :
47
59
index_col : 0 # Load the first column as the index
48
60
parse_dates : [0] # Interpret the first column (index) as dates
61
+ metadata :
62
+ kedro-viz :
63
+ layer : processed
49
64
50
65
# X_train
51
66
X_train :
@@ -56,6 +71,9 @@ X_train:
56
71
load_args :
57
72
index_col : 0
58
73
parse_dates : [0]
74
+ metadata :
75
+ kedro-viz :
76
+ layer : model_input
59
77
60
78
# y_train
61
79
y_train :
@@ -66,6 +84,9 @@ y_train:
66
84
load_args :
67
85
index_col : 0
68
86
parse_dates : [0]
87
+ metadata :
88
+ kedro-viz :
89
+ layer : model_input
69
90
70
91
# X_test
71
92
X_test :
@@ -76,6 +97,9 @@ X_test:
76
97
load_args :
77
98
index_col : 0
78
99
parse_dates : [0]
100
+ metadata :
101
+ kedro-viz :
102
+ layer : model_input
79
103
80
104
# y_test
81
105
y_test :
@@ -86,11 +110,17 @@ y_test:
86
110
load_args :
87
111
index_col : 0
88
112
parse_dates : [0]
113
+ metadata :
114
+ kedro-viz :
115
+ layer : model_input
89
116
90
117
# Created Features
91
118
created_features :
92
119
type : json.JSONDataset
93
120
filepath : data/04_reporting/created_features.json
121
+ metadata :
122
+ kedro-viz :
123
+ layer : feature_creation
94
124
95
125
# train / test split visualization
96
126
train_test_split_visualization :
@@ -104,57 +134,84 @@ xgboost_model:
104
134
type : pickle.PickleDataset
105
135
filepath : data/05_model_output/xgboost_model.pkl
106
136
backend : pickle
137
+ metadata :
138
+ kedro-viz :
139
+ layer : model
107
140
108
141
# Trained Random Forest model
109
142
random_forest_model :
110
143
type : pickle.PickleDataset
111
144
filepath : data/05_model_output/random_forest_model.pkl
112
145
backend : pickle
146
+ metadata :
147
+ kedro-viz :
148
+ layer : model
113
149
114
150
# Trained LightGBM model
115
151
lightgbm_model :
116
152
type : pickle.PickleDataset
117
153
filepath : data/05_model_output/lightgbm_model.pkl
118
154
backend : pickle
155
+ metadata :
156
+ kedro-viz :
157
+ layer : model
119
158
120
159
# xgboost feature importance plot
121
160
xgboost_feature_importance_plot :
122
161
type : matplotlib.MatplotlibWriter
123
162
filepath : data/04_reporting/xgboost_feature_importance_plot.png
124
163
save_args :
125
164
format : png
165
+ metadata :
166
+ kedro-viz :
167
+ layer : reporting
126
168
127
169
# lightgbm feature importance plot
128
170
lightgbm_feature_importance_plot :
129
171
type : matplotlib.MatplotlibWriter
130
172
filepath : data/04_reporting/lightgbm_feature_importance_plot.png
131
173
save_args :
132
174
format : png
175
+ metadata :
176
+ kedro-viz :
177
+ layer : reporting
133
178
134
179
# Random Forest feature importance plot
135
180
random_forest_feature_importance_plot :
136
181
type : matplotlib.MatplotlibWriter
137
182
filepath : data/04_reporting/random_forest_feature_importance_plot.png
138
183
save_args :
139
184
format : png
185
+ metadata :
186
+ kedro-viz :
187
+ layer : reporting
140
188
141
189
# real_data_and_xgboost_predictions_plot
142
190
real_data_and_xgboost_predictions_plot :
143
191
type : matplotlib.MatplotlibWriter
144
192
filepath : data/04_reporting/real_data_and_xgboost_predictions_plot.png
145
193
save_args :
146
194
format : png
195
+ metadata :
196
+ kedro-viz :
197
+ layer : reporting
147
198
148
199
# real_data_and_lightgbm_predictions_plot
149
200
real_data_and_lightgbm_predictions_plot :
150
201
type : matplotlib.MatplotlibWriter
151
202
filepath : data/04_reporting/real_data_and_lightgbm_predictions_plot.png
152
203
save_args :
153
204
format : png
205
+ metadata :
206
+ kedro-viz :
207
+ layer : reporting
154
208
155
209
# real_data_and_rf_predictions_plot
156
210
real_data_and_rf_predictions_plot :
157
211
type : matplotlib.MatplotlibWriter
158
212
filepath : data/04_reporting/real_data_and_rf_predictions_plot.png
159
213
save_args :
160
- format : png
214
+ format : png
215
+ metadata :
216
+ kedro-viz :
217
+ layer : reporting
0 commit comments