|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectorg.apache.spark.mllib.random.UniformGenerator
public class UniformGenerator
:: DeveloperApi :: Generates i.i.d. samples from U[0.0, 1.0]
| Constructor Summary | |
|---|---|
UniformGenerator()
|
|
| Method Summary | |
|---|---|
UniformGenerator |
copy()
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the class when applicable for non-locking concurrent usage. |
double |
nextValue()
Returns an i.i.d. |
void |
setSeed(long seed)
Set random seed. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformGenerator()
| Method Detail |
|---|
public double nextValue()
RandomDataGenerator
nextValue in interface RandomDataGenerator<Object>public void setSeed(long seed)
Pseudorandom
setSeed in interface Pseudorandompublic UniformGenerator copy()
RandomDataGenerator
copy in interface RandomDataGenerator<Object>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||