プリンキピア

第15章自然言語処理:事前学習

15.3.8. Exercises15.3.8 練習問題

  1. How does the running time of code in this section changes if not using subsampling?
    英語のヒント
    サブサンプリングを使わないと、この節のコードの実行時間はどう変わるか。
  2. The RandomGenerator class caches k random sampling results. Set k to other values and see how it affects the data loading speed.
    英語のヒント
    RandomGeneratorクラスは、k個のランダムなサンプリング結果をキャッシュする。kをほかの値に設定して、データの読み込み速度にどう影響するかを見よ。
  3. What other hyperparameters in the code of this section may affect the data loading speed?
    英語のヒント
    この節のコードのほかのどのハイパーパラメータが、データの読み込み速度に影響しうるか。