Gaussian Process Regression
Inspect a rolling regression curve and model projection.
ローリング回帰曲線とモデルによる延長線を研究。
Open code — free email verificationメール確認してコードを開く(無料)
What it does
仕組みと使い道
Uses an RBF kernel, a pseudoinverse and a rolling vector of demeaned closes. It redraws the fitted and projected polylines as new bars arrive.
RBFカーネル、擬似逆行列、平均を引いた終値の配列で計算します。新しい足ごとに回帰線と予測線を描き直します。
Settings to understand first
最初に確認する設定
Start with a positive lookback, the default 100 bars and 30-bar horizon. Length Scale controls smoothness; noise input is squared in the matrix.
参照期間はゼロにせず、まず初期値100本・予測30本を使用。Length Scaleは滑らかさに関わり、noise入力は行列内で二乗されます。
What to watch out for
注意点と制約
Redrawn historical fits are not historical trading signals. Projection is not forecast accuracy evidence. Zero lookback and very large matrices can fail.
描き直された過去の曲線は当時の売買シグナルではありません。延長線が当たる証拠にはならず、参照期間ゼロや過大な行列はエラー要因です。
Install, inspect, then test
導入から検証まで
- Download the source-and-license ZIP and extract it. Keep LICENSE.txt with the source when you share a copy.
- Open a TradingView chart, open Pine Editor, and create a blank script. Paste the chosen Pine source, preserving its version line. The .ps files in this collection are Pine Script examples, not PowerShell programs.
- Save and use Add to chart. For Pine v3/v4 code, try the original version first; use TradingView’s official migration tools sequentially if conversion is necessary. Compilation has not been performed by BSV.
- Open Inputs and Style. Reproduce a small historical example, then use replay and an isolated paper workflow to observe how the current bar changes. A plotted indicator does not automatically place orders.
- ソースとライセンスのZIPを取得して展開します。再配布する際はLICENSE.txtを原本と一緒に保持します。
- TradingViewのチャートでPineエディタを開き、空のスクリプトへ貼り付けます。先頭のバージョン指定を残します。このライブラリの.psはPine Scriptで、PowerShell用ではありません。
- 保存してチャートに追加します。Pine v3/v4はまず原版のまま確認し、変換が必要なら公式の移行機能で段階的に移行します。BSVではコンパイルを実施していません。
- 入力とスタイルを設定し、小さな過去例を再現します。リプレイと隔離したペーパー環境で未確定バーの変化を観察します。インジケーターの表示だけで自動発注されるわけではありません。
Verification scope
確認の範囲
| Check確認項目 | Status状態 |
|---|---|
| Source provenance and license出典とライセンス | Pinned original and license text checked固定版の原本とライセンス原文を確認 |
| Source byte equality原本とのバイト一致 | Git blob SHA1 and SHA256 recordedGit blob SHA1とSHA256を記録 |
| Compilationコンパイル | Not performed未実施 |
| Backtest / demo / live runバックテスト・デモ・実運用 | Not performed未実施 |
| DLL / direct web request patternsDLL・直接Web通信のパターン | Not detected in these source files掲載ファイルの該当パターンは未検出 |
A pattern scan is not a complete security audit. Platform libraries and broker execution are outside this check.
パターン検査は完全な安全性監査ではありません。ターミナル標準ライブラリとブローカーでの実行は確認対象外です。
- Original author原作者
- James Bachini
- Licenseライセンス
- MIT
- Source version取得対象の版
6d14308f8ce42b2d60ec6c80eb224e8f4ffb3a79- Checked確認日
- 2026-10-01
- Evidence出典
- Machine-readable provenance出典・ハッシュの記録