added README.md
Browse files
README.md
CHANGED
@@ -2,8 +2,36 @@
|
|
2 |
tags:
|
3 |
- model_hub_mixin
|
4 |
- pytorch_model_hub_mixin
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
---
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
tags:
|
3 |
- model_hub_mixin
|
4 |
- pytorch_model_hub_mixin
|
5 |
+
metrics:
|
6 |
+
- rmse
|
7 |
+
library_name: pytorch
|
8 |
+
datasets:
|
9 |
+
- gvlassis/california_housing
|
10 |
+
pipeline_tag: tabular-regression
|
11 |
---
|
12 |
|
13 |
+
# mlp-california-housing
|
14 |
+
|
15 |
+
A multi-layer perceptron (MLP) trained on the California Housing dataset.
|
16 |
+
|
17 |
+
It takes eight inputs: `'MedInc'`, `'HouseAge'`, `'AveRooms'`, `'AveBedrms'`, `'Population'`, `'AveOccup'`, `'Latitude'` and `'Longitude'`. It predicts `'MedHouseVal'`.
|
18 |
+
|
19 |
+
It is a PyTorch adaptation of the TensorFlow model in Chapter 10 of Aurelien Geron's book 'Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow'.
|
20 |
+
|
21 |
+
Code: https://github.com/sambitmukherjee/handson-ml3-pytorch/blob/main/chapter10/mlp_california_housing.ipynb
|
22 |
+
|
23 |
+
Experiment tracking: https://wandb.ai/sadhaklal/mlp-california-housing
|
24 |
+
|
25 |
+
## Usage
|
26 |
+
|
27 |
+
```
|
28 |
+
|
29 |
+
```
|
30 |
+
|
31 |
+
## Metric
|
32 |
+
|
33 |
+
RMSE on the test set: 0.5502
|
34 |
+
|
35 |
+
---
|
36 |
+
|
37 |
+
This model has been pushed to the Hub using the [PyTorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration.
|