Forecast daily temperatures with TempPredictMLP, a Python project utilizing a Multi-Layer Perceptron (MLP) neural network. The project covers data preparation, normalization, and model training for accurate time series predictions.
This project involves using a neural network to predict temperature values in a time series. The dataset used for this project is daily mean temperatures, loaded from an Excel file. The process involves data preparation, normalization, creating input-output pairs, and training a neural network for prediction.
Make sure you have the following installed:
Clone the repository:
git clone https://github.com/your-username/your-repository.git
Install dependencies:
pip install numpy pandas matplotlib scikit-learn
Data Preparation: Load the dataset from the 'daily-mean-temperatures.xlsx' file.
data = pd.read_excel('daily-mean-temperatures.xlsx')
Data Normalization: Normalize the data to ensure consistent training.
mn = np.min(data)
mx = np.max(data)
data_norm = (data - mn) / (mx - mn)
Amirhossein Omidi