回答編集履歴
1
追記
test
CHANGED
@@ -21,3 +21,17 @@
|
|
21
21
|
|
22
22
|
|
23
23
|
また、メモリ容量の制約からOneHot Encodingが難しい場合もあるかと思います。
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
【追記】
|
28
|
+
|
29
|
+
[Target Encoding Vs. One-hot Encoding with Simple Examples](https://medium.com/analytics-vidhya/target-encoding-vs-one-hot-encoding-with-simple-examples-276a7e7b3e64)
|
30
|
+
|
31
|
+
>Limitations of Target Encoding
|
32
|
+
|
33
|
+
Target encoding is dependent on the distribution of the target which means target encoding requires careful validation as it can be prone to overfitting. This method is also dataset-specific and will only show significant improvements some of the time.
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
Target Encodingするデータに偏りがある場合は過学習を起こしやすいみたいです。どちらの手法にもメリット・デメリットがありますのでデータによって使い分けるのが良いかと思われます。
|