Weights should be reset to 1/N after resampling.

This commit is contained in:
Roger Labbe
2017-07-03 13:07:28 -07:00
parent ba61f3a96c
commit 7c5aa45019
7 changed files with 232 additions and 244 deletions

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

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