IP Library › Granted Patent US 9,443,194
Granted Patent B2
US 9,443,194 · App. 13/445,796 · Granted Sep 13, 2016

Missing value imputation for predictive models

Inventors: Yea J. Chu (Chicago, IL); Sier Han (Xi'an, CN); Jing-Yun Shyr (Naperville, IL); Jing Xu (Xi'an, CN)
Assignee: International Business Machines Corporation
G06N5/025G06N99/005G06F15/18G06N5/04
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,443,194
App. No.
13/445,796
Granted
Sep 13, 2016
Kind
B2
Abstract

Provided are techniques for imputing a missing value for each of one or more predictor variables. Data is received from one or more data sources. For each of the one or more predictor variables, an imputation model is built based on information of a target variable; a type of imputation model to construct is determined based on the one or more data sources, a measurement level of the predictor variable, and a measurement level of the target variable; and the determined type of imputation model is constructed using basic statistics of the predictor variable and the target variable. The missing value is imputed for each of the one or more predictor variables using the data from the one or more data sources and one or more built imputation models to generate a completed data set.

Claims (99)

1. A method for imputing a missing value for each of one or more predictor variables, comprising:

with each mapper from a set of mappers that receives data from a different data source, building an imputation model based on information of a target variable and that data source;

with a reducer, randomly extracting validation samples from each different data source to create a global validation sample;

with each mapper, scoring the imputation model built at that mapper based on the global validation sample and the imputation model built at each other mapper;

with the reducer, selecting a top number of imputation models based on the scoring of each imputation model to form an ensemble model; and

with each mapper,

determining a type of imputation model to construct;

imputing the missing value for each of the one or more predictor variables using the data from each different data source, each ensemble model, and the determined type of imputation model to generate a completed data set; and

performing prediction, discovery, and interpretation of relationships between the target variable and the one or more predictor variables using the completed data set.

2. The method of claim 1 , wherein a measurement level comprises one of continuous and categorical.

3. The method of claim 1 , further comprising:

determining that a predictor variable is continuous and the target variable is continuous;

sorting records into data bins based on the predictor variable values;

collecting, for each of the data bins, statistics comprising a number of records, a mean of the predictor variable, a mean of the target variable, a variance of the target variable, and a covariance of the predictor variable and the target variable;

determining that the type of the imputation model is a piecewise linear regression imputation model;

and building the piecewise linear regression imputation model using the collected statistics.

4. The method of claim 1 , further comprising:

determining that a predictor variable is continuous and the target variable is categorical;

sorting records into data bins based on the predictor variable values;

collecting, for each category of the target variable and each of the data bins, statistics comprising a number of records and a mean of the predictor variable;

determining that the type of the imputation model is a robust conditional mean imputation model; and

building the robust conditional mean imputation model using the collected statistics.

5. The method of claim 1 , further comprising:

determining that a predictor variable is categorical and the target variable is continuous;

collecting, for each category of the predictor variable, statistics comprising a mean of the target variable and a variance of the target variable;

determining that the type of the imputation model is a minimum z-score category imputation model; and

building the minimum z-score category imputation model using the collected statistics.

6. The method of claim 1 , further comprising:

determining that a predictor variable is categorical and the target variable is categorical;

collecting, for each category combination of the predictor variable and the target variable, statistics comprising a number of records;

determining that the type of the imputation model is a conditional mode imputation model; and

building the conditional mode imputation model using the collected statistics.

7. The method of claim 1 , wherein software is provided as a service in a cloud environment.

8. A computer program product for imputing a missing value for each of one or more predictor variables, the computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therein, the computer readable program code, when executed by a processor of a computer, configured to perform:

with each mapper from a set of mappers that receives data from a different data source, building an imputation model based on information of a target variable and that data source;

with a reducer, randomly extracting validation samples from each different data source to create a global validation sample;

with each mapper, scoring the imputation model built at that mapper based on the global validation sample and the imputation model built at each other mapper;

with the reducer, selecting a top number of imputation models based on the scoring of each imputation model to form an ensemble model; and

with each mapper,

determining a type of imputation model to construct;

imputing the missing value for each of the one or more predictor variables using the data from each different data source, each ensemble model, and the determined type of imputation model to generate a completed data set; and

