SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.07769 · 2022

HyperImpute: Generalized Iterative Imputation with Automatic Model Selection

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2206.07769.json · badge: /api/ran/2206.07769.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
vanderschaarlab/hyperimpute canonical (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
FunctionStatusWhere it lives
create_log_and_print_function Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/hyperimpute/src/hyperimpute/logger.py
pointer only (licence: MIT); the stored copy get_code serves, from QiyaoWei/Expertise, is pointer only (licence: NONE) · get_code("4c35427d43331cd0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QiyaoWei/Expertise, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

evaluate_wnd Ran
ran on a synthesized input
vanderschaarlab/hyperimpute/src/hyperimpute/utils/metrics.py
code served (permissive licence) · get_code("c35df71bdfe5395e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd
from scipy.stats import wasserstein_distance

# Create sample DataFrames for imputed and ground truth data
# Using small, distinct dimensions: 5 rows x 3 columns
np.random.seed(0)

ground_data = np.random.randn(5, 3).astype(np.float32)
imputed_data = np.random.randn(5, 3).astype(np.float32)

ground_df = pd.DataFrame(ground_data, columns=['col0', 'col1', 'col2'])
imputed_df = pd.DataFrame(imputed_data, columns=['col0', 'col1', 'col2'])

ARGS = {
    'imputed': imputed_df,
    'ground': ground_df,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_y_pred_proba_hlpr Ran
ran on a synthesized input
vanderschaarlab/hyperimpute/src/hyperimpute/utils/metrics.py
code served (permissive licence) · get_code("b7b8440139169459")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Test case 1: tuple input
y_pred_proba_tuple = (np.array([0.1, 0.2, 0.3]), np.array([0.9, 0.8, 0.7]))
nclasses_1 = 3

# Test case 2: 1D array with nclasses <= 2
y_pred_proba_1d = np.array([0.3, 0.7, 0.4, 0.6])
nclasses_2 = 2

# Test case 3: 2D array with nclasses <= 2
y_pred_proba_2d = np.array([[0.3, 0.7], [0.4, 0.6], [0.2, 0.8], [0.5, 0.5]])
nclasses_3 = 2

# Test case 4: 2D array with nclasses > 2
y_pred_proba_multiclass = np.array([[0.1, 0.2, 0.7], [0.3, 0.5, 0.2], [0.6, 0.2, 0.2], [0.1, 0.1, 0.8]])
nclasses_4 = 3

# Using the first test case for ARGS
ARGS = {
    "y_pred_proba": y_pred_proba_tuple,
    "nclasses": nclasses_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (3,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
one_hot_encoder Ran
ran on a synthesized input
vanderschaarlab/hyperimpute/src/hyperimpute/utils/torch.py
code served (permissive licence) · get_code("2dce2ec30a5e1389")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family int, shape (6, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch

torch.manual_seed(0)

# The function takes an np.ndarray and converts it to one-hot encoded torch.Tensor
# The array contains integer indices that get one-hot encoded
# n_values is determined by max(arr) + 1, so we need indices from 0 to some value

# Create a small numpy array with integer indices
arr = np.array([0, 1, 2, 1, 0, 3])

ARGS = {
    "arr": arr
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family int, shape (6, 4) — shape (6, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
optimize_floats Ran
ran on a synthesized input
vanderschaarlab/hyperimpute/src/hyperimpute/utils/pandas.py
code served (permissive licence) · get_code("43e0492f8453e8bf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np

# Create a small DataFrame with float64 columns
np.random.seed(0)
df = pd.DataFrame({
    'col1': np.array([1.5, 2.7, 3.2], dtype='float64'),
    'col2': np.array([4.1, 5.9, 6.3], dtype='float64'),
    'col3': np.array([1, 2, 3], dtype='int64'),  # non-float column
    'col4': np.array(['a', 'b', 'c'], dtype='object')  # non-float column
})

ARGS = {
    'df': df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
optimize_ints Ran
ran on a synthesized input
vanderschaarlab/hyperimpute/src/hyperimpute/utils/pandas.py
code served (permissive licence) · get_code("2f1c9a694ef95724")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np

# Create a small DataFrame with various integer types
df = pd.DataFrame({
    'col_int64_1': np.array([1, 2, 3], dtype='int64'),
    'col_int64_2': np.array([100, 200, 300], dtype='int64'),
    'col_float': np.array([1.5, 2.5, 3.5], dtype='float64'),
    'col_string': ['a', 'b', 'c']
})

ARGS = {
    'df': df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
optimize_objects Ran
ran on a synthesized input
vanderschaarlab/hyperimpute/src/hyperimpute/utils/pandas.py
code served (permissive licence) · get_code("e112fbf7f56d2645")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np

# Create a small DataFrame with object columns and mixed data types
df = pd.DataFrame({
    'col1': ['a', 'b', 'a', 'b', 'a', 'b', 'a', 'b'],  # 2 unique out of 8 (25% < 50%)
    'col2': ['x', 'y', 'z', 'w', 'v', 'u', 't', 's'],  # 8 unique out of 8 (100% >= 50%)
    'col3': ['2023-01-01', '2023-01-02', '2023-01-03', '2023-01-04', 
             '2023-01-05', '2023-01-06', '2023-01-07', '2023-01-08'],  # datetime
    'col4': [1, 2, 3, 4, 5, 6, 7, 8],  # numeric, not object
})

# Convert to object dtype
df['col1'] = df['col1'].astype('object')
df['col2'] = df['col2'].astype('object')
df['col3'] = df['col3'].astype('object')

datetime_features = ['col3']

ARGS = {
    'df': df,
    'datetime_features': datetime_features,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
scale_data Ran
ran on a synthesized input
vanderschaarlab/hyperimpute/src/hyperimpute/utils/benchmarks.py
code served (permissive licence) · get_code("77f3de31b9220144")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np
from sklearn.preprocessing import MinMaxScaler

# Create a small sample DataFrame with numeric data
np.random.seed(0)
X = pd.DataFrame(
    np.random.randn(2, 4),
    columns=['col_a', 'col_b', 'col_c', 'col_d']
)

ARGS = {
    'X': X
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, pydantic, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
score_classification_model Not yet run
unverified (harvested, no recorded run)
vanderschaarlab/hyperimpute/src/hyperimpute/utils/tester.py
code served (permissive licence) · get_code("a86f39cf2dde7d8f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
create_log_and_print_function 8 other papers
3 dated earlier, 5 later
1806.02920 (2018-06)
GAIN: Missing Data Imputation using Generative Adversarial Nets
2110.12884 (2021-10)
DECAF: Generating Fair Synthetic Data Using Causally-Aware Generative Networks
2111.03187 (2021-11)
MIRACLE: Causally-Aware Imputation via Learning Missing Data Mechanisms
and 5 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Consider the problem of imputing missing values in a dataset. One the one hand, conventional approaches using iterative imputation benefit from the simplicity and customizability of learning conditional distributions directly, but suffer from the practical requirement for appropriate model specification of each and every variable. On the other hand, recent methods using deep generative modeling benefit from the capacity and efficiency of learning with neural network function approximators, but are often difficult to optimize and rely on stronger data assumptions. In this work, we study an approach that marries the advantages of both: We propose *HyperImpute*, a generalized iterative imputation framework for adaptively and automatically configuring column-wise models and their hyperparameters. Practically, we provide a concrete implementation with out-of-the-box learners, optimizers, simulators, and extensible interfaces. Empirically, we investigate this framework via comprehensive experiments and sensitivities on a variety of public datasets, and demonstrate its ability to generate accurate imputations relative to a strong suite of benchmarks. Contrary to recent work, we believe our findings constitute a strong defense of the iterative imputation paradigm.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2206.07769")
get_code_for_paper("2206.07769")
have("2206.07769")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2206.07769.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2206.07769.svg)](https://syntology.ai/paper/2206.07769)

Connect an agent — have() is free.