(->java cls value)Converts a Clojure value into an argument for a Java setter that takes
cls: numbers to the right width, collections to arrays, strings to enums.
Converts a Clojure value into an argument for a Java setter that takes `cls`: numbers to the right width, collections to arrays, strings to enums.
(->scala-seq coll)An immutable Scala List, which Spark's methods take as a Seq on both Scala 2.12 and 2.13.
An immutable Scala List, which Spark's methods take as a Seq on both Scala 2.12 and 2.13.
(dense & values)Params: (firstValue: Double, otherValues: Double*)
Result: Vector
Creates a dense vector from its values.
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/ml/linalg/Vectors$.html
Timestamp: 2020-10-19T01:56:35.334Z
Params: (firstValue: Double, otherValues: Double*) Result: Vector Creates a dense vector from its values. Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/ml/linalg/Vectors$.html Timestamp: 2020-10-19T01:56:35.334Z
(instantiate cls params)(instantiate cls defaults params)Creates an instance of cls, sets params through its setters (e.g.
{:input-col "text"} through setInputCol), and returns the instance. A
key in params that has no setter throws, with the class's params in the
message. The keys in defaults, which are Geni's own, are set when the class
has a setter for them and skipped when it doesn't, since a default can be
missing from one Spark version.
Creates an instance of `cls`, sets `params` through its setters (e.g.
`{:input-col "text"}` through `setInputCol`), and returns the instance. A
key in `params` that has no setter throws, with the class's params in the
message. The keys in `defaults`, which are Geni's own, are set when the class
has a setter for them and skipped when it doesn't, since a default can be
missing from one Spark version.(row & values)Params: (values: Seq[Any])
Result: Row
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/Row$.html
Timestamp: 2020-10-19T01:56:24.277Z
Params: (values: Seq[Any]) Result: Row Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/Row$.html Timestamp: 2020-10-19T01:56:24.277Z
Params: (size: Int, indices: Array[Int], values: Array[Double])
Result: Vector
Creates a sparse vector providing its index array and value array.
vector size.
index array, must be strictly increasing.
value array, must have the same length as indices.
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/ml/linalg/Vectors$.html
Timestamp: 2020-10-19T01:56:35.350Z
Params: (size: Int, indices: Array[Int], values: Array[Double]) Result: Vector Creates a sparse vector providing its index array and value array. vector size. index array, must be strictly increasing. value array, must have the same length as indices. Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/ml/linalg/Vectors$.html Timestamp: 2020-10-19T01:56:35.350Z
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |