Browse Source

Add errata for outdated p2ch10 code listing

closes #23
Eli Stevens 5 năm trước cách đây
mục cha
commit
8d26fe5a83
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      docs/errata.html

+ 8 - 1
docs/errata.html

@@ -177,7 +177,7 @@ o11 = i11 * w00 + i12 * w01 + i13 * w02 +
         Once you have the candidates file and at least one subset downloaded, uncompressed,
         and put in the correct location, you should be able to start running the examples in
         the next chapter. If you want to jump ahead, you can use the p2ch10_explore_data.ipynb
-        Jupyter Notebook to get started. Otherwise, we’ll return to the notebook in
+        Jupyter Notebook to get started. Otherwise, weÂ’ll return to the notebook in
         more depth in the next chapter. Hopefully your downloads will finish before you start
         needing to use the data!
     </p>
@@ -196,6 +196,13 @@ o11 = i11 * w00 + i12 * w01 + i13 * w02 +
         flagged as nodules.
     </p>
 
+    <h2>Page 277</h2>
+    <p><i>The first code annotation should read:</i></p>
+    <p>
+        # In[7]:
+        from p2ch10.vis import findPositiveSamples, showCandidate
+        positiveSample_list = findPositiveSamples()
+    </p>
 
 </div>
 <div class="copyright">