Giter VIP home page Giter VIP logo

binary-classifier's Introduction

Binary Classifier

This project focuses on performing binary classification on a dataset with 1000 points, 12 features, and labels of 1 or -1 for each point. The goal is to compare the performance of simple models to complex models using ROC diagrams and AUC scores and identify the best model.

Requirements

  • Python 3.11.4
  • Libraries listed in requirements.txt

Installation

  1. Clone the repository:
git clone https://github.com/alirezadamash/binary-classifier.git
  1. Navigate to the project directory:
cd binary-classifier
  1. Install the required libraries:
pip install -r requirements.txt

Usage

  1. Place your dataset in a CSV file named data.csv in the project directory.

  2. Run the main script:

python models.py
  1. The ROC curve will be displayed, comparing the performance of several models. The model with the highest AUC score is considered the best.

Dataset

The dataset used in this project contains 1000 points with 12 features. The labels are binary, with values of 1 or -1 for each point.

Models

The following models are evaluated in this project:

  • Logistic Regression
  • Support Vecror Machine
  • Decision Tree
  • Random Forest
  • Gradient Boosting

Results

The performance of each model is compared using ROC diagrams and AUC scores. The model with the highest AUC score is considered the best.

binary-classifier's People

Contributors

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