mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 08:42:39 +02:00
[plotting] subsampling print waring corrected
This commit is contained in:
parent
095a8607b2
commit
fd979b843f
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ def subsample_X(X, labels, num_samples=1000):
|
|||
num_samples and the returned subsampled X.
|
||||
"""
|
||||
if X.shape[0] > num_samples:
|
||||
print("Warning: subsampling X, as it has more samples then 1000. X.shape={!s}".format(X.shape))
|
||||
print("Warning: subsampling X, as it has more samples then {}. X.shape={!s}".format(int(num_samples), X.shape))
|
||||
if labels is not None:
|
||||
subsample = []
|
||||
for _, _, _, _, index, _ in scatter_label_generator(labels, X, (0, None, None)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue