SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1410.1231 · 2014

Bayesian regression and Bitcoin

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 3 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/1410.1231.json · badge: /api/ran/1410.1231.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
stavros0/bitcoin-price-prediction reimplementation (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
akashsrikanth2310/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression- reimplementation (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
shawnrajan7/Bayesian-Regression-and-Bitcoin reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
prmody96/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression reimplementation (classifier label)
classifier basis: classifier_2025
1 ran · 1 no recorded run
raveenaaa/BitcoinPricing reimplementation (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
sabsgeo/crypto-trading-bot community (classifier label)
classifier basis not recorded on the link
0 ran · 2 no recorded run
FunctionStatusWhere it lives
choose_effective_centers Ran
ran; our contract draft was wrong, not the code
stavros0/bitcoin-price-prediction/bitcoin_price_prediction/bayesian_regression.py
code served (permissive licence) · get_code("1402942d0885b747")
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) and returned ndarray, ndim 2, dtype family float, shape (3, 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

# Create sample cluster centers
# Shape: (num_clusters, num_features)
# Using distinct dimensions: 6 clusters, 4 features
centers = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0],
    [2.0, 2.5, 3.5, 4.5],
    [10.0, 11.0, 12.0, 13.0],
    [1.5, 1.8, 2.2, 2.5],
    [20.0, 21.0, 22.0, 23.0],
], dtype=np.float32)

# Number of effective centers to choose
n = 3

ARGS = {
    "centers": centers,
    "n": n,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 2, dtype family float, shape (3, 4) — shape (3, 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
computeDelta Ran
ran; our contract draft was wrong, not the code
shawnrajan7/Bayesian-Regression-and-Bitcoin/bitcoin.py
pointer only (licence: NONE) · get_code("eb40608f370c62c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shawnrajan7/Bayesian-Regression-and-Bitcoin 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.

computeDelta Ran
ran; our contract draft was wrong, not the code
raveenaaa/BitcoinPricing/bitcoin.py
pointer only (licence: NONE) · get_code("3bc96df115ad2b9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, raveenaaa/BitcoinPricing 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.

findMean Ran
ran, honoured the contract we drafted
akashsrikanth2310/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression-/bitcoin.py
pointer only (licence: NONE) · get_code("396d865c150550af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, akashsrikanth2310/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression- 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.

findStd Ran
ran, honoured the contract we drafted
akashsrikanth2310/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression-/bitcoin.py
pointer only (licence: NONE) · get_code("f74e8b4b084db3b7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, akashsrikanth2310/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression- 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.

findTheSimilarityValues Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akashsrikanth2310/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression-/bitcoin.py
pointer only (licence: NONE) · get_code("3596eba818752a48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, akashsrikanth2310/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression- 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.

find_cluster_centers Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
stavros0/bitcoin-price-prediction/bitcoin_price_prediction/bayesian_regression.py
code served (permissive licence) · get_code("b9dd41be3c7a35f3")
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) and returned ndarray, ndim 2, dtype family float, shape (2, 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 sklearn.cluster import KMeans

# Create a small 2D timeseries array
# Shape: (num_samples, num_features)
# Using distinct dimensions: 5 samples, 3 features
timeseries = np.array([
    [1.0, 2.0, 3.0],
    [1.5, 2.5, 3.5],
    [5.0, 6.0, 7.0],
    [5.5, 6.5, 7.5],
    [10.0, 11.0, 12.0]
], dtype=np.float64)

k = 2

ARGS = {
    "timeseries": timeseries,
    "k": k
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, sklearn — 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 (2, 3) — shape (2, 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
generate_timeseries Ran
ran; our contract draft was wrong, not the code
stavros0/bitcoin-price-prediction/bitcoin_price_prediction/bayesian_regression.py
code served (permissive licence) · get_code("161a2eb75063855d")
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) and returned ndarray, ndim 2, dtype family float, shape (20, 181) 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 small price array with enough data points
# For n=180, we need at least 181 price points
# Let's create 200 price points to have a reasonable number of time series
prices = np.array([100.0 + i * 0.5 + np.sin(i * 0.1) for i in range(200)], dtype=np.float32)

# Use n=180 as one of the valid options
n = 180

ARGS = {
    "prices": prices,
    "n": n,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 2, dtype family float, shape (20, 181) — shape (20, 181) 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
similarity Ran
ran, violated the contract we drafted
shawnrajan7/Bayesian-Regression-and-Bitcoin/bitcoin.py
pointer only (licence: NONE) · get_code("408e49df96405fae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shawnrajan7/Bayesian-Regression-and-Bitcoin 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.

similarity Ran
ran; our contract draft was wrong, not the code
prmody96/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression/bitcoin.py
pointer only (licence: NONE) · get_code("8582898b7905fbc6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, prmody96/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression 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.

calc_support_and_resistance Not yet run
unverified (harvested, no recorded run)
sabsgeo/crypto-trading-bot/sentimentalmarket/algorithms/trending_lines.py
code served (permissive licence) · get_code("e26e3994b72e9e6f")
How it ran

no invocation recorded.

calc_vwap Not yet run
unverified (harvested, no recorded run)
sabsgeo/crypto-trading-bot/sentimentalmarket/algorithms/technical_indicators.py
code served (permissive licence) · get_code("9a4797bb7ff7584d")
How it ran

no invocation recorded.

computeDelta Not yet run
unverified (harvested, no recorded run)
prmody96/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression/bitcoin.py
pointer only (licence: NONE) · get_code("6af741a51af070df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, prmody96/Predicting-Bitcoin-Price-Variations-using-Bayesian-Regression 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. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 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 13 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-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

In this paper, we discuss the method of Bayesian regression and its efficacy for predicting price variation of Bitcoin, a recently popularized virtual, cryptographic currency. Bayesian regression refers to utilizing empirical data as proxy to perform Bayesian inference. We utilize Bayesian regression for the so-called "latent source model". The Bayesian regression for "latent source model" was introduced and discussed by Chen, Nikolov and Shah (2013) and Bresler, Chen and Shah (2014) for the purpose of binary classification. They established theoretical as well as empirical efficacy of the method for the setting of binary classification. In this paper, instead we utilize it for predicting real-valued quantity, the price of Bitcoin. Based on this price prediction method, we devise a simple strategy for trading Bitcoin. The strategy is able to nearly double the investment in less than 60 day period when run against real data trace.

For agents

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

get_harvested_code_for_paper("1410.1231")
get_code_for_paper("1410.1231")
have("1410.1231")

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

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

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

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

Connect an agent — have() is free.