Celsius to fahrenheit with tensorflowjs
Give the following temperatures, what would be the fahrenheit value for 42 celsius degrees?
| Celsius | -40 | -10 | 0 | 8 | 15 | 22 | 38 | 42 |
|---|---|---|---|---|---|---|---|---|
| Fahrenheit | -40 | 14 | 32 | 46 | 59 | 72 | 100 | ? |
One way to find the relation between the values is using the line equation.
y = mx + b
m = 1.8
b = 32
SO
F = (1.8 * C) + 32
and here you can convert the values using the formula
Let's see how good will be the model predictions