Skip to content

Commit

Permalink
✏️ readjust for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cemachelen committed Jun 30, 2022
1 parent 2083dd4 commit 58ee8ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gaussian_Processes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,10 @@
"# Check no duplicates in sample index\n",
"\n",
"if len(np.unique(samp_index)) != sample_size :\n",
" print(\"duplicate sample index found please rerun above cell\")"
" print(\"duplicate sample index found please rerun above cell\")\n",
" print(\"the sample will automatically be reset to 5 over the whole range\")\n",
" sample_size = 5\n",
" samp_index = np.random.randint(0, high=len(x), size=sample_size)"
]
},
{
Expand Down

0 comments on commit 58ee8ee

Please sign in to comment.