{"id":24665984,"url":"https://github.com/jotstolu/training-machine-learning-models-for-weed-classification","last_synced_at":"2025-03-21T10:44:33.133Z","repository":{"id":265742709,"uuid":"896508650","full_name":"jotstolu/Training-Machine-learning-models-for-weed-classification","owner":"jotstolu","description":"This project involves training different machine learning-based classifiers using image processing techniques to accurately classify two weed classes: charlock and cleavers.This Image classification task focuses on Four Main things: 1)Image Preparation and Pre-processing 2)Feature Extraction 3)Model Training 4)Model Evaluation and Analysis","archived":false,"fork":false,"pushed_at":"2024-11-30T18:46:10.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T07:14:13.177Z","etag":null,"topics":["deep-learning","deep-neural-networks","image-classification","image-processing","machine-learning"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jotstolu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-30T14:54:04.000Z","updated_at":"2024-11-30T18:54:41.000Z","dependencies_parsed_at":"2024-11-30T19:30:41.896Z","dependency_job_id":"07d5d046-8026-46d2-86cd-1469cc307c32","html_url":"https://github.com/jotstolu/Training-Machine-learning-models-for-weed-classification","commit_stats":null,"previous_names":["jotstolu/training-machine-learning-models-for-weed-classification"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotstolu%2FTraining-Machine-learning-models-for-weed-classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotstolu%2FTraining-Machine-learning-models-for-weed-classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotstolu%2FTraining-Machine-learning-models-for-weed-classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotstolu%2FTraining-Machine-learning-models-for-weed-classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jotstolu","download_url":"https://codeload.github.com/jotstolu/Training-Machine-learning-models-for-weed-classification/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244782044,"owners_count":20509738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","deep-neural-networks","image-classification","image-processing","machine-learning"],"created_at":"2025-01-26T07:14:15.956Z","updated_at":"2025-03-21T10:44:33.114Z","avatar_url":"https://github.com/jotstolu.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Training-Machine-learning-models-for-weed-classification\nThis **Image classification task (Weed classification)** is very important in agriculture as it helps farmers identify and manage unwanted plant species that can compete with crops for resources, leading to reduced yields and economic losses. \nTraditional methods of weed identification and management takes longer time and requires more effort. Advancement in computer vision technology has made this process easy there by reducing labour costs, raising productivity, and ensuring the sustainability of agricultural practices.\nThe main aim of this project is to train different machine learning-based classifiers using image processing techniques to accurately classify two weed classes: **charlock and cleavers.**\n\n## Background information\nThe dataset was adjusted from the [ plant seedling classification competition ](https://www.kaggle.com/c/plant-seedlings-classification/data) on Kaggle. Subset of charlocks and cleavers images was downloaded and stored in a folder named Data Image processing weed classification having three sub-folders which contains the test, train and validation folder, each subfolder contains two different folders named charlocks and cleavers which contains the images of the charlocks and cleavers weed respectively. \n\n- Total number of images in the dataset = 786 images of both charlock and cleavers\n- Total number of images in the train folder = 480 images of both charlock and cleavers\n- Total number of images in the test folder = 158 images of both charlock and cleavers\n- Total number of images in the validation folder = 148 images of both charlock and cleavers\n\n\n## Project Objectives\n1)\tExploring various image pre-processing techniques to pre-process the dataset\n2)\tExtracting different features such as Histogram of Gradient, RGB values, colour Histogram\n3)\tTraining and optimizing different machine and deep learning Models, such as support vector machines (SVMs), random forests, Logistic Regression, K-Nearest Neighbour (KNN),Convolutional Neural Networks(CNN) using the extracted features.\n4)\tEvaluating the performance of the classifiers using appropriate evaluation metrics, such as accuracy, precision, recall, and F1-score.\n5)\tComparing and contrasting the performance of traditional Machine Learning Classifiers with Deep Learning Model (CNN)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjotstolu%2Ftraining-machine-learning-models-for-weed-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjotstolu%2Ftraining-machine-learning-models-for-weed-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjotstolu%2Ftraining-machine-learning-models-for-weed-classification/lists"}