mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-04 01:02:39 +02:00
array core and bgplvm working > changes due to __i<op>__ will now be reported
This commit is contained in:
parent
4cfc13d5fc
commit
9d262936c6
10 changed files with 177 additions and 54 deletions
|
|
@ -14,14 +14,14 @@ def plot(parameterized, fignum=None, ax=None, colors=None):
|
|||
|
||||
"""
|
||||
if ax is None:
|
||||
fig = pb.figure(num=fignum, figsize=(8, min(12, (2 * parameterized.means.shape[1]))))
|
||||
fig = pb.figure(num=fignum, figsize=(8, min(12, (2 * parameterized.mean.shape[1]))))
|
||||
if colors is None:
|
||||
colors = pb.gca()._get_lines.color_cycle
|
||||
pb.clf()
|
||||
else:
|
||||
colors = iter(colors)
|
||||
plots = []
|
||||
means, variances = param_to_array(parameterized.means, parameterized.variances)
|
||||
means, variances = param_to_array(parameterized.mean, parameterized.variance)
|
||||
x = np.arange(means.shape[0])
|
||||
for i in range(means.shape[1]):
|
||||
if ax is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue