Member-only story
I achieved my 52nd bronze medal in a Kaggle competition prediction on the probability of flooding
I always enjoy the first of the month when Kaggle puts out a new playground competition. This month’s competition was to predict on the probability of flooding in different areas. The flooding competition can be found here:- https://www.kaggle.com/competitions/playground-series-s4e5
I have been endeavouring to learn as much about the Tensorflow library as I can, so I decided to use a linear deep neural network (DNN) to solve this competition problem. A diagram of a DNN can be seen below:-
I created a Jupyter Notebook with Kaggle and stored it in my Kaggle account.
The first thing that I did was to import the libraries that I would need to run the program. The ones I used in this instance were:-
- Numpy to create numpy arrays and perform numerical computations,
- Pandas to create dataframes and process data,
- Os to go into the operating system and retrieve files,
- Sklearn to provide machine learning functionality,
- Matplotlib to visualise the…