Skip to content

Commit c9e7b35

Browse files
committed
Update example.
1 parent 32ec6d6 commit c9e7b35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_examples/osu-run1-bgplvm.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h2 id="osu-run-1-motion-capture-data-with-bayesian-gp-lvm">OSU Run 1 Motion Cap
9494
<span id="cb11-2"><a href="#cb11-2" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> GPy.models <span class="im">import</span> BayesianGPLVM</span>
9595
<span id="cb11-3"><a href="#cb11-3" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> numpy <span class="im">as</span> np</span></code></pre></div>
9696
<div class="sourceCode" id="cb12"><pre class="sourceCode python"><code class="sourceCode python"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true" tabindex="-1"></a>q <span class="op">=</span> <span class="dv">6</span></span>
97-
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true" tabindex="-1"></a>kernel <span class="op">=</span> GPy.kern.RBF(Q, lengthscale<span class="op">=</span>np.repeat(<span class="fl">.5</span>, q), ARD<span class="op">=</span><span class="va">True</span>)</span>
97+
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true" tabindex="-1"></a>kernel <span class="op">=</span> GPy.kern.RBF(q, lengthscale<span class="op">=</span>np.repeat(<span class="fl">.5</span>, q), ARD<span class="op">=</span><span class="va">True</span>)</span>
9898
<span id="cb12-3"><a href="#cb12-3" aria-hidden="true" tabindex="-1"></a>model <span class="op">=</span> BayesianGPLVM(data[<span class="st">&#39;Y&#39;</span>], q,</span>
9999
<span id="cb12-4"><a href="#cb12-4" aria-hidden="true" tabindex="-1"></a> init<span class="op">=</span><span class="st">&quot;PCA&quot;</span>,</span>
100100
<span id="cb12-5"><a href="#cb12-5" aria-hidden="true" tabindex="-1"></a> num_inducing<span class="op">=</span><span class="dv">20</span>, kernel<span class="op">=</span>kernel)</span>

_notebooks/osu-run1-bgplvm.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
"outputs": [],
331331
"source": [
332332
"q = 6\n",
333-
"kernel = GPy.kern.RBF(Q, lengthscale=np.repeat(.5, q), ARD=True)\n",
333+
"kernel = GPy.kern.RBF(q, lengthscale=np.repeat(.5, q), ARD=True)\n",
334334
"model = BayesianGPLVM(data['Y'], q,\n",
335335
" init=\"PCA\",\n",
336336
" num_inducing=20, kernel=kernel)\n",

0 commit comments

Comments
 (0)