Giter Site home page Giter Site logo

psi's Introduction

PSI

Population stability index

The idea behind the PSI is to check whether distribution of some attributes, which you used in the model has changed or not. For example, if you constructed your model in February and used income as a feature in your model, when you are ready to apply it in March, you have to know would the distribution of the income be the same or not. What if something has dramatically changed? Changes can be caused by some database flaws or some external problems like economics or politics. But it is better to know about them before applying your model to the real customers.

To solve these questions, you can calculate PSI. You need to take slices of data (February and March) and create a new attribute, which will contain all data, for each observation in February as (x1, ..., xn), where you have n observations, and all data for March as (y1, ..., yn). You will get new attribute (x1, ..., xn, y1, ..., yn) and then you need to create artificial variable z which will be 1 for February and 0 for March. After that you can calculate Information Value, which in this context will show you how good is the separation is between zeros and ones. With that information you can understand if your data has changed significantly or slightly.

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.