Packages

c

com.spotify.featran.tensorflow

TensorFlowFeatureBuilder

final case class TensorFlowFeatureBuilder(underlying: Builder = tf.Features.newBuilder()) extends FeatureBuilder[Example] with Product with Serializable

Source
package.scala
Linear Supertypes
Product, Equals, FeatureBuilder[Example], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TensorFlowFeatureBuilder
  2. Product
  3. Equals
  4. FeatureBuilder
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TensorFlowFeatureBuilder(underlying: Builder = tf.Features.newBuilder())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(name: String, value: Double): Unit

    Add a single feature value.

    Add a single feature value. The total number of values added and skipped should equal to dimension in init.

    Definition Classes
    TensorFlowFeatureBuilderFeatureBuilder
  5. def add[M[_]](names: Iterable[String], values: M[Double])(implicit ev: (M[Double]) ⇒ Seq[Double]): Unit

    Add multiple feature values.

    Add multiple feature values. The total number of values added and skipped should equal to dimension in init.

    Definition Classes
    FeatureBuilder
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def init(dimension: Int): Unit

    Initialize the builder for a record.

    Initialize the builder for a record. This should be called only once per input row.

    dimension

    total feature dimension

    Definition Classes
    TensorFlowFeatureBuilderFeatureBuilder
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def map[U](f: (Example) ⇒ U): FeatureBuilder[U]

    Create a FeatureBuilder for type U by converting the result type T with f.

    Create a FeatureBuilder for type U by converting the result type T with f.

    Definition Classes
    FeatureBuilder
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def newBuilder: FeatureBuilder[Example]
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def prepare(transformer: Transformer[_, _, _]): Unit

    Prepare the builder for the next transformer.

    Prepare the builder for the next transformer. This should be called only once per transformer per input row.

    transformer

    the next transformer in line

    Definition Classes
    FeatureBuilder
  19. def reject(transformer: Transformer[_, _, _], reason: FeatureRejection): Unit

    Reject an input row.

    Reject an input row.

    transformer

    transformer rejecting the input

    reason

    reason for rejection

    Definition Classes
    FeatureBuilder
  20. def rejections: Map[String, FeatureRejection]

    Gather rejections.

    Gather rejections. This should be called only once per input row.

    Definition Classes
    FeatureBuilder
  21. def result: Example

    Gather builder result for a result.

    Gather builder result for a result. This should be called only once per input row.

    Definition Classes
    TensorFlowFeatureBuilderFeatureBuilder
  22. def skip(n: Int): Unit

    Skip multiple feature values.

    Skip multiple feature values. The total number of values added and skipped should equal to dimension in init.

    Definition Classes
    TensorFlowFeatureBuilderFeatureBuilder
  23. def skip(): Unit

    Skip a single feature value.

    Skip a single feature value. The total number of values added and skipped should equal to dimension in init.

    Definition Classes
    TensorFlowFeatureBuilderFeatureBuilder
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Product

Inherited from Equals

Inherited from FeatureBuilder[Example]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped