Last active
April 8, 2016 15:55
-
-
Save pavolloffay/681d10a1568df365a101 to your computer and use it in GitHub Desktop.
Datamining
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -ivX POST -H 'Hawkular-Tenant: jdoe' -H 'Content-Type: application/json' 'http://localhost:8080/hawkular/datamining/metrics' -d '{"metricId": "metric1", "collectionInterval": "15" }' | |
curl -ivX PUT -H 'Hawkular-Tenant: jdoe' -H 'Content-Type: application/json' 'http://localhost:8080/hawkular/datamining/metrics/metric1' -d '{"collectionInterval": "22", "forecastingHorizon": 66 }' | |
curl -ivX PUT -H 'Hawkular-Tenant: jdoe' -H 'Content-Type: application/json' 'http://localhost:8080/hawkular/datamining/metrics/metric1/forecaster' -d '{"windowSize" : "150"}' | |
curl -ivX PUT -H 'Hawkular-Tenant: jdoe' -H 'Content-Type: application/json' 'http://localhost:8080/hawkular/datamining/metrics/metric1/forecaster' -d '{"ic" : "BIC"}' | |
curl -ivX PUT -H 'Hawkular-Tenant: jdoe' -H 'Content-Type: application/json' 'http://localhost:8080/hawkular/datamining/metrics/metric1/forecaster' -d '{"modelToUse" : "SimpleExponentialSmoothing"}' | |
curl -ivX PUT -H 'Hawkular-Tenant: jdoe' -H 'Content-Type: application/json' 'http://localhost:8080/hawkular/datamining/metrics/metric1/forecaster' -d '{"conceptDriftStrategy" : {"period": "69"}}' | |
curl -ivX GET -H 'Hawkular-Tenant: jdoe' -H 'Content-Type: application/json' 'http://localhost:8080/hawkular/datamining/metrics/metric1' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment