# nonlinear-regression-keras **Repository Path**: liuhanhan/nonlinear-regression-keras ## Basic Information - **Project Name**: nonlinear-regression-keras - **Description**: Training of a neural network for regression prediction using Keras! - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NON-LINEAR REGRESSION WITH KERAS This repository focuses training of a neural network for regression prediction using "Keras". Please check [this medium post](https://medium.com/analytics-vidhya/non-linear-regression-with-deep-learning-221584ccc8c2?source=---------2------------------) for all of the theoretical and practical details! ## Quick Summary In this study,"[the yacht hydrodynamics data set](http://archive.ics.uci.edu/ml/datasets/Yacht+Hydrodynamics)" was used as a case study and it was reached 0.99 R-square value which is awesome!

To implement a neural network for regression, it must to be defined the architecture itself. It is used a simple Multilayer Perceptron (MLP) as shown at the figure below to define the architecture.

And, here is the implementation using Keras!

The approaches and codes that shared in this tutorial can be adopted for any other regression tasks such as "[computer hardware](http://archive.ics.uci.edu/ml/datasets/Computer+Hardware)", "[energy efficiency](http://archive.ics.uci.edu/ml/datasets/Energy+efficiency)" and more! Here are the results from left to right: plot of training history, plot of actual vs prediction for training set, plot of actual vs prediction for validation set.

**[Here is the main python notebook](https://github.com/ahmetozlu/keras-nonlinear-regression/blob/master/keras-nonlinear-regression.ipynb) that explains all of the stuff step by step!** ## Citation If you use this code for your publications, please cite it as: @ONLINE{hse, author = "Ahmet Özlü", title = "Non-linear regression using Keras", year = "2020", url = "https://github.com/ahmetozlu/keras-nonlinear-regression" } ## Author Ahmet Özlü ## License This system is available under the MIT license. See the LICENSE file for more info.