mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-27 13:56:23 +02:00
Got rid of foo
This commit is contained in:
parent
387ee97d73
commit
2a1b5f94c8
2 changed files with 1 additions and 2 deletions
|
|
@ -55,7 +55,6 @@ class rbf(kernpart):
|
||||||
self._X, self._X2, self._params = np.empty(shape=(3,1))
|
self._X, self._X2, self._params = np.empty(shape=(3,1))
|
||||||
|
|
||||||
def _get_params(self):
|
def _get_params(self):
|
||||||
foo
|
|
||||||
return np.hstack((self.variance,self.lengthscale))
|
return np.hstack((self.variance,self.lengthscale))
|
||||||
|
|
||||||
def _set_params(self,x):
|
def _set_params(self,x):
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ def test_models():
|
||||||
print "MODULE", module_examples
|
print "MODULE", module_examples
|
||||||
print "Before"
|
print "Before"
|
||||||
print inspect.getmembers(module_examples, predicate=inspect.isfunction)
|
print inspect.getmembers(module_examples, predicate=inspect.isfunction)
|
||||||
functions = [ func for func in inspect.getmembers(module_examples, predicate=inspect.isfunction) if func[0].startswith('_') is False ]
|
functions = [ func for func in inspect.getmembers(module_examples, predicate=inspect.isfunction) if func[0].startswith('_') is False ][::-1]
|
||||||
print "After"
|
print "After"
|
||||||
print functions
|
print functions
|
||||||
for example in functions:
|
for example in functions:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue