Git Product home page Git Product logo

chi-square-test---feature-selection's Introduction

Chi-Square-Test---Feature-Selection

Categorical Feature Selection using Chi Square Test

Features in a machine learning model are columns that describes the characteristics of targets to be measured e.g age, sex, weight, level of education, years of work experience, home address are all features used in describing an individual.

Feature Selection is a process which involves reducing the input variables needed in a model by using only relevant data and getting rid of those variables that add little or no information. From the example above, weight and home address should probably not be used in a model that tries to determine an individual's salary. This process simplifies the model, reduces training time, avoid overfitting, and also helps data scientsits avoid the curse of dimensionality

There are generally 2 types of features in a machine learning model.

Numerical Features which are quantitative variables that carries a sense of magnitude related to the context of the variable which are measurable in numbers e.g Age, Height, Salary

Categorical Features which are qualitative variabless which maybe assigned based on particular qualities e.g Sex, Location, Department, Marital Status

These different feature types have different selection techniques. Pearson's Correlation rank and Chi-Square Test for Categorical features. The rest of this exercise is going to be spent applying the Chi-Square feature selection technique on categorical variables of a dataset

chi-square-test---feature-selection's People

Contributors

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