Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: scikit-learn/scikit-learn
...
head fork: scikit-learn/scikit-learn
  • 4 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on May 14, 2012
@duckworthd duckworthd Convert input dtype to float in pairwise_distances
KNeighborsClassifier has been observed to suffer from numeric overflow
if the datatype of the feature matrix is insufficient (e.g., uint8).
This has been averted by changing check_pairwise_arrays() in
sklearn/metrics/pairwise.py
9a566bb
Commits on Jun 01, 2012
@duckworthd duckworthd Merge remote-tracking branch 'upstream/master'
Conflicts:
	sklearn/metrics/pairwise.py
faa53bd
@duckworthd duckworthd Python 2.6 bugfix for plot_rbf_parameters.py 9abb2c7
@mblondel mblondel Merge pull request #877 from duckworthd/master
SVM Radial Basis Function Parameters Example Bugfix
b070cff
Showing with 2 additions and 1 deletion.
  1. +2 −1  examples/svm/plot_rbf_parameters.py
View
3  examples/svm/plot_rbf_parameters.py
@@ -94,7 +94,8 @@
# visualize decision function for these parameters
pl.subplot(len(C_2d_range), len(gamma_2d_range), k + 1)
- pl.title("gamma {}, C {}".format(gamma, C), size='medium')
+ pl.title("gamma 10^%d, C 10^%d" % (np.log10(gamma), np.log10(C)),
+ size='medium')
# visualize parameter's effect on decision function
pl.pcolormesh(xx, yy, -Z, cmap=pl.cm.jet)

No commit comments for this range

Something went wrong with that request. Please try again.