Hello World in TensorFlow
We have covered a lot of basic operations in TensorFlow. Now, let’s build our first model in TensorFlow. For this example, let us say you are part of a research team studying the correlation between the number of hours a student studied in a term and their final grade. Of course, this is a theoretical scenario and there are a lot more factors that come into play when it comes to how well a student will perform. However, in this case, we will take only one attribute as the determinant of success – hours of study. After a term of study, we successfully collated the hours of study of students and their corresponding grades, as shown in Table 2.1.
Hours of Study |
20 |
23 |
25 |
28 |
30 |
37 |
40 |
43... |