This project demonstrates a neural network approach to predict the optimal harvesting time for cucumbers based on environmental factors. The dataset used in this project is randomly generated and does not contain real data. It has been created solely for demonstration purposes and to showcase machine learning skills in a GitHub portfolio.
- Project Overview
- Dataset
- Model Architecture
- Dependencies
- Usage
- Results
- Skills Learned
- Acknowledgments
The goal of this project is to develop a neural network model capable of predicting cucumber weight, which helps determine the best time for harvesting. The model takes two inputs:
- Hour: Hour of the day (1-24).
- PAR (Photosynthetically Active Radiation): A light intensity measure relevant to plant growth.
This project uses a simple neural network and examines its performance in predicting cucumber weights using the generated data.
- The dataset used in this project is randomly generated and is not representative of actual field data.
- The purpose of this dataset is to showcase the implementation of neural networks without violating any data privacy or NDA agreements.
The neural network model used in this project includes:
- Input layer specifying the shape of the data.
- Multiple Dense layers with ReLU activation functions.
- Dropout layers to prevent overfitting.
- Output layer with linear activation for regression output.
To run this project, ensure you have the following dependencies installed:
- Python 3.9+
- TensorFlow
- scikit-learn
- numpy
- pandas
- matplotlib
You can install the necessary dependencies using pip:
pip install tensorflow scikit-learn numpy pandas matplotlib
- Clone this repository:
git clone https://github.com/your-username/cucumber-harvest-prediction.git
- Navigate to the project directory:
cd cucumber-harvest-prediction
- Open the Jupyter Notebook:
jupyter notebook CucumberPredictions.ipynb
- Run the cells sequentially to train the model and visualize the results.
The model demonstrates the capability to fit the synthetic data, providing predictions on cucumber weight based on input features. Due to the nature of the generated dataset, these results are intended for demonstration purposes only.
- Developed skills in building and training neural networks using TensorFlow.
- Gained experience in handling synthetic datasets and validating model performance.
- Enhanced understanding of data preprocessing, feature scaling, and model evaluation.
This project uses synthetic data for demonstration purposes and does not reflect actual agricultural data. The TensorFlow library was used for building and training the neural network.
This project is for educational purposes only. The dataset used is artificially generated and not intended for real-world application.