Book Image

Building Machine Learning Projects with TensorFlow

By : Rodolfo Bonnin
Book Image

Building Machine Learning Projects with TensorFlow

By: Rodolfo Bonnin

Overview of this book

<p>This book of projects highlights how TensorFlow can be used in different scenarios - this includes projects for training models, machine learning, deep learning, and working with various neural networks. Each project provides exciting and insightful exercises that will teach you how to use TensorFlow and show you how layers of data can be explored by working with Tensors. Simply pick a project that is in line with your environment and get stacks of information on how to implement TensorFlow in production.</p>
Table of Contents (16 chapters)
Building Machine Learning Projects with TensorFlow
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Second project - Modeling cars fuel efficiency with non linear regression


In this example, we will enter into an area where Neural Networks provide most of their added value; solving non linear problems. To begin this journey, we will be modeling a regression model for the fuel efficiency of several car models, based on several variables, which can be better represented by non linear functions.

Dataset description and loading

For this problem, we will be analyzing a very well-known, standard,well-formeddataset, which will allow us to analyze a multi-variable problem: guessing the mpg an automobile will have based on some related variables, discrete and continuous.

This could be considered a toy and somewhat dated example, but it will pave the way to more complex problems, and has the advantage of being already analyzed by numerous bibliographies.

Attribute Information

This dataset has the following data columns:

  • mpg: continuous

  • cylinders: multi-valued discrete

  • displacement: continuous

  • horsepower...