mklomo commited on
Commit
1ae3557
1 Parent(s): 63b069e

pushing files to the repo from the example!

Browse files
Files changed (3) hide show
  1. README.md +34 -34
  2. config.json +52 -52
  3. rf_model.pkl +2 -2
README.md CHANGED
@@ -9,66 +9,66 @@ model_format: pickle
9
  model_file: rf_model.pkl
10
  widget:
11
  structuredData:
12
- x0:
13
  - 22353.0
14
  - 18097.0
15
  - 1893.0
16
- x1:
17
  - 300.0
18
  - 0.0
19
  - 0.0
20
- x10:
21
- - 6.0
22
- - 6.0
23
- - 6.0
24
- x11:
25
- - 14.300000190734863
26
- - 18.0
27
- - 12.5
28
- x12:
29
- - 0.0
30
- - 0.0
31
- - 0.0
32
- x13:
33
- - -0.1458740234375
34
- - -0.016845703125
35
- - -0.145751953125
36
- x14:
37
- - 2574.0
38
- - 2243.0
39
- - 2393.0
40
- x2:
41
  - 1376.530029296875
42
  - 1810.1199951171875
43
  - 284.42999267578125
44
- x3:
45
  - 0.0
46
  - 0.0
47
  - 0.0
48
- x4:
49
- - 0.0
50
- - 0.0
51
- - 0.0
52
- x5:
53
  - 0.0
54
  - 126.66000366210938
55
  - 19.809999465942383
56
- x6:
57
  - 44.311378479003906
58
  - 40.6067008972168
59
  - 44.311378479003906
60
- x7:
 
 
 
 
61
  - 0.0
62
  - 0.0
63
  - 0.0
64
- x8:
65
  - 29.5
66
  - 27.0
67
  - 9.399999618530273
68
- x9:
69
  - 1.0
70
  - 1.0
71
  - 1.0
 
 
 
 
 
 
 
 
 
 
 
 
72
  ---
73
 
74
  # Model description
@@ -115,7 +115,7 @@ The model is trained with below hyperparameters.
115
 
116
  The model plot is below.
117
 
118
- <style>#sk-container-id-3 {color: black;background-color: white;}#sk-container-id-3 pre{padding: 0;}#sk-container-id-3 div.sk-toggleable {background-color: white;}#sk-container-id-3 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-container-id-3 label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-3 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-3 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-3 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-3 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-3 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-3 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-container-id-3 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-3 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-3 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-container-id-3 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-container-id-3 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-3 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-3 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-3 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: 0;}#sk-container-id-3 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;position: relative;}#sk-container-id-3 div.sk-item {position: relative;z-index: 1;}#sk-container-id-3 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-3 div.sk-item::before, #sk-container-id-3 div.sk-parallel-item::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: -1;}#sk-container-id-3 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-3 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-3 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-3 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-3 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;}#sk-container-id-3 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-3 div.sk-label-container {text-align: center;}#sk-container-id-3 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }` but bootstrap.min.css set `[hidden] { display: none !important; }` so we also need the `!important` here to be able to override the default hidden behavior on the sphinx rendered scikit-learn.org. See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;}#sk-container-id-3 div.sk-text-repr-fallback {display: none;}</style><div id="sk-container-id-3" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>RandomForestClassifier(n_estimators=25, n_jobs=-1, random_state=1)</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-3" type="checkbox" checked><label for="sk-estimator-id-3" class="sk-toggleable__label sk-toggleable__label-arrow">RandomForestClassifier</label><div class="sk-toggleable__content"><pre>RandomForestClassifier(n_estimators=25, n_jobs=-1, random_state=1)</pre></div></div></div></div></div>
119
 
120
  ## Evaluation Results
121
 
 
9
  model_file: rf_model.pkl
10
  widget:
11
  structuredData:
12
+ cons_12m:
13
  - 22353.0
14
  - 18097.0
15
  - 1893.0
16
+ cons_last_month:
17
  - 300.0
18
  - 0.0
19
  - 0.0
20
+ contract_length:
21
+ - 2574
22
+ - 2243
23
+ - 2393
24
+ forecast_cons_12m:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  - 1376.530029296875
26
  - 1810.1199951171875
27
  - 284.42999267578125
28
+ forecast_cons_year:
29
  - 0.0
30
  - 0.0
31
  - 0.0
32
+ forecast_discount_energy:
33
+ - 0
34
+ - 0
35
+ - 0
36
+ forecast_meter_rent_12m:
37
  - 0.0
38
  - 126.66000366210938
39
  - 19.809999465942383
40
+ forecast_price_pow_off_peak:
41
  - 44.311378479003906
42
  - 40.6067008972168
43
  - 44.311378479003906
44
+ has_gas_t:
45
+ - 0
46
+ - 0
47
+ - 0
48
+ imp_cons:
49
  - 0.0
50
  - 0.0
51
  - 0.0
52
+ margin_gross_pow_ele:
53
  - 29.5
54
  - 27.0
55
  - 9.399999618530273
56
+ nb_prod_act:
57
  - 1.0
58
  - 1.0
59
  - 1.0
60
+ num_years_antig:
61
+ - 6.0
62
+ - 6.0
63
+ - 6.0
64
+ pow_max:
65
+ - 14.300000190734863
66
+ - 18.0
67
+ - 12.5
68
+ price_diff_energy_peak_offpeak:
69
+ - -0.1458740234375
70
+ - -0.016845703125
71
+ - -0.145751953125
72
  ---
73
 
74
  # Model description
 
115
 
116
  The model plot is below.
117
 
118
+ <style>#sk-container-id-4 {color: black;background-color: white;}#sk-container-id-4 pre{padding: 0;}#sk-container-id-4 div.sk-toggleable {background-color: white;}#sk-container-id-4 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-container-id-4 label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-4 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-4 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-4 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-4 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-4 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-4 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-container-id-4 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-container-id-4 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-container-id-4 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-4 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-4 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: 0;}#sk-container-id-4 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;position: relative;}#sk-container-id-4 div.sk-item {position: relative;z-index: 1;}#sk-container-id-4 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-4 div.sk-item::before, #sk-container-id-4 div.sk-parallel-item::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: -1;}#sk-container-id-4 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-4 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-4 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-4 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-4 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;}#sk-container-id-4 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-4 div.sk-label-container {text-align: center;}#sk-container-id-4 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }` but bootstrap.min.css set `[hidden] { display: none !important; }` so we also need the `!important` here to be able to override the default hidden behavior on the sphinx rendered scikit-learn.org. See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;}#sk-container-id-4 div.sk-text-repr-fallback {display: none;}</style><div id="sk-container-id-4" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>RandomForestClassifier(n_estimators=25, n_jobs=-1, random_state=1)</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-4" type="checkbox" checked><label for="sk-estimator-id-4" class="sk-toggleable__label sk-toggleable__label-arrow">RandomForestClassifier</label><div class="sk-toggleable__content"><pre>RandomForestClassifier(n_estimators=25, n_jobs=-1, random_state=1)</pre></div></div></div></div></div>
119
 
120
  ## Evaluation Results
121
 
config.json CHANGED
@@ -1,100 +1,100 @@
1
  {
2
  "sklearn": {
3
  "columns": [
4
- "x0",
5
- "x1",
6
- "x2",
7
- "x3",
8
- "x4",
9
- "x5",
10
- "x6",
11
- "x7",
12
- "x8",
13
- "x9",
14
- "x10",
15
- "x11",
16
- "x12",
17
- "x13",
18
- "x14"
19
  ],
20
  "environment": [
21
  "scikit-learn=1.2.0"
22
  ],
23
  "example_input": {
24
- "x0": [
25
  22353.0,
26
  18097.0,
27
  1893.0
28
  ],
29
- "x1": [
30
  300.0,
31
  0.0,
32
  0.0
33
  ],
34
- "x10": [
35
- 6.0,
36
- 6.0,
37
- 6.0
38
- ],
39
- "x11": [
40
- 14.300000190734863,
41
- 18.0,
42
- 12.5
43
- ],
44
- "x12": [
45
- 0.0,
46
- 0.0,
47
- 0.0
48
- ],
49
- "x13": [
50
- -0.1458740234375,
51
- -0.016845703125,
52
- -0.145751953125
53
- ],
54
- "x14": [
55
- 2574.0,
56
- 2243.0,
57
- 2393.0
58
  ],
59
- "x2": [
60
  1376.530029296875,
61
  1810.1199951171875,
62
  284.42999267578125
63
  ],
64
- "x3": [
65
  0.0,
66
  0.0,
67
  0.0
68
  ],
69
- "x4": [
70
- 0.0,
71
- 0.0,
72
- 0.0
73
  ],
74
- "x5": [
75
  0.0,
76
  126.66000366210938,
77
  19.809999465942383
78
  ],
79
- "x6": [
80
  44.311378479003906,
81
  40.6067008972168,
82
  44.311378479003906
83
  ],
84
- "x7": [
 
 
 
 
 
85
  0.0,
86
  0.0,
87
  0.0
88
  ],
89
- "x8": [
90
  29.5,
91
  27.0,
92
  9.399999618530273
93
  ],
94
- "x9": [
95
  1.0,
96
  1.0,
97
  1.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  ]
99
  },
100
  "model": {
 
1
  {
2
  "sklearn": {
3
  "columns": [
4
+ "cons_12m",
5
+ "cons_last_month",
6
+ "forecast_cons_12m",
7
+ "forecast_cons_year",
8
+ "forecast_discount_energy",
9
+ "forecast_meter_rent_12m",
10
+ "forecast_price_pow_off_peak",
11
+ "imp_cons",
12
+ "margin_gross_pow_ele",
13
+ "nb_prod_act",
14
+ "num_years_antig",
15
+ "pow_max",
16
+ "has_gas_t",
17
+ "price_diff_energy_peak_offpeak",
18
+ "contract_length"
19
  ],
20
  "environment": [
21
  "scikit-learn=1.2.0"
22
  ],
23
  "example_input": {
24
+ "cons_12m": [
25
  22353.0,
26
  18097.0,
27
  1893.0
28
  ],
29
+ "cons_last_month": [
30
  300.0,
31
  0.0,
32
  0.0
33
  ],
34
+ "contract_length": [
35
+ 2574,
36
+ 2243,
37
+ 2393
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  ],
39
+ "forecast_cons_12m": [
40
  1376.530029296875,
41
  1810.1199951171875,
42
  284.42999267578125
43
  ],
44
+ "forecast_cons_year": [
45
  0.0,
46
  0.0,
47
  0.0
48
  ],
49
+ "forecast_discount_energy": [
50
+ 0,
51
+ 0,
52
+ 0
53
  ],
54
+ "forecast_meter_rent_12m": [
55
  0.0,
56
  126.66000366210938,
57
  19.809999465942383
58
  ],
59
+ "forecast_price_pow_off_peak": [
60
  44.311378479003906,
61
  40.6067008972168,
62
  44.311378479003906
63
  ],
64
+ "has_gas_t": [
65
+ 0,
66
+ 0,
67
+ 0
68
+ ],
69
+ "imp_cons": [
70
  0.0,
71
  0.0,
72
  0.0
73
  ],
74
+ "margin_gross_pow_ele": [
75
  29.5,
76
  27.0,
77
  9.399999618530273
78
  ],
79
+ "nb_prod_act": [
80
  1.0,
81
  1.0,
82
  1.0
83
+ ],
84
+ "num_years_antig": [
85
+ 6.0,
86
+ 6.0,
87
+ 6.0
88
+ ],
89
+ "pow_max": [
90
+ 14.300000190734863,
91
+ 18.0,
92
+ 12.5
93
+ ],
94
+ "price_diff_energy_peak_offpeak": [
95
+ -0.1458740234375,
96
+ -0.016845703125,
97
+ -0.145751953125
98
  ]
99
  },
100
  "model": {
rf_model.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:83839042da9246c59e437ec38aad575ac53c900459acae26058d5de824e30eea
3
- size 7086447
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6607b2f4aef5845333d6202a9345bd7c213d13f39cb1aa7600ab03e854e13cf
3
+ size 7086824