sulpha commited on
Commit
f4ee53c
1 Parent(s): 5dd471c

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +108 -0
  2. config.json +53 -0
  3. model.pkl +3 -0
README.md ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: sklearn
3
+ tags:
4
+ - sklearn
5
+ - skops
6
+ - tabular-classification
7
+ model_format: pickle
8
+ model_file: model.pkl
9
+ widget:
10
+ structuredData:
11
+ Month:
12
+ - 5.0
13
+ - 4.0
14
+ - 10.0
15
+ Quantity:
16
+ - 4.0
17
+ - 2.0
18
+ - 2.0
19
+ Seller:
20
+ - 8.0
21
+ - 8.0
22
+ - 3.0
23
+ Total Cost:
24
+ - 2146.0
25
+ - 4216.2
26
+ - 9480.0
27
+ Week:
28
+ - 17.0
29
+ - 13.0
30
+ - 40.0
31
+ Year:
32
+ - 2022.0
33
+ - 2022.0
34
+ - 2022.0
35
+ ---
36
+
37
+ # Model description
38
+
39
+ [More Information Needed]
40
+
41
+ ## Intended uses & limitations
42
+
43
+ [More Information Needed]
44
+
45
+ ## Training Procedure
46
+
47
+ [More Information Needed]
48
+
49
+ ### Hyperparameters
50
+
51
+ <details>
52
+ <summary> Click to expand </summary>
53
+
54
+ | Hyperparameter | Value |
55
+ |------------------|-----------|
56
+ | algorithm | auto |
57
+ | leaf_size | 30 |
58
+ | metric | manhattan |
59
+ | metric_params | |
60
+ | n_jobs | |
61
+ | n_neighbors | 10 |
62
+ | p | 2 |
63
+ | weights | distance |
64
+
65
+ </details>
66
+
67
+ ### Model Plot
68
+
69
+ <style>#sk-container-id-13 {color: black;}#sk-container-id-13 pre{padding: 0;}#sk-container-id-13 div.sk-toggleable {background-color: white;}#sk-container-id-13 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-13 label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-13 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-13 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-13 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-13 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-13 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-13 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-container-id-13 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-13 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-13 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-13 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-13 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-13 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-13 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-13 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-13 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-13 div.sk-item {position: relative;z-index: 1;}#sk-container-id-13 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-13 div.sk-item::before, #sk-container-id-13 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-13 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-13 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-13 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-13 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-13 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-13 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-13 div.sk-label-container {text-align: center;}#sk-container-id-13 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-13 div.sk-text-repr-fallback {display: none;}</style><div id="sk-container-id-13" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>KNeighborsRegressor(metric=&#x27;manhattan&#x27;, n_neighbors=10, weights=&#x27;distance&#x27;)</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-13" type="checkbox" checked><label for="sk-estimator-id-13" class="sk-toggleable__label sk-toggleable__label-arrow">KNeighborsRegressor</label><div class="sk-toggleable__content"><pre>KNeighborsRegressor(metric=&#x27;manhattan&#x27;, n_neighbors=10, weights=&#x27;distance&#x27;)</pre></div></div></div></div></div>
70
+
71
+ ## Evaluation Results
72
+
73
+ | Metric | Value |
74
+ |-----------|---------|
75
+ | accuracy | 0.717 |
76
+ | r squared | 0.717 |
77
+
78
+ # How to Get Started with the Model
79
+
80
+ [More Information Needed]
81
+
82
+ # Model Card Authors
83
+
84
+ This model card is written by following authors:
85
+
86
+ [More Information Needed]
87
+
88
+ # Model Card Contact
89
+
90
+ You can contact the model card authors through following channels:
91
+ [More Information Needed]
92
+
93
+ # Citation
94
+
95
+ Below you can find information related to citation.
96
+
97
+ **BibTeX:**
98
+ ```
99
+ [More Information Needed]
100
+ ```
101
+
102
+ # model_description
103
+
104
+ This is a K-Nearest Neighbour Regressor trained to identify inventory-delay time.
105
+
106
+ # limitations
107
+
108
+ This model is trained for educational purposes.
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sklearn": {
3
+ "columns": [
4
+ "Seller",
5
+ "Total Cost",
6
+ "Quantity",
7
+ "Month",
8
+ "Week",
9
+ "Year"
10
+ ],
11
+ "environment": [
12
+ "scikit-learn"
13
+ ],
14
+ "example_input": {
15
+ "Month": [
16
+ 5.0,
17
+ 4.0,
18
+ 10.0
19
+ ],
20
+ "Quantity": [
21
+ 4.0,
22
+ 2.0,
23
+ 2.0
24
+ ],
25
+ "Seller": [
26
+ 8.0,
27
+ 8.0,
28
+ 3.0
29
+ ],
30
+ "Total Cost": [
31
+ 2146.0,
32
+ 4216.2,
33
+ 9480.0
34
+ ],
35
+ "Week": [
36
+ 17.0,
37
+ 13.0,
38
+ 40.0
39
+ ],
40
+ "Year": [
41
+ 2022.0,
42
+ 2022.0,
43
+ 2022.0
44
+ ]
45
+ },
46
+ "model": {
47
+ "file": "model.pkl"
48
+ },
49
+ "model_format": "pickle",
50
+ "task": "tabular-classification",
51
+ "use_intelex": false
52
+ }
53
+ }
model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:575c393309248f5dc98609aba3b899f3e69ab12b8992b3a7a19483f704deed4c
3
+ size 13510