mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
Update plot_util.py
`np.int` has been deprecated, suggest changing to `np.int64`
This commit is contained in:
parent
9ec3e50e3b
commit
d2bca8e1b5
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ def helper_predict_with_model(self, Xgrid, plot_raw, apply_link, percentiles, wh
|
||||||
if 'Y_metadata' not in predict_kw:
|
if 'Y_metadata' not in predict_kw:
|
||||||
predict_kw['Y_metadata'] = {}
|
predict_kw['Y_metadata'] = {}
|
||||||
if 'output_index' not in predict_kw['Y_metadata']:
|
if 'output_index' not in predict_kw['Y_metadata']:
|
||||||
predict_kw['Y_metadata']['output_index'] = Xgrid[:,-1:].astype(np.int)
|
predict_kw['Y_metadata']['output_index'] = Xgrid[:,-1:].astype(np.int64)
|
||||||
|
|
||||||
mu, _ = self.predict(Xgrid, **predict_kw)
|
mu, _ = self.predict(Xgrid, **predict_kw)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue