|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.apache.spark.mllib.random.StandardNormalGenerator
public class StandardNormalGenerator
:: DeveloperApi :: Generates i.i.d. samples from the standard normal distribution.
Constructor Summary | |
---|---|
StandardNormalGenerator()
|
Method Summary | |
---|---|
StandardNormalGenerator |
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 StandardNormalGenerator()
Method Detail |
---|
public double nextValue()
RandomDataGenerator
nextValue
in interface RandomDataGenerator<Object>
public void setSeed(long seed)
Pseudorandom
setSeed
in interface Pseudorandom
public StandardNormalGenerator copy()
RandomDataGenerator
copy
in interface RandomDataGenerator<Object>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |