Packages

c

com.microsoft.azure.synapse.ml.vw.featurizer

NullableNumericFeaturizer

class NullableNumericFeaturizer[T] extends NumericFeaturizer[T]

Linear Supertypes
NumericFeaturizer[T], ElementFeaturizer[T], Featurizer, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NullableNumericFeaturizer
  2. NumericFeaturizer
  3. ElementFeaturizer
  4. Featurizer
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NullableNumericFeaturizer(fieldIdx: Int, columnName: String, namespaceHash: Int, mask: Int, zero: Numeric[T])(implicit arg0: Numeric[T])

Value Members

  1. val columnName: String
    Definition Classes
    NullableNumericFeaturizer → NumericFeaturizer → Featurizer
  2. val featureIdx: Int

    Pre-hashed feature index.

    Pre-hashed feature index.

    Definition Classes
    NumericFeaturizer
  3. def featurize(row: Row, indices: ArrayBuilder[Int], values: ArrayBuilder[Double]): Unit

    Featurize a single row.

    Featurize a single row.

    row

    input row.

    indices

    output indices.

    values

    output values.

    Definition Classes
    NullableNumericFeaturizer → NumericFeaturizer → Featurizer
    Note

    this interface isn't very Scala idiomatic, but it avoids lots of allocation. Also due to SparseVector limitations we don't support 64bit indices (e.g. indices are signed 32bit ints)

  4. def featurize(idx: Int, value: T, indices: ArrayBuilder[Int], values: ArrayBuilder[Double]): Unit
    Definition Classes
    NumericFeaturizer → ElementFeaturizer
  5. val fieldIdx: Int
    Definition Classes
    NullableNumericFeaturizer → NumericFeaturizer → Featurizer
  6. val mask: Int
    Definition Classes
    NullableNumericFeaturizer → NumericFeaturizer
  7. val namespaceHash: Int
    Definition Classes
    NullableNumericFeaturizer → NumericFeaturizer
  8. val zero: Numeric[T]
    Definition Classes
    NullableNumericFeaturizer → NumericFeaturizer