Weights should be reset to 1/N after resampling.

This commit is contained in:
Roger Labbe committed 2017-07-03 13:07:28 -07:00
1 parent ba61f3a96c
commit 7c5aa45019
7 files changed
+232 -244

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ def merge_notebooks(outfile, filenames):
for fname in filenames:
with io.open(fname, 'r', encoding='utf-8') as f:
nb = nbformat.read(f, nbformat.NO_CONVERT)
remove_formatting(nb)
#remove_formatting(nb)
if not added_appendix and fname[0:8] == 'Appendix':
remove_links_add_appendix(nb)
added_appendix = True
+1 -1
View File
@@ -1,7 +1,7 @@
mkdir tmp
copy ..\*.ipynb .\tmp
copy ..\*.py .\tmp
cp -r ..\code\ .\tmp\code\
cp -r ..\kf_book\ .\tmp\kf_book\
cd tmp