SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 0809.2932 · 2008

Stability Selection

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 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 10 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-21; 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/0809.2932.json · badge: /api/ran/0809.2932.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
skggm/skggm community (classifier label)
classifier basis not recorded on the link
10 ran · 1 no recorded run
FunctionStatusWhere it lives
blocks Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/profiling/graphs.py
code served (permissive licence) · get_code("aa22aa46064e9ebd")
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 2, dtype family float, shape (8, 8) 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 scipy as sp

# Create a simple PRNG (np.random.RandomState)
prng = np.random.RandomState(seed=42)

# Create a small block matrix (4x4) to use as the prototype
block = np.array([
    [0.0, -0.2, 0.1, -0.15],
    [-0.2, 0.0, -0.25, 0.1],
    [0.1, -0.25, 0.0, -0.2],
    [-0.15, 0.1, -0.2, 0.0]
], dtype=np.float64)

ARGS = {
    'prng': prng,
    'block': block,
    'n_blocks': 2,
    'chain_blocks': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (8, 8) — shape (8, 8) 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
kendalltau_correlation Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/rank_correlation.py
code served (permissive licence) · get_code("663d193ecd360b27")
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 2, dtype family float, shape (3, 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
from scipy.stats import rankdata, kendalltau, weightedtau

# Create a small data matrix for testing
# Shape: [n_samples=5, n_features=3]
np.random.seed(42)
X = np.random.randn(5, 3)

ARGS = {
    "X": X,
    "rowvar": False,
    "weighted": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 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
kl_loss Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/metrics.py
code served (permissive licence) · get_code("8f50eaddab929773")
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
from sklearn.utils.extmath import fast_logdet

# Set random seed for reproducibility
np.random.seed(0)

# Create small symmetric positive definite matrices for testing
n_features = 4

# Generate a random matrix and make it symmetric positive definite
random_matrix = np.random.randn(n_features, n_features)
covariance = np.dot(random_matrix, random_matrix.T) + np.eye(n_features)

# Generate another random symmetric positive definite matrix for precision
random_matrix2 = np.random.randn(n_features, n_features)
precision = np.dot(random_matrix2, random_matrix2.T) + np.eye(n_features)

ARGS = {
    "covariance": covariance,
    "precision": precision,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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
lattice Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/profiling/graphs.py
code served (permissive licence) · get_code("475701912a8663e9")
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 2, dtype family float, shape (8, 8) 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 scipy as sp

# Create a random number generator
prng = np.random.RandomState(seed=42)

# Define parameters
n_features = 8
alpha = 0.5
random_sign = True
low = 0.3
high = 0.7

ARGS = {
    'prng': prng,
    'n_features': n_features,
    'alpha': alpha,
    'random_sign': random_sign,
    'low': low,
    'high': high
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (8, 8) — shape (8, 8) 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
log_likelihood Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/metrics.py
code served (permissive licence) · get_code("08120adf1975e2b1")
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

# Set random seed for reproducibility
np.random.seed(0)

# Create small square matrices for covariance and precision
n_features = 4

# Generate a random positive definite matrix for covariance
# by creating A @ A.T where A is random
A = np.random.randn(n_features, n_features)
covariance = A @ A.T

# Generate a random positive definite matrix for precision
# by creating B @ B.T where B is random
B = np.random.randn(n_features, n_features)
precision = B @ B.T

ARGS = {
    "covariance": covariance,
    "precision": precision,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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
quadratic_loss Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/metrics.py
code served (permissive licence) · get_code("a270650f52f0b50e")
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

# Create small valid matrices for the function
np.random.seed(0)

n_features = 4

# Create a covariance matrix (symmetric positive definite)
# Start with a random matrix and make it symmetric positive definite
A = np.random.randn(n_features, n_features)
covariance = np.dot(A, A.T)

# Create a precision matrix (symmetric positive definite)
B = np.random.randn(n_features, n_features)
precision = np.dot(B, B.T)

ARGS = {
    "covariance": covariance,
    "precision": precision,
}
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 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
spearman_correlation Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/rank_correlation.py
code served (permissive licence) · get_code("ea522c54746139b4")
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 2, dtype family float, shape (3, 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

# Create a simple data matrix with distinct dimensions
# n_samples=5, n_features=3
X = np.array([
    [1.2, 4.5, 2.1],
    [2.3, 3.2, 5.6],
    [3.1, 5.8, 1.9],
    [4.5, 2.1, 4.3],
    [5.2, 4.9, 3.2]
], dtype=np.float64)

ARGS = {
    "X": X,
    "rowvar": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 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
support_difference_count Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/profiling/metrics.py
code served (permissive licence) · get_code("7040d2cac0312e51")
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 int, ndim 0, dtype family int, shape () 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

# Create two small square matrices with some nonzero elements
# The function expects 2D numpy arrays representing adjacency/connection matrices
n_features = 4

# Create matrix m with some nonzero off-diagonal elements
m = np.array([
    [0.0, 1.5, 0.0, 2.1],
    [1.5, 0.0, 0.8, 0.0],
    [0.0, 0.8, 0.0, 1.2],
    [2.1, 0.0, 1.2, 0.0]
], dtype=np.float32)

# Create matrix m_hat with some overlapping and different nonzero elements
m_hat = np.array([
    [0.0, 1.5, 1.1, 0.0],
    [1.5, 0.0, 0.0, 0.9],
    [1.1, 0.0, 0.0, 1.2],
    [0.0, 0.9, 1.2, 0.0]
], dtype=np.float32)

ARGS = {
    "m": m,
    "m_hat": m_hat
}
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 int, ndim 0, dtype family int, shape () — shape () 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
support_false_negative_count Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/profiling/metrics.py
code served (permissive licence) · get_code("9b2512ecfa94c293")
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 int, ndim 0, dtype family int, shape () 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

# Create two small square matrices representing network structures
# m: ground truth adjacency matrix
# m_hat: estimated adjacency matrix

np.random.seed(0)

# Create a 4x4 matrix with some nonzero elements (excluding diagonal)
m = np.array([
    [0, 1, 0, 1],
    [1, 0, 1, 0],
    [0, 1, 0, 1],
    [1, 0, 1, 0]
], dtype=float)

# Create a 4x4 matrix with some overlapping nonzero elements
m_hat = np.array([
    [0, 1, 1, 0],
    [1, 0, 0, 1],
    [1, 0, 0, 1],
    [0, 1, 1, 0]
], dtype=float)

ARGS = {
    "m": m,
    "m_hat": m_hat
}
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 int, ndim 0, dtype family int, shape () — shape () 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
support_false_positive_count Ran
ran on a synthesized input
skggm/skggm/inverse_covariance/profiling/metrics.py
code served (permissive licence) · get_code("aa8be951db1432ae")
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 int, ndim 0, dtype family int, shape () 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

# Create two square matrices with some nonzero elements
# m is the "true" support matrix
m = np.array([
    [1.0, 0.5, 0.0, 0.0],
    [0.5, 2.0, 0.3, 0.0],
    [0.0, 0.3, 3.0, 0.2],
    [0.0, 0.0, 0.2, 4.0]
], dtype=np.float64)

# m_hat is the "estimated" support matrix with some false positives
m_hat = np.array([
    [1.0, 0.5, 0.1, 0.0],
    [0.5, 2.0, 0.3, 0.4],
    [0.1, 0.3, 3.0, 0.2],
    [0.0, 0.4, 0.2, 4.0]
], dtype=np.float64)

ARGS = {
    "m": m,
    "m_hat": m_hat
}
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 int, ndim 0, dtype family int, shape () — shape () 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
r_input Not yet run
unverified (harvested, no recorded run)
skggm/skggm/inverse_covariance/plot_util.py
code served (permissive licence) · get_code("bac1752eb0e1018f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 11 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.

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

Repositories linked to this paper

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

Abstract

Estimation of structure, such as in variable selection, graphical modelling or cluster analysis is notoriously difficult, especially for high-dimensional data. We introduce stability selection. It is based on subsampling in combination with (high-dimensional) selection algorithms. As such, the method is extremely general and has a very wide range of applicability. Stability selection provides finite sample control for some error rates of false discoveries and hence a transparent principle to choose a proper amount of regularisation for structure estimation. Variable selection and structure estimation improve markedly for a range of selection methods if stability selection is applied. We prove for randomised Lasso that stability selection will be variable selection consistent even if the necessary conditions needed for consistency of the original Lasso method are violated. We demonstrate stability selection for variable selection and Gaussian graphical modelling, using real and simulated data.

For agents

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

get_harvested_code_for_paper("0809.2932")
get_code_for_paper("0809.2932")
have("0809.2932")

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

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

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

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

Connect an agent — have() is free.