浏览代码

Add errata for outdated p2ch10 code listing

closes #23
Eli Stevens 5 年之前
父节点
当前提交
8d26fe5a83
共有 1 个文件被更改,包括 8 次插入1 次删除
  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,
         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
         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
         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
         more depth in the next chapter. Hopefully your downloads will finish before you start
         needing to use the data!
         needing to use the data!
     </p>
     </p>
@@ -196,6 +196,13 @@ o11 = i11 * w00 + i12 * w01 + i13 * w02 +
         flagged as nodules.
         flagged as nodules.
     </p>
     </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>
 <div class="copyright">
 <div class="copyright">