Giter VIP home page Giter VIP logo

ml-final-project's Introduction

ML-Final-Project

Final Project Machine Learning

Problem Statement

The main idea of the project is to classify whether a statement is sexist, not sexist or neutral. The main motivation is to identify the sexist statements that are commonly observed in workspaces. In the project we are trying to classify these statements using various ML algorithm and parallely comparing which algorithm gives the best accuracy.

Dataset

The dataset is obtained from kaggle and contains classified data on sexist and not sexist statementsf

Preprocessing

In the preprocessing step we cleaned the data and removed missing values. Then we used BOW(bag of words) and TF-IDF(Term frequency inverse document frequence) for feature extraction and finally trained models on the obtained preprocessed data.

Models

  1. Logistic Regression on BOW and TF-IDF
  2. Naive Bayes on TF-IDF Data
  3. Random Fprest on TF-IDF Data
  4. SVM with various kernels on TF-IDF Data

Requirments

  1. matplotlib==3.2.0
  2. seaborn==0.10.0
  3. nltk==3.5
  4. numpy==1.17.4
  5. pandas==0.25.3
  6. scikit_learn==1.0.1

How to Run

Download the ipynb file and load the dataset folder. Then run each cell to obtain output

ml-final-project's People

Contributors

vahsek300501 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.