Few bugs fixed in the documentation

This commit is contained in:
Nicolas 2013-03-11 18:45:04 +00:00
parent 129bb3924e
commit 3dd62c8251
2 changed files with 13 additions and 14 deletions

View file

@ -12,7 +12,7 @@ class rbf(kernpart):
.. math::
k(r) = \sigma^2 \exp(- \frac{1}{2}r^2) \ \ \ \ \ \\text{ where } r^2 = \sum_{i=1}^d \frac{ (x_i-x^\prime_i)^2}{\ell_i^2}}
k(r) = \sigma^2 \exp \\bigg(- \\frac{1}{2} r^2 \\bigg) \ \ \ \ \ \\text{ where } r^2 = \sum_{i=1}^d \\frac{ (x_i-x^\prime_i)^2}{\ell_i^2}
where \ell_i is the lengthscale, \sigma^2 the variance and d the dimensionality of the input.
@ -55,7 +55,6 @@ class rbf(kernpart):
self._X, self._X2, self._params = np.empty(shape=(3,1))
def _get_params(self):
foo
return np.hstack((self.variance,self.lengthscale))
def _set_params(self,x):