GithubHelp home page GithubHelp logo

kenan-erol / microbeclassification Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.21 MB

Classification model predicting the type of microbe from provided features

License: Apache License 2.0

Jupyter Notebook 100.00%
antibiotic-resistance artificial-intelligence bacteria data-science genomes microbes

microbeclassification's Introduction

MicrobeClassification

Bacteria have been growing increasingly more antibiotic-resistant over the years as bacterial genes adapt to the weaknesses that make antibiotics effective. As a solution to these adaptations, scientists have began using genetic sequencing to identify and battle against the genes in question. However, these sequencing techniques are meticulous and sometimes, they are not quick enough to save patient lives from infections. As a result, if we can use AI to quickly identify these microbes, more lives may be saved.

This model is trained to detect other microbes, but in the future can be scaled for bacterial uses. Datasets containing the following characteristics can be trained with this model: 'Solidity', 'Eccentricity', 'EquivDiameter', 'Extrema', 'FilledArea','Extent', 'Orientation', 'EulerNumber', 'BoundingBox1', 'BoundingBox2','BoundingBox3', 'BoundingBox4', 'ConvexHull1', 'ConvexHull2','ConvexHull3', 'ConvexHull4', 'MajorAxisLength', 'MinorAxisLength','Perimeter', 'ConvexArea', 'Centroid1', 'Centroid2', 'Area', 'raddi'

Source of code: https://www.kaggle.com/datasets/sayansh001/microbes-dataset

QNA

Dataset questions

How would we scale this microorganism detection model to detect bacteria? We can build a similar multi-class classifier model based on a bacterial dataset with similar numerical features.

What is the point of using StandardScaler for each column? Each of the different features have different expected ranges from each other. This means that it would not make sense to treat equivalent values that are in different columns as the same value. To clarify, I can give an example about weight and height. Weight woud have an expected range of 80-300 (lb) while height would have an expected range of 50-90. A value of 70 would have a different meaning in the weight column that it would in the height column. In the weight column, 70 would be an outlier while in the height column it would the mean. A similar situation exists for the values in each of the columns in this dataset, which is why I used StandardScaler.

Algorithm Questions

Why is LightGBM faster than Decision Trees for this model? Unlike other tree-based algorithms that grow horizontally, LightGBM grows vertically. This means that LightGBM grows leafwise while other tree-based algorithms grow level-wise. Leaf-wise growth can reduce more loss than level-wise growth.

What's the point of gradient boosting? Gradient boosting keeps overfitting in check and combines results along the way, increasing accuracy.

Will LightGBM be as efficient in bigger or smaller datasets? In smaller datasets, LightGBM may lead to overfitting, as it is optimized for bigger and heavier dataloads. This also means that LightGBM would be able to handle heavier workloads in such models.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.