Class

com.intel.analytics.bigdl.optim

L1Regularizer

Related Doc: package optim

Permalink

case class L1Regularizer[T](l1: Double)(implicit evidence$3: ClassTag[T], ev: TensorNumeric[T]) extends L1L2Regularizer[T] with Product with Serializable

Apply L1 regularization

T

type parameters Float or Double

l1

l1 regularization rate

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, L1L2Regularizer[T], Regularizer[T], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. L1Regularizer
  2. Product
  3. Equals
  4. L1L2Regularizer
  5. Regularizer
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new L1Regularizer(l1: Double)(implicit arg0: ClassTag[T], ev: TensorNumeric[T])

    Permalink

    l1

    l1 regularization rate

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def accRegularization(parameter: Tensor[T], gradParameter: Tensor[T], scale: Double): Unit

    Permalink

    The method need to be override by the concrete regularizer class It accumulates the gradient of the regularization of parameter to gradParameter

    The method need to be override by the concrete regularizer class It accumulates the gradient of the regularization of parameter to gradParameter

    parameter

    the parameter that is regularized

    gradParameter

    the gradient of the parameter

    scale

    the scale of gradParameters

    Definition Classes
    L1L2RegularizerRegularizer
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def disable(): Unit

    Permalink

    Disable the regularization feature

    Disable the regularization feature

    Definition Classes
    Regularizer
  8. def enable(): Unit

    Permalink

    Enable the regularization feature

    Enable the regularization feature

    Definition Classes
    Regularizer
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val l1: Double

    Permalink

    l1 regularization rate

    l1 regularization rate

    Definition Classes
    L1RegularizerL1L2Regularizer
  14. val l2: Double

    Permalink

    l2 regularization rate

    l2 regularization rate

    Definition Classes
    L1L2Regularizer
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def preCheck(parameter: Tensor[T], gradParameter: Tensor[T]): Boolean

    Permalink

    Check the regularization is applied or not

    Check the regularization is applied or not

    parameter

    the parameter that is regularized

    gradParameter

    the gradient of the parameter

    returns

    a boolean, if true, accumulates the gradient of regularization, otherwise not.

    Attributes
    protected
    Definition Classes
    Regularizer
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from L1L2Regularizer[T]

Inherited from Regularizer[T]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped