class TrendLineBuffer extends AnyRef
params are used in addTrendLine to adjust end point
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TrendLineBuffer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TrendLineBuffer(hyperParameters: NumericSeriesAnalysisHyperParameters, sortedPoints: List[Point])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addTrendLine(newTrendLine: TrendLine, pointsInTrend: Option[List[Point]] = None): Unit
adds new trend to buffer, and adjusts end of last trend in buffer and start of new trend
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def createTrendWithPointFromLastTrend(otherPoints: List[Point]): TrendLine
The end of the last trend is included to reduce the offsets between the ends of trends.
The end of the last trend is included to reduce the offsets between the ends of trends. We use the x-value of the first point in otherPoints as the start position, because the point in last trend is only used for calculating slope and intercept i.e. regression line.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAllResiduals: List[YAxisType]
Returns all non-zero residuals from all trends.
Returns all non-zero residuals from all trends. We keep only non-zero residuals to avoid degenerate effects from long constant trends
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getLastPoint: Option[Point]
- def getTrendLines: List[TrendLine]
- Note
result can't be used as a pointer
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val hyperParameters: NumericSeriesAnalysisHyperParameters
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val sortedPoints: List[Point]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)