Skip to content

Commit 1d5634c

Browse files
committed
Pushing the docs to dev/ for branch: master, commit 5756a9934b2859b3525b76164ba3ec95a30a03f1
1 parent fb82ec5 commit 1d5634c

File tree

720 files changed

+1627
-1625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

720 files changed

+1627
-1625
lines changed
Binary file not shown.

dev/_downloads/7a6dcc0ff8085c04d9bb39a9cb61898c/plot_beta_divergence.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"outputs": [],
2828
"source": [
29-
"import numpy as np\nimport matplotlib.pyplot as plt\nfrom sklearn.decomposition.nmf import _beta_divergence\n\nprint(__doc__)\n\nx = np.linspace(0.001, 4, 1000)\ny = np.zeros(x.shape)\n\ncolors = 'mbgyr'\nfor j, beta in enumerate((0., 0.5, 1., 1.5, 2.)):\n for i, xi in enumerate(x):\n y[i] = _beta_divergence(1, xi, 1, beta)\n name = \"beta = %1.1f\" % beta\n plt.plot(x, y, label=name, color=colors[j])\n\nplt.xlabel(\"x\")\nplt.title(\"beta-divergence(1, x)\")\nplt.legend(loc=0)\nplt.axis([0, 4, 0, 3])\nplt.show()"
29+
"import numpy as np\nimport matplotlib.pyplot as plt\nfrom sklearn.decomposition._nmf import _beta_divergence\n\nprint(__doc__)\n\nx = np.linspace(0.001, 4, 1000)\ny = np.zeros(x.shape)\n\ncolors = 'mbgyr'\nfor j, beta in enumerate((0., 0.5, 1., 1.5, 2.)):\n for i, xi in enumerate(x):\n y[i] = _beta_divergence(1, xi, 1, beta)\n name = \"beta = %1.1f\" % beta\n plt.plot(x, y, label=name, color=colors[j])\n\nplt.xlabel(\"x\")\nplt.title(\"beta-divergence(1, x)\")\nplt.legend(loc=0)\nplt.axis([0, 4, 0, 3])\nplt.show()"
3030
]
3131
}
3232
],

dev/_downloads/c81229d26d67b54865262920dbf2bd0e/plot_beta_divergence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99
import numpy as np
1010
import matplotlib.pyplot as plt
11-
from sklearn.decomposition.nmf import _beta_divergence
11+
from sklearn.decomposition._nmf import _beta_divergence
1212

1313
print(__doc__)
1414

Binary file not shown.

dev/_downloads/scikit-learn-docs.pdf

16.6 KB
Binary file not shown.

dev/_images/iris.png

0 Bytes
316 Bytes
316 Bytes
-190 Bytes
-190 Bytes

0 commit comments

Comments
 (0)