質問編集履歴

1

追記

2020/08/11 06:12

投稿

taiyakix
taiyakix

スコア427

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,12 @@
1
1
  [こちらの記事](https://lionbridge.ai/ja/articles/deep-learning-multiclass-text-classification/)を参考にして単語リストをトークン化していたのですが、以下のようなエラーが起きました。
2
+
3
+ ```
4
+
5
+ # NameError: name 'max_features' is not defined
6
+
7
+ ```
8
+
9
+ コード
2
10
 
3
11
  ```Python
4
12
 
@@ -16,8 +24,6 @@
16
24
 
17
25
  print(X)
18
26
 
19
- # NameError: name 'max_features' is not defined
20
-
21
27
  ```
22
28
 
23
29
  [その記事](https://lionbridge.ai/ja/articles/deep-learning-multiclass-text-classification/)を読んだだけでは`max_features`が何を指しているか私には分からなかったので、教えていただきたいです。