performing prediction, discovery, and interpretation of relationships between the target variable and the one or more predictor variables using the completed data set.

9. The computer program product of claim 8 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

determining that a predictor variable is continuous and the target variable is continuous;

sorting records into data bins based on the predictor variable values;

collecting, for each of the data bins, statistics comprising a number of records, a mean of the predictor variable, a mean of the target variable, a variance of the target variable, and a covariance of the predictor variable and the target variable;

determining that the type of the imputation model is a piecewise linear regression imputation model;

and building the piecewise linear regression imputation model using the collected statistics.

10. The computer program product of claim 8 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

determining that a predictor variable is continuous and the target variable is categorical;

sorting records into data bins based on the predictor variable values;

collecting, for each category of the target variable and each of the data bins, statistics comprising a number of records and a mean of the predictor variable;

determining that the type of the imputation model is a robust conditional mean imputation model; and

building the robust conditional mean imputation model using the collected statistics.

11. The computer program product of claim 8 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

determining that a predictor variable is categorical and the target variable is continuous;

collecting, for each category of the predictor variable, statistics comprising a mean of the target variable and a variance of the target variable;

determining that the type of the imputation model is a minimum z-score category imputation model; and

building the minimum z-score category imputation model using the collected statistics.

12. The computer program product of claim 8 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

determining that a predictor variable is categorical and the target variable is categorical;

collecting, for each category combination of the predictor variable and the target variable, statistics comprising a number of records;

determining that the type of the imputation model is a conditional mode imputation model; and

building the conditional mode imputation model using the collected statistics.

13. The computer program product of claim 8 , wherein software is provided as a service in a cloud environment.

14. A computer system for imputing a missing value for each of one or more predictor variables, comprising:

a processor; and

a storage device coupled to the processor, wherein the storage device has stored thereon a program, and wherein the processor is configured to execute the program to perform operations, wherein the operations comprise:

with each mapper from a set of mappers that receives data from a different data source, building an imputation model based on information of a target variable and that data source;

with a reducer, randomly extracting validation samples from each different data source to create a global validation sample;

with each mapper, scoring the imputation model built at that mapper based on the global validation sample and the imputation model built at each other mapper;

with the reducer, selecting a top number of imputation models based on the scoring of each imputation model to form an ensemble model; and

with each mapper,

determining a type of imputation model to construct;

imputing the missing value for each of the one or more predictor variables using the data from each different data source, each ensemble model, and the determined type of imputation model to generate a completed data set; and

performing prediction, discovery, and interpretation of relationships between the target variable and the one or more predictor variables using the completed data set.

15. The computer system of claim 14 , wherein the operations further comprise:

determining that a predictor variable is continuous and the target variable is continuous;

sorting records into data bins based on the predictor variable values;

collecting, for each of the data bins, statistics comprising a number of records, a mean of the predictor variable, a mean of the target variable, a variance of the target variable, and a covariance of the predictor variable and the target variable;

determining that the type of the imputation model is a piecewise linear regression imputation model;

and building the piecewise linear regression imputation model using the collected statistics.

16. The computer system of claim 14 , wherein the operations further comprise:

determining that a predictor variable is continuous and the target variable is categorical;

sorting records into data bins based on the predictor variable values;

collecting, for each category of the target variable and each of the data bins, statistics comprising a number of records and a mean of the predictor variable;

determining that the type of the imputation model is a robust conditional mean imputation model; and

building the robust conditional mean imputation model using the collected statistics.

17. The computer system of claim 14 , wherein the operations further comprise:

determining that a predictor variable is categorical and the target variable is continuous;

collecting, for each category of the predictor variable, statistics comprising a mean of the target variable and a variance of the target variable;

determining that the type of the imputation model is a minimum z-score category imputation model; and

building the minimum z-score category imputation model using the collected statistics.

18. The computer system of claim 14 , wherein the operations further comprise:

determining that a predictor variable is categorical and the target variable is categorical;

collecting, for each category combination of the predictor variable and the target variable, statistics comprising a number of records;

determining that the type of the imputation model is a conditional mode imputation model; and

building the conditional mode imputation model using the collected statistics.

19. The computer system of claim 14 , wherein software is provided as a service in a cloud environment.

Continuity (2)
Continuation 13403863 · Feb 23, 2012
Related Publication 20130226842A1 · Aug 29, 2013