From 67d3ba6700983f4adf557d7120ab73ee86d0c62f Mon Sep 17 00:00:00 2001 From: Ricardo Andrade Date: Wed, 27 Mar 2013 15:05:50 +0000 Subject: [PATCH] small changes --- GPy/examples/fitc_class_01.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/GPy/examples/fitc_class_01.py b/GPy/examples/fitc_class_01.py index 06c948b5..38c9da63 100644 --- a/GPy/examples/fitc_class_01.py +++ b/GPy/examples/fitc_class_01.py @@ -11,15 +11,15 @@ Simple 1D classification example """ seed=10000 -data = GPy.util.datasets.toy_linear_1d_classification(seed=seed) -X = data['X'] -Y = data['Y'][:, 0:1] -Y[Y == -1] = 0 +#data = GPy.util.datasets.toy_linear_1d_classification(seed=seed) +#X = data['X'] +#Y = data['Y'][:, 0:1] +#Y[Y == -1] = 0 -#X = np.vstack((np.random.uniform(0,10,(10,1)),np.random.uniform(7,17,(10,1)),np.random.uniform(15,25,(10,1)))) -#Y = np.vstack((np.zeros((10,1)),np.ones((10,1)),np.zeros((10,1)))) +X = np.vstack((np.random.uniform(0,10,(10,1)),np.random.uniform(7,17,(10,1)),np.random.uniform(15,25,(10,1)))) +Y = np.vstack((np.zeros((10,1)),np.ones((10,1)),np.zeros((10,1)))) # Kernel object kernel = GPy.kern.rbf(1) + GPy.kern.white(1)