File size: 1,721 Bytes
6b96cd5 5c59559 6b96cd5 5c59559 6b96cd5 5c59559 1afd416 6b96cd5 bcdc72a dfb7514 bcdc72a 1afd416 8d2ebbc 4efbbe6 25f91dd dfb7514 1afd416 bcdc72a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
---
datasets:
- prabinpanta0/celsius-to-fahrenheit
language: en
library_name: tf-keras
license: mit
metrics: mean_squared_error
pipeline_tag: tabular-regression
tags:
- temperature-conversion
- celsius-to-fahrenheit
- tensorflow
- neural-network
---
# My Temperature Conversion Model
This model is a simple neural network that converts temperatures from Celsius to Fahrenheit.
## Model Description
This model was created as a practice exercise for the course "Intro to TensorFlow for Deep Learning" from Udacity, given by TensorFlow. It was trained on a dataset of temperature values in Celsius and their corresponding values in Fahrenheit. The model uses a small neural network built with TensorFlow.
## Usage
To use this model, you can load it with TensorFlow and make predictions as shown below:
```python
import tensorflow as tf
model = tf.keras.models.load_model('celsius-to-fahrenheit')
prediction = model.predict([100.0])
print(f"Prediction for 100°C in Fahrenheit: {prediction[0][0]}")
```
## Training
The model was trained using the following parameters:
- Optimizer: Adam
- Loss function: Mean Squared Error
- Epochs: 1000
- Batch size: 10
## Metrics
The model was evaluated based on the Mean Squared Error loss during training.
![image/png](https://cdn-uploads.huggingface.co/production/uploads/662ccaab9d047b3700b1d4cd/Pc4sHWyXfsoUbjdSAY_zA.png)
## Model Output
![image/png](https://cdn-uploads.huggingface.co/production/uploads/662ccaab9d047b3700b1d4cd/AbEhf1yTPAbqq59fxmGLG.png)
## Datasets
The model was trained on the [prabinpanta0/celsius-to-fahrenheit](https://huggingface.co/datasets/prabinpanta0/celsius-to-fahrenheit) dataset.
## License
This model is released under the MIT license. |