SynthesizeMissingValues

SynthesizeMissingValues[{example1,example2,}]

replaces missing values in each example by generated values.

SynthesizeMissingValues[dist,data]

uses the distribution dist to generate values.

Details and Options

  • SynthesizeMissingValues can be used on many types of data, including numerical, nominal and images.
  • Each examplei can be a single data element, a list of data elements or an association of data elements. Examples can also be given as a Dataset object.
  • The following options can be given:
  • FeatureNamesAutomaticfeature names to assign for input data
    FeatureTypesAutomaticfeature types to assume for input data
    MethodAutomaticwhich modeling algorithm to use
    MissingValuePattern_Missing|Indeterminatethe pattern of the assumed missing values
    PerformanceGoalAutomaticaspects of performance to optimize
    RandomSeeding1234what seeding of pseudorandom generators should be done internally
    TimeGoalAutomatichow long to spend for training
    TrainingProgressReportingAutomatichow to report progress during training
    ValidationSetAutomaticthe set of data on which to evaluate the model during training
  • Possible settings for PerformanceGoal include:
  • "Quality"maximize the synthesis quality
    "Speed"maximize the synthesis speed
    Automaticautomatic tradeoff between speed and quality
  • Possible settings for Method are as given in LearnDistribution[].
  • In the form Methodassoc, the association assoc can have elements:
  • "LearningMethod"method for learning the probability distribution
    "EvaluationStrategy"how to synthesize from the distribution
  • Possible settings for method element "EvaluationStrategy" include:
  • "RandomSampling"randomly sample from the conditioned distribution (default)
    "ModeFinding"attempt to find the mode of the conditioned distribution
  • The following settings for TrainingProgressReporting can be used:
  • "Panel"show a dynamically updating graphical panel
    "Print"periodically report information using Print
    "ProgressIndicator"show a simple ProgressIndicator
    "SimplePanel"dynamically updating panel without learning curves
    Nonedo not report any information
  • Possible settings for RandomSeeding include:
  • Automaticautomatically reseed every time the function is called
    Inheriteduse externally seeded random numbers
    seeduse an explicit integer or strings as a seed
  • SynthesizeMissingValues[,FeatureExtractor"Minimal"] indicates that the internal preprocessing should be as simple as possible.

Examples

open all close all

Basic Examples  (2)

Fill in missing values in a numeric dataset:

In[1]:=
Click for copyable input
Out[1]=

Train a distribution on a two-dimensional dataset:

In[1]:=
Click for copyable input
Out[1]=

Fill in missing values based on the learned distribution:

In[2]:=
Click for copyable input
Out[2]=

Scope  (1)

Options  (6)

Applications  (2)

Introduced in 2019
(12.0)