Skip to content

This repository contains the files of the task which I had detected whether the weather condition is Cloudy , Sunny , Snowy, or Rainy. Basically this is my ML task. #Enjoy #HappyCoding.

Notifications You must be signed in to change notification settings

PoojanDoshi11/Weather_Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Type Detection

The WeatherPrediction class provides a framework for training and evaluating a RandomForestClassifier model to predict weather types based on various meteorological features. It fetches data from a specified CSV file, processes it, trains the model, and allows for predictions on new input data.

Table of Contents

About

This project will detect wheather the weather is sunny, cloudy, snowy or rainy. This project enhanced my ML skills to implement. Here around the accuracy is near 89% which means my data is not overfitting. But then to if anyone have any issue then all the counters and criticizms are welcome but in the form of ADVICE.

Features

  • Load weather data from a CSV file.
  • Preprocess the data by dropping unnecessary columns.
  • Train a RandomForestClassifier on the preprocessed data.
  • Evaluate the model's performance using accuracy and classification reports.
  • Make predictions based on new input features.

Installation

Provide instructions on how to install and set up your project locally. Include any dependencies that need to be installed and any configuration steps.

Note

  • Advice all to install following in an "env." folder. And then following steps are there for assistance.
# Clone the repository
git clone https://github.com/PoojanDoshi11/Weather_Detection

# Navigate to the project directory
cd Weather_Detection

# Install dependencies
pip install -r requirements.txt

Usage

-- Run the Flask app

python app.py

-- then follow the provided local host link -- then enter the necessary data and please click on "Detect" -- then enjoy the results

About

This repository contains the files of the task which I had detected whether the weather condition is Cloudy , Sunny , Snowy, or Rainy. Basically this is my ML task. #Enjoy #HappyCoding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published