tensorflow

Using regression to predict house prices using Tensorflow and Keras

#blog #howto #python #tensorflow #ml #maschine learning #keras

In this example we will use the Boston housing price dataset to predict house prices based on several features such as crime rate, local tax property rate and so on. The biggest difference to the previous examples here is that we do not predict fixed classes. This time we predict a continous value. Prequesites This is the third part of my Tensorflow and Keras Sample series. To better understand what is going on here, I highly recommend to read part 1 and part 2 first and then return here to continue.

 

Multiclass classification with Tensorflow and Keras functional API

#blog #howto #python #tensorflow #ml #maschine learning #keras

In the first part of this series we developed a simple binary classification model using Keras' Sequential model class, which is the easiest way of using Keras. Since the Squential model is easy to use, but also limited in what we can do with it, we will use Keras' functional API from now on. That way we can build more complex models for use cases that are not so simple. Allthough in this example we will basically use the functional API to build a model that could also be build using the Sequential model to show how it works on with a very simple example and then use this in upcoming parts of this series to implement more complex usecases.

 

Simple binary classification with Tensorflow and Keras

#blog #howto #python #tensorflow #ml #maschine learning #keras

This is the first of - hopefully - a lot of Tensorflow/Keras tutorials I will write on this blog. In this first - very simple - example I will demonstrate how to use Tensorflow and Keras to train and use a model to predict if an IMDB movie review is positiv or negative. We will use the IMDB dataset for this, prepare the training data, so we can use it to train the model, and finally make predictions on data the model has never seen before.

 

Setup Tensorflow Environment on M1 Mac

#blog #howto #mac #macos #python #apple #tensorflow #ml #maschine learning

Since Apple’s M1 chip is a really good choice for maschine learning at home, but the setup of a Tensorflow environment isn’t exactly straight forward, I thought it would make sense to simplify it a little bit and write a short guide on how to do it. What we need and what the finished solution will look like We need an Apple device with a M1, M1 Pro or Max chip and macOS 12.