Coder Social home page Coder Social logo

hariprasath-v / machinehack-data-centric-ai-competition-2023 Goto Github PK

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

Build machine learning model to predict the character of each image.

License: Apache License 2.0

HTML 53.74% Jupyter Notebook 46.26%
cleanlab exploratory-data-analysis image-classification machine-learning mnist python pytorch skorch

machinehack-data-centric-ai-competition-2023's Introduction

Machinehack-Data-Centric-AI-Competition-2023

Public Leaderboard

  • Rank : 15
  • Score : 0.96096

Private Leaderboard

  • Rank : 16
  • Score : 0.96096

Competition hosted on Machinehack

Problem

Build machine learning model to predict the character of each image..

Evaluation

Evaluation metric for this competition is accuracy.

Dataset

You can download the dataset here

Solution

Exploratory Data Analysis

The basic exploratory data analysis of the data,

  • Basic image meta data analysis
  • Image similarity analysis

The above analysis had done by using,

  • cv2
  • Image
  • numpy
  • seaborn
  • matplotlib
  • pandas

Model

The train dataset contains miss labeled images, the incorrectly labeled images are identified by using ,

  • Simple pytorch convolutional neural network
  • Skorch - Scikit-Learn compatible neural network library
  • Cleanlab - No code library to fix the errors in dataset

The simple CNN model run 4 iterations(50 epochs/iteration) and cross-validated on 10-kfold split train dataset.In each iteration, the actual label and the predicted probability for the labels are compared by using the find_label_issue function from cleanlab tool.Then, based on the self-confidence level the miss labeled images are collected.

Incorrect Label Image sample

Numbers

Alt text

Letters

Alt text

After removing 2834 miss labeled images from the train dataset, the cleaned data was trained with KNN classifier model with 1 nearest neighbor.

KNN model gives good accuracy(0.8995) on validation data.

ROC-AUC Score

Alt text

True Positive Rate

Alt text

Test Prediction

Numbers

Alt text

Letters

Alt text

File Information

data-centric-ai-competition-2023-image-data-eda.ipynbOpen in Kaggle

data-centric-ai-competition-2023-image-data-model.ipynbOpen in Kaggle

machinehack-data-centric-ai-competition-2023's People

Contributors

hariprasath-v avatar

Watchers

 avatar

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.