AnomalyDetector
Classify等の関数のオプションで,含めるべき異常検出器を指定する.
詳細
- 次は,AnomalyDetectorの可能な設定である.
-
None 異常検出器は使わない(デフォルト) AnomalyDetectorFunction[…] 指定された異常検出器を使う Automatic 使用可能なデータから異常検出器を作成する LearnedDistribution[…] 学習済みの分布から異常検出器を作成する - 指定された異常検出器は,一般に,モデルの訓練中ではなく評価中に使われる.
- 異常な例に遭遇すると,分類あるいは予測の結果の代りにMissing["Anomalous"]が返される.
- Classify[ClassifierFunction[…],AnomalyDetectordetector]を使って特定の分類器の異常検出器を上書きすることができる(PredictorFunction[…]についても同様のことが言える).
- 異常検出器で使われる稀少確率の閾値をClassify[ClassifierFunction[…],AcceptanceThresholdt]を使って上書きすることができる.
- ClassifierFunction[…][example,AnomalyDetectordetector]を使って,モデルの評価中に一時的に異常検出器を上書きすることができる.
- ClassifierFunction[…][example,AcceptanceThresholdt]を使って,モデルの評価中に一時的に稀少確率の閾値を上書きすることができる.
例題
例 (3)
c = Classify[{1 -> "A", 2 -> "A", 3.5 -> "B", 4 -> "B"}, AnomalyDetector -> Automatic]c[1.2]c[100000.2]"Probabilities"特性は異常検出器の影響を受けない:
c[100000.2, "Probabilities"]c2 = Classify[c, AnomalyDetector -> None]c2[10000.2]c = Classify[{1 -> "A", 2 -> "A", 3.5 -> "B", 4 -> "B"}]ad = AnomalyDetection[{1, 2, 3.5, 4}]c2 = Classify[c, AnomalyDetector -> ad]c2[10000.2]c2[6, AcceptanceThreshold -> 0.5]c2[6, AcceptanceThreshold -> 0.001]p = Predict[{1 -> 1.3, 2 -> 2.4, 3 -> 4.4, 4 -> 5.1, 6 -> 7.3}, AnomalyDetector -> Automatic]p[1.2]p[100000.2]"Distribution"特性は異常検出器の影響を受けない:
p[100000.2, "Distribution"]p[6, AcceptanceThreshold -> 0.2]p[6, AcceptanceThreshold -> 0.001]p2 = Predict[p, AnomalyDetector -> None]p2[10000.2]関連するガイド
-
▪
- 教師あり機械学習
テキスト
Wolfram Research (2020), AnomalyDetector, Wolfram言語関数, https://reference.wolfram.com/language/ref/AnomalyDetector.html.
CMS
Wolfram Language. 2020. "AnomalyDetector." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AnomalyDetector.html.
APA
Wolfram Language. (2020). AnomalyDetector. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AnomalyDetector.html
BibTeX
@misc{reference.wolfram_2026_anomalydetector, author="Wolfram Research", title="{AnomalyDetector}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/AnomalyDetector.html}", note=[Accessed: 15-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_anomalydetector, organization={Wolfram Research}, title={AnomalyDetector}, year={2020}, url={https://reference.wolfram.com/language/ref/AnomalyDetector.html}, note=[Accessed: 15-August-2026]}