new VectorUDT()
:: AlphaComponent ::
NOTE User defined types not implemented in EclairJS
User-defined type for Vector which allows easy interaction with SQL
via module:eclairjs/sql.DataFrame.
- Source:
Methods
deserialize(datum) → {module:eclairjs/ml/linalg.Vector}
Parameters:
Name | Type | Description |
---|---|---|
datum |
object |
- Source:
Returns:
equals(o) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
o |
object |
- Source:
Returns:
- Type
- boolean
hashCode() → {number}
- Source:
Returns:
- Type
- number
serialize(obj) → {InternalRow}
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
- Source:
Returns:
- Type
- InternalRow
sqlType() → {module:eclairjs/sql/types.StructType}
- Source:
Returns:
typeName() → {string}
- Source:
Returns:
- Type
- string