Python Machine Learning with Iris Dataset


I recently started to work with Python Scikit-Learn.
My first program was a classification of Iris flowers – as this is usually the first start for everyone 😉

I think it’s quite a good idea to start by just using the code and libraries as your tool. Do not try to understand how Machine Learning works internally. That might be frustrating in the beginning. Especially when it comes to statistics and probabilities and so on and so forth…
You should rather concentrate on the goals you want to achieve – i.e. predict the class of unknown iris flowers.
When your progamm is working and you have a lot of time left, then you could start to think about the algorithm internals.
For getting an idea how the algorithms work and when to use which one take a look at the UserGuide from SciKit-Learn.

Below you can find my code and the dataset I’m using. I got the dataset from the UCI Machine Learning Repository (Iris dataset).

The file “” with the data: iris

Visual Comparison of Dijkstra and A-Star


I finalized the beta-version of my routing and OpenStreetMap (OSM) visualization tool.
The first idea was to see how the Dijkstra and A-Star algorithms work. The next idea was to use OSM data to render the roadnetwork and buildings.

The following videos and pictures show the different working style of Dijkstra and A-Star.

A-Star Routing Algorithm (Download Video)

Dijkstra Routing Algorithm (Download Video)

Pictures of the A-Star algorithm:

Pictures of the Dijkstra algorithm: