Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c042e commit caea207Copy full SHA for caea207
sklearn/gaussian_process/gaussian_process.py
@@ -755,7 +755,7 @@ def minus_reduced_likelihood_function(log10t):
755
# Iterate over all dimensions of theta allowing for anisotropy
756
if verbose:
757
print("Now improving allowing for anisotropy...")
758
- for i in self.random_state.shuffle(range(theta0.size)):
+ for i in self.random_state.permutation(theta0.size):
759
760
print "Proceeding along dimension %d..." % (i + 1)
761
self.theta0 = array2d(theta_iso)
0 commit comments