Weights should be reset to 1/N after resampling.
This commit is contained in:
@@ -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,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user