# CachedBatchDiffFunction

#### class CachedBatchDiffFunction[T] extends BatchDiffFunction[T]

Linear Supertypes
BatchDiffFunction[T], (T, IndexedSeq[Int]) ⇒ Double, DiffFunction[T], StochasticDiffFunction[T], (T) ⇒ Double, AnyRef, Any
Ordering
1. Alphabetic
2. By inheritance
Inherited
1. CachedBatchDiffFunction
2. BatchDiffFunction
3. Function2
4. DiffFunction
5. StochasticDiffFunction
6. Function1
7. AnyRef
8. Any
1. Hide All
2. Show all
Visibility
1. Public
2. All

### Value Members

1. #### final def !=(arg0: AnyRef): Boolean

Definition Classes
AnyRef
2. #### final def !=(arg0: Any): Boolean

Definition Classes
Any
3. #### final def ##(): Int

Definition Classes
AnyRef → Any
4. #### final def ==(arg0: AnyRef): Boolean

Definition Classes
AnyRef
5. #### final def ==(arg0: Any): Boolean

Definition Classes
Any
6. #### def andThen[A](g: (Double) ⇒ A): (T) ⇒ A

Definition Classes
Function1
Annotations
@unspecialized()
7. #### def apply(x: T, batch: IndexedSeq[Int]): Double

Definition Classes
BatchDiffFunction → Function2
8. #### final def apply(x: T): Double

Definition Classes
StochasticDiffFunction → Function1
9. #### final def asInstanceOf[T0]: T0

Definition Classes
Any
10. #### def calculate(x: T, range: IndexedSeq[Int]): (Double, T)

Calculates both the value and the gradient at a point

Calculates both the value and the gradient at a point

Definition Classes
CachedBatchDiffFunctionBatchDiffFunction
11. #### def calculate(x: T): (Double, T)

Calculates both the value and the gradient at a point

Calculates both the value and the gradient at a point

Definition Classes
BatchDiffFunctionStochasticDiffFunction
12. #### def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( ... )
13. #### def compose[A](g: (A) ⇒ T): (A) ⇒ Double

Definition Classes
Function1
Annotations
@unspecialized()
14. #### def curried: (T) ⇒ (IndexedSeq[Int]) ⇒ Double

Definition Classes
Function2
Annotations
@unspecialized()
15. #### final def eq(arg0: AnyRef): Boolean

Definition Classes
AnyRef
16. #### def equals(arg0: Any): Boolean

Definition Classes
AnyRef → Any
17. #### def finalize(): Unit

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( classOf[java.lang.Throwable] )
18. #### def fullRange: IndexedSeq[Int]

The full size of the data

The full size of the data

Definition Classes
CachedBatchDiffFunctionBatchDiffFunction
19. #### final def getClass(): Class[_]

Definition Classes
AnyRef → Any
20. #### def gradientAt(x: T, range: IndexedSeq[Int]): T

calculates the gradient at a point

calculates the gradient at a point

Definition Classes
CachedBatchDiffFunctionBatchDiffFunction
21. #### def gradientAt(x: T): T

calculates the gradient at a point

calculates the gradient at a point

Definition Classes
BatchDiffFunctionStochasticDiffFunction
22. #### def groupItems(groupSize: Int): BatchDiffFunction[T]

Definition Classes
BatchDiffFunction
23. #### def hashCode(): Int

Definition Classes
AnyRef → Any
24. #### final def isInstanceOf[T0]: Boolean

Definition Classes
Any
25. #### final def ne(arg0: AnyRef): Boolean

Definition Classes
AnyRef
26. #### final def notify(): Unit

Definition Classes
AnyRef
27. #### final def notifyAll(): Unit

Definition Classes
AnyRef
28. #### final def synchronized[T0](arg0: ⇒ T0): T0

Definition Classes
AnyRef
29. #### def throughLens[U](implicit l: Isomorphism[T, U]): DiffFunction[U]

Lenses provide a way of mapping between two types, which we typically use to convert something to a DenseVector or other Tensor for optimization purposes.

Lenses provide a way of mapping between two types, which we typically use to convert something to a DenseVector or other Tensor for optimization purposes.

Definition Classes
StochasticDiffFunction
30. #### def toString(): String

Definition Classes
Function2 → AnyRef → Any
31. #### def tupled: ((T, IndexedSeq[Int])) ⇒ Double

Definition Classes
Function2
Annotations
@unspecialized()
32. #### def valueAt(x: T, range: IndexedSeq[Int]): Double

calculates the value at a point

calculates the value at a point

Definition Classes
CachedBatchDiffFunctionBatchDiffFunction
33. #### def valueAt(x: T): Double

calculates the value at a point

calculates the value at a point

Definition Classes
BatchDiffFunctionStochasticDiffFunction
34. #### final def wait(): Unit

Definition Classes
AnyRef
Annotations
@throws( ... )
35. #### final def wait(arg0: Long, arg1: Int): Unit

Definition Classes
AnyRef
Annotations
@throws( ... )
36. #### final def wait(arg0: Long): Unit

Definition Classes
AnyRef
Annotations
@throws( ... )
37. #### def withRandomBatches(size: Int): StochasticDiffFunction[T]

Definition Classes
BatchDiffFunction
38. #### def withScanningBatches(size: Int): StochasticDiffFunction[T]

Definition Classes
BatchDiffFunction