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 6 |
+
- skops
|
| 7 |
+
- tabular-regression
|
| 8 |
+
model_format: pickle
|
| 9 |
+
model_file: example.pkl
|
| 10 |
+
widget:
|
| 11 |
+
- structuredData:
|
| 12 |
+
Height:
|
| 13 |
+
- 11.52
|
| 14 |
+
- 12.48
|
| 15 |
+
- 12.3778
|
| 16 |
+
Length1:
|
| 17 |
+
- 23.2
|
| 18 |
+
- 24.0
|
| 19 |
+
- 23.9
|
| 20 |
+
Length2:
|
| 21 |
+
- 25.4
|
| 22 |
+
- 26.3
|
| 23 |
+
- 26.5
|
| 24 |
+
Length3:
|
| 25 |
+
- 30.0
|
| 26 |
+
- 31.2
|
| 27 |
+
- 31.1
|
| 28 |
+
Species:
|
| 29 |
+
- Bream
|
| 30 |
+
- Bream
|
| 31 |
+
- Bream
|
| 32 |
+
Width:
|
| 33 |
+
- 4.02
|
| 34 |
+
- 4.3056
|
| 35 |
+
- 4.6961
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
# Model description
|
| 39 |
+
|
| 40 |
+
[More Information Needed]
|
| 41 |
+
|
| 42 |
+
## Intended uses & limitations
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
## Training Procedure
|
| 47 |
+
|
| 48 |
+
[More Information Needed]
|
| 49 |
+
|
| 50 |
+
### Hyperparameters
|
| 51 |
+
|
| 52 |
+
<details>
|
| 53 |
+
<summary> Click to expand </summary>
|
| 54 |
+
|
| 55 |
+
| Hyperparameter | Value |
|
| 56 |
+
|---------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 57 |
+
| memory | |
|
| 58 |
+
| steps | [('columntransformer', ColumnTransformer(remainder='passthrough',<br /> transformers=[('onehotencoder',<br /> OneHotEncoder(handle_unknown='ignore',<br /> sparse=False),<br /> <sklearn.compose._column_transformer.make_column_selector object at 0x7c049c39ec20>)])), ('gradientboostingregressor', GradientBoostingRegressor(random_state=42))] |
|
| 59 |
+
| verbose | False |
|
| 60 |
+
| columntransformer | ColumnTransformer(remainder='passthrough',<br /> transformers=[('onehotencoder',<br /> OneHotEncoder(handle_unknown='ignore',<br /> sparse=False),<br /> <sklearn.compose._column_transformer.make_column_selector object at 0x7c049c39ec20>)]) |
|
| 61 |
+
| gradientboostingregressor | GradientBoostingRegressor(random_state=42) |
|
| 62 |
+
| columntransformer__n_jobs | |
|
| 63 |
+
| columntransformer__remainder | passthrough |
|
| 64 |
+
| columntransformer__sparse_threshold | 0.3 |
|
| 65 |
+
| columntransformer__transformer_weights | |
|
| 66 |
+
| columntransformer__transformers | [('onehotencoder', OneHotEncoder(handle_unknown='ignore', sparse=False), <sklearn.compose._column_transformer.make_column_selector object at 0x7c049c39ec20>)] |
|
| 67 |
+
| columntransformer__verbose | False |
|
| 68 |
+
| columntransformer__verbose_feature_names_out | True |
|
| 69 |
+
| columntransformer__onehotencoder | OneHotEncoder(handle_unknown='ignore', sparse=False) |
|
| 70 |
+
| columntransformer__onehotencoder__categories | auto |
|
| 71 |
+
| columntransformer__onehotencoder__drop | |
|
| 72 |
+
| columntransformer__onehotencoder__dtype | <class 'numpy.float64'> |
|
| 73 |
+
| columntransformer__onehotencoder__feature_name_combiner | concat |
|
| 74 |
+
| columntransformer__onehotencoder__handle_unknown | ignore |
|
| 75 |
+
| columntransformer__onehotencoder__max_categories | |
|
| 76 |
+
| columntransformer__onehotencoder__min_frequency | |
|
| 77 |
+
| columntransformer__onehotencoder__sparse | False |
|
| 78 |
+
| columntransformer__onehotencoder__sparse_output | True |
|
| 79 |
+
| gradientboostingregressor__alpha | 0.9 |
|
| 80 |
+
| gradientboostingregressor__ccp_alpha | 0.0 |
|
| 81 |
+
| gradientboostingregressor__criterion | friedman_mse |
|
| 82 |
+
| gradientboostingregressor__init | |
|
| 83 |
+
| gradientboostingregressor__learning_rate | 0.1 |
|
| 84 |
+
| gradientboostingregressor__loss | squared_error |
|
| 85 |
+
| gradientboostingregressor__max_depth | 3 |
|
| 86 |
+
| gradientboostingregressor__max_features | |
|
| 87 |
+
| gradientboostingregressor__max_leaf_nodes | |
|
| 88 |
+
| gradientboostingregressor__min_impurity_decrease | 0.0 |
|
| 89 |
+
| gradientboostingregressor__min_samples_leaf | 1 |
|
| 90 |
+
| gradientboostingregressor__min_samples_split | 2 |
|
| 91 |
+
| gradientboostingregressor__min_weight_fraction_leaf | 0.0 |
|
| 92 |
+
| gradientboostingregressor__n_estimators | 100 |
|
| 93 |
+
| gradientboostingregressor__n_iter_no_change | |
|
| 94 |
+
| gradientboostingregressor__random_state | 42 |
|
| 95 |
+
| gradientboostingregressor__subsample | 1.0 |
|
| 96 |
+
| gradientboostingregressor__tol | 0.0001 |
|
| 97 |
+
| gradientboostingregressor__validation_fraction | 0.1 |
|
| 98 |
+
| gradientboostingregressor__verbose | 0 |
|
| 99 |
+
| gradientboostingregressor__warm_start | False |
|
| 100 |
+
|
| 101 |
+
</details>
|
| 102 |
+
|
| 103 |
+
### Model Plot
|
| 104 |
+
|
| 105 |
+
<style>#sk-container-id-3 {color: black;}#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>Pipeline(steps=[('columntransformer',ColumnTransformer(remainder='passthrough',transformers=[('onehotencoder',OneHotEncoder(handle_unknown='ignore',sparse=False),<sklearn.compose._column_transformer.make_column_selector object at 0x7c049c39ec20>)])),('gradientboostingregressor',GradientBoostingRegressor(random_state=42))])</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 sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-15" type="checkbox" ><label for="sk-estimator-id-15" class="sk-toggleable__label sk-toggleable__label-arrow">Pipeline</label><div class="sk-toggleable__content"><pre>Pipeline(steps=[('columntransformer',ColumnTransformer(remainder='passthrough',transformers=[('onehotencoder',OneHotEncoder(handle_unknown='ignore',sparse=False),<sklearn.compose._column_transformer.make_column_selector object at 0x7c049c39ec20>)])),('gradientboostingregressor',GradientBoostingRegressor(random_state=42))])</pre></div></div></div><div class="sk-serial"><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-16" type="checkbox" ><label for="sk-estimator-id-16" class="sk-toggleable__label sk-toggleable__label-arrow">columntransformer: ColumnTransformer</label><div class="sk-toggleable__content"><pre>ColumnTransformer(remainder='passthrough',transformers=[('onehotencoder',OneHotEncoder(handle_unknown='ignore',sparse=False),<sklearn.compose._column_transformer.make_column_selector object at 0x7c049c39ec20>)])</pre></div></div></div><div class="sk-parallel"><div class="sk-parallel-item"><div class="sk-item"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-17" type="checkbox" ><label for="sk-estimator-id-17" class="sk-toggleable__label sk-toggleable__label-arrow">onehotencoder</label><div class="sk-toggleable__content"><pre><sklearn.compose._column_transformer.make_column_selector object at 0x7c049c39ec20></pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-18" type="checkbox" ><label for="sk-estimator-id-18" class="sk-toggleable__label sk-toggleable__label-arrow">OneHotEncoder</label><div class="sk-toggleable__content"><pre>OneHotEncoder(handle_unknown='ignore', sparse=False)</pre></div></div></div></div></div></div><div class="sk-parallel-item"><div class="sk-item"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-19" type="checkbox" ><label for="sk-estimator-id-19" class="sk-toggleable__label sk-toggleable__label-arrow">remainder</label><div class="sk-toggleable__content"><pre>['Length1', 'Length2', 'Length3', 'Height', 'Width']</pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-20" type="checkbox" ><label for="sk-estimator-id-20" class="sk-toggleable__label sk-toggleable__label-arrow">passthrough</label><div class="sk-toggleable__content"><pre>passthrough</pre></div></div></div></div></div></div></div></div><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-21" type="checkbox" ><label for="sk-estimator-id-21" class="sk-toggleable__label sk-toggleable__label-arrow">GradientBoostingRegressor</label><div class="sk-toggleable__content"><pre>GradientBoostingRegressor(random_state=42)</pre></div></div></div></div></div></div></div>
|
| 106 |
+
|
| 107 |
+
## Evaluation Results
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
# How to Get Started with the Model
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
# Model Card Authors
|
| 116 |
+
|
| 117 |
+
This model card is written by following authors:
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
# Model Card Contact
|
| 122 |
+
|
| 123 |
+
You can contact the model card authors through following channels:
|
| 124 |
+
[More Information Needed]
|
| 125 |
+
|
| 126 |
+
# Citation
|
| 127 |
+
|
| 128 |
+
Below you can find information related to citation.
|
| 129 |
+
|
| 130 |
+
**BibTeX:**
|
| 131 |
+
```
|
| 132 |
+
[More Information Needed]
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
# model_card_authors
|
| 136 |
+
|
| 137 |
+
JP
|
| 138 |
+
|
| 139 |
+
# limitations
|
| 140 |
+
|
| 141 |
+
This model is intended for educational purposes.
|
| 142 |
+
|
| 143 |
+
# model_description
|
| 144 |
+
|
| 145 |
+
This is a GradientBoostingRegressor on a fish dataset.
|
config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"sklearn": {
|
| 3 |
+
"columns": [
|
| 4 |
+
"Species",
|
| 5 |
+
"Length1",
|
| 6 |
+
"Length2",
|
| 7 |
+
"Length3",
|
| 8 |
+
"Height",
|
| 9 |
+
"Width"
|
| 10 |
+
],
|
| 11 |
+
"environment": [
|
| 12 |
+
"scikit-learn=1.3.2"
|
| 13 |
+
],
|
| 14 |
+
"example_input": {
|
| 15 |
+
"Height": [
|
| 16 |
+
11.52,
|
| 17 |
+
12.48,
|
| 18 |
+
12.3778
|
| 19 |
+
],
|
| 20 |
+
"Length1": [
|
| 21 |
+
23.2,
|
| 22 |
+
24.0,
|
| 23 |
+
23.9
|
| 24 |
+
],
|
| 25 |
+
"Length2": [
|
| 26 |
+
25.4,
|
| 27 |
+
26.3,
|
| 28 |
+
26.5
|
| 29 |
+
],
|
| 30 |
+
"Length3": [
|
| 31 |
+
30.0,
|
| 32 |
+
31.2,
|
| 33 |
+
31.1
|
| 34 |
+
],
|
| 35 |
+
"Species": [
|
| 36 |
+
"Bream",
|
| 37 |
+
"Bream",
|
| 38 |
+
"Bream"
|
| 39 |
+
],
|
| 40 |
+
"Width": [
|
| 41 |
+
4.02,
|
| 42 |
+
4.3056,
|
| 43 |
+
4.6961
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
"model": {
|
| 47 |
+
"file": "example.pkl"
|
| 48 |
+
},
|
| 49 |
+
"model_format": "pickle",
|
| 50 |
+
"task": "tabular-regression"
|
| 51 |
+
}
|
| 52 |
+
}
|
example.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb1b82f927d7b46717980b0999bd5f574d0023032afc85c82cfe8e35fbae8f1b
|
| 3 |
+
size 131805
|