メインコンテンツ

Machine Learning Anomaly Detectors

Creation and workflow for time series machine learning anomaly detectors

The machine learning anomaly detectors are based on unsupervised detection algorithms in Statistics and Machine Learning Toolbox™. These algorithms use different methods to identify outliers within a set of data.

Machine learning algorithms tend to be relatively fast, and are often good detectors to start with when you begin the process of finding the right detector for your data.

Apps

Time Series Anomaly DetectorInteractively create, train, test, and tune detectors for detecting anomalous behavior in time series (Since R2026a)

Functions

expand all

timeSeriesIforestADCreate a machine learning isolation forest anomaly detector model for time series data (Since R2026a)
timeSeriesRrcforestADCreate a machine learning robust random cut forest anomaly detector model for time series data (Since R2026a)
timeSeriesLofADCreate a machine learning local outlier factor model for anomaly detection in time series data (Since R2026a)
timeSeriesOcsvmADCreate a machine learning one-class SVM anomaly detector model for time series data (Since R2026a)
trainTrain time series machine learning anomaly detector and obtain detection threshold (Since R2026a)
detectDetect anomalies in time series using a trained time series machine learning detector model (Since R2026a)
updateDetectorUpdate settings of a trained time series machine learning anomaly detector and recompute detection threshold (Since R2026a)
plotHistogramPlot histogram of anomaly scores and detection threshold for trained machine learning anomaly detector (Since R2025a)
plotPlot detected anomalies and anomaly scores generated from trained machine learning anomaly detectors (Since R2026a)
timeSeriesAnomalyMetricsCompute specialized evaluation metrics for time series anomaly detection (Since R2026a)
TimeSeriesIForestDetectorDetect subsequence anomalies in time series using an isolation forest algorithm (Since R2026a)
TimeSeriesRRCForestDetectorDetect subsequence anomalies in time series using a robust random cut forest algorithm (Since R2026a)
TimeSeriesLOFDetectorDetect subsequence anomalies in time series using a local outlier factor algorithm (Since R2026a)
TimeSeriesOCSVMDetectorDetect subsequence anomalies in time series using a one-class SVM detector (Since R2026a)

Topics