From 72a76bcd338bf5a6766b6fe3b847bc4b0b13440e Mon Sep 17 00:00:00 2001 From: Maxim Ziatdinov <34245227+ziatdinovmax@users.noreply.github.com> Date: Fri, 3 Apr 2020 10:52:28 -0400 Subject: [PATCH] Updated in Colaboratory --- examples/notebooks/GP_BEPFM.ipynb | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/notebooks/GP_BEPFM.ipynb b/examples/notebooks/GP_BEPFM.ipynb index 7382a5c..89cf46e 100644 --- a/examples/notebooks/GP_BEPFM.ipynb +++ b/examples/notebooks/GP_BEPFM.ipynb @@ -23,7 +23,7 @@ "colab_type": "text" }, "source": [ - "\"Open" + "\"Open" ] }, { @@ -147,7 +147,7 @@ "# download training data\n", "!wget -qq -O 'BEPFM image_0001 - 128 x 128.h5' 'https://github.com/ziatdinovmax/GPim/blob/master/expdata/BEPFM%20image_0001%20-%20128%20x%20128.h5?raw=true'" ], - "execution_count": 1, + "execution_count": 0, "outputs": [ { "output_type": "stream", @@ -235,7 +235,7 @@ "hf = h5py.File(os.path.join(datadir, filename), 'r')\n", "inspect_dataset(hf)" ], - "execution_count": 3, + "execution_count": 0, "outputs": [ { "output_type": "stream", @@ -354,7 +354,7 @@ "print('reshaped data dimensions: {}'.format(raw_data.shape))\n", "#hf.close()" ], - "execution_count": 4, + "execution_count": 0, "outputs": [ { "output_type": "stream", @@ -400,7 +400,7 @@ "# Plotting\n", "gprutils.plot_raw_data(raw_data, slice_number, pos, spectral_window)" ], - "execution_count": 5, + "execution_count": 0, "outputs": [ { "output_type": "display_data", @@ -464,7 +464,7 @@ "R_true = (R_true - np.amin(R_true))/np.ptp(R_true)\n", "gprutils.plot_raw_data(R_true, slice_number, pos, spectral_window)" ], - "execution_count": 6, + "execution_count": 0, "outputs": [ { "output_type": "display_data", @@ -510,7 +510,7 @@ "X, R = gprutils.corrupt_data_xy(X_true, R_true, prob=remove_obs)\n", "gprutils.plot_raw_data(R, slice_number, pos, spectral_window, norm=True)" ], - "execution_count": 7, + "execution_count": 0, "outputs": [ { "output_type": "display_data", @@ -580,7 +580,7 @@ ")\n", "mean, sd, hyperparams = reconstr.run()" ], - "execution_count": 8, + "execution_count": 0, "outputs": [ { "output_type": "stream", @@ -627,7 +627,7 @@ "source": [ "gprutils.plot_kernel_hyperparams(hyperparams)" ], - "execution_count": 9, + "execution_count": 0, "outputs": [ { "output_type": "display_data", @@ -669,7 +669,7 @@ "source": [ "gprutils.plot_inducing_points(hyperparams, slice_step=2)" ], - "execution_count": 10, + "execution_count": 0, "outputs": [ { "output_type": "display_data", @@ -709,7 +709,7 @@ "source": [ "gprutils.plot_reconstructed_data3d(R, mean, sd, slice_number, pos, spectral_window)" ], - "execution_count": 11, + "execution_count": 0, "outputs": [ { "output_type": "display_data", @@ -864,7 +864,7 @@ " np.save(os.path.join(\n", " SAVE_DIR, 'sgpr_bepfm_amax_4.npy'), uncert_idx_all)" ], - "execution_count": 13, + "execution_count": 0, "outputs": [ { "output_type": "stream", @@ -2010,7 +2010,7 @@ " R_all, mean_all, sd_all, R_true, steps,\n", " slice_number, pos, dist_edge, spec_window)" ], - "execution_count": 14, + "execution_count": 0, "outputs": [ { "output_type": "display_data", @@ -2081,7 +2081,7 @@ "clrbar_.set_label('Exploration steps', fontsize=14, labelpad=10)\n", "plt.show()" ], - "execution_count": 15, + "execution_count": 0, "outputs": [ { "output_type": "display_data", @@ -2142,7 +2142,7 @@ "plt.legend(fontsize=16)\n", "plt.show()" ], - "execution_count": 16, + "execution_count": 0, "outputs": [ { "output_type": "display_data",