anchor.diff:   - Time series differencing
    - Automatic period identification based on ACF
   
  -== Prerequisites
  -
  -Hawkular Data Mining Git repository is hosted on link:https://github.com/hawkular/hawkular-datamining.git[GitHub].
  -To build the repository Maven and Java 8 are needed.
  -
  -.Data Mining main modules
  -|===
  -|Artifact | Description
  -
  -|hawkular-datamining-forecast | Lightweight library for time series modeling and forecasting.
  -|hawkular-datamining-rest | Web archive for standalone usage without Hawkular.
  -|hawkular-datamining-dist | Distribution web archive with hawkular integration code designed to be deployed with Hawkular.
  -
  -|===
  -
   == Data Mining in Hawkular
  -When Data Mining is deployed in Hawkular, predictions can be enabled by creating relationships:
  +When Data Mining is deployed in Hawkular, predictions can be enabled by creating relationships in Inventory:
   
    - from tenant to tenant for forecasting all metrics of given tenant
    - from tenant to metric type for forecasting all metrics of given type
    - from tenant to metric for forecasting given metric
   
  -Following diagram depicts the interaction with other modules. Numbers denotes order of metric data flow from agent to
  -Data Mining and Metrics module.
  +Following diagram depicts the interaction with other modules. Numbers denotes the order of metric data flow from
  +agent to Data Mining and Metrics module.
   
   [[architecture]]
   .Data Mining interaction with other Hawkular modules
  
positive.code: 
  == Introduction
  Data Mining currently offers time series prediction engine. This engine can be used for alert prediction or
  predictive charts in the UI.
  
  === Time series models
   - Simple exponential smoothing
  
negative.code: ifdef::env-github[]
  image::../../../../assets/img/docs/components/datamining/hawkular-architecture.png[Architecture, align="center"]
  endif::[]
  
  == Prerequisites
  Hawkular Data Mining Git repository is hosted on link:https://github.com/hawkular/hawkular-datamining.git[GitHub].
  To build the repository Maven and Java 8 are needed.
  
  == Useful Links
  - Source code link:https://github.com/hawkular/hawkular-datamining.git[Github]
  - Data Mining integrated into link:https://github.com/hawkular/hawkular/pull/876[Hawkular]
  - REST API link:../../rest/rest-datamining.html[documentation page]
  