Code Monkey home page Code Monkey logo

data-preprocessing-template's Introduction

Data-Preprocessing-Template

This repository includes all the Data Preprocessing required before using a dataset on a Machine Learning Model.


This template might need some minor changes working with some other dataset. This code works fine with the given Data.csv file. Therefore, it is recommended to understand what this code does to use it for your own Machine Learning Models.


Libraries Used :

  • Numpy
  • Pandas
  • Matplotlib (imported but not used in Data Preprocessing anywhere in this template)
  • Scikit-Learn

When to use which template :

There are 4 templates given in this repository and you need to choose which one to use in your situation, depending on the context.

  • data_preprocessing_template.py : You can use this for all Machine Learning models(of course after those minor changes according to your dataset) and this is the most basic and simple template and the bare minimum you will need.

  • missing_data_template.py : You should use this when your training data has some missing values. Again, you will need mimnor changes depending upon your training data.

  • categorical_data_template.py : Use this whenever you have categorical data. For example, in this Data.csv, you have Countries as a Categorical Data.

  • categorical_and_missing_data_template.py : Use this when you have both Categorical and missing data in your dataset.

data-preprocessing-template's People

Contributors

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