Skip to content
Snippets Groups Projects
Commit 7d409b7f authored by Simon Belak's avatar Simon Belak
Browse files

Remove extraneous dependencies.

parent c2266350
Branches
Tags
No related merge requests found
......@@ -59,7 +59,8 @@
[environ "1.1.0"] ; easy environment management
[hiccup "1.0.5"] ; HTML templating
[honeysql "0.8.2"] ; Transform Clojure data structures to SQL
[kixi/stats "0.3.8"] ; Various statistic measures implemented as transducers
[kixi/stats "0.3.8" ; Various statistic measures implemented as transducers
:exclusions [org.clojure/test.check]]
[log4j/log4j "1.2.17" ; logging framework
:exclusions [javax.mail/mail
javax.jms/jms
......@@ -71,7 +72,8 @@
[net.sf.cssbox/cssbox "4.12" ; HTML / CSS rendering
:exclusions [org.slf4j/slf4j-api]]
[net.sourceforge.jtds/jtds "1.3.1"] ; Open Source SQL Server driver
[com.clearspring.analytics/stream "2.9.5"] ; Various sketching algorithms
[com.clearspring.analytics/stream "2.9.5" ; Various sketching algorithms
:exclusions [org.slf4j/slf4j-api]]
[org.clojars.pntblnk/clj-ldap "0.0.12"] ; LDAP client
[org.liquibase/liquibase-core "3.5.3"] ; migration management (Java lib)
[org.slf4j/slf4j-log4j12 "1.7.25"] ; abstraction for logging frameworks -- allows end user to plug in desired logging framework at deployment time
......@@ -85,7 +87,9 @@
[ring/ring-jetty-adapter "1.6.0"] ; Ring adapter using Jetty webserver (used to run a Ring server for unit tests)
[ring/ring-json "0.4.0"] ; Ring middleware for reading/writing JSON automatically
[stencil "0.5.0"] ; Mustache templates for Clojure
[tide "0.1.0-SNAPSHOT"] ; Various algorithms for working with timeseries
[tide "0.3.0-SNAPSHOT" ; Various algorithms for working with timeseries
:exclusions [com.github.davidmoten/fastdtw
org.slf4j/slf4j-simple]]
[toucan "1.0.3" ; Model layer, hydration, and DB utilities
:exclusions [honeysql]]]
:repositories [["bintray" "https://dl.bintray.com/crate/crate"]] ; Repo for Crate JDBC driver
......
......@@ -16,7 +16,7 @@
[costs :as costs]]
[metabase.util :as u] ;;;; temp!
[redux.core :as redux]
[tide.core :as tide])
[tide.stl :as stl])
(:import com.clearspring.analytics.stream.cardinality.HyperLogLogPlus))
(def ^:private ^:const percentiles (range 0 1 0.1))
......@@ -329,7 +329,10 @@
:week 52
:day 365)]
(when (>= (count ts) (* 2 period))
(select-keys (tide/decompose period ts) [:trend :seasonal :reminder]))))
(select-keys (stl/decompose period {:periodic? true
:robust? true}
ts)
[:trend :seasonal :residual]))))
(defmethod fingerprinter [DateTime Num]
[{:keys [max-cost resolution query]} field]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment