Skip to content

Commit

Permalink
changed bitbucket links to github
Browse files Browse the repository at this point in the history
  • Loading branch information
sathish316 committed Apr 25, 2015
1 parent 4b6bce8 commit e50d1db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Prognos is a forecasting libray in Scala similar to [R forecast package](http://
It's implemented using [breeze](https://github.com/scalanlp/breeze) numerical computing library.

Algorithms in this library can be used from Scalding, Spark and other Java/Scala applications.
Check tests, [prognos-scalding-example](https://bitbucket.org/sathish316/prognos-scalding-example) and [prognos-spark-example](https://bitbucket.org/sathish316/prognos-spark-example) for usage examples.
Check tests, [prognos-scalding-example](https://github.com/sathish316/prognos-scalding-example) and [prognos-spark-example](https://github.com/sathish316/prognos-spark-example) for usage examples.

Forecasting algorithms in this library are based on the book [Forecasting Principles and Practice](https://www.otexts.org/fpp) by Rob Hyndman

Expand Down
1 change: 0 additions & 1 deletion src/main/scala/com/prognos/forecast/HoltExponential.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class HoltExponential {
val initialTrend = calcInitialTrend(data)
val (level, trend) = data.toArray.foldLeft((initialLevel, initialTrend)) {case (levelAndTrend:(Double,Double), value:Double) =>
val (prevLevel, prevTrend) = levelAndTrend
println((prevLevel, prevTrend))
val level:Double = calcLevel(alpha, value, prevLevel, prevTrend)
val trend:Double = calcTrend(beta, prevLevel, prevTrend, level)
(level, trend)
Expand Down

0 comments on commit e50d1db

Please sign in to comment.