| hanaml.uniform {hana.ml.r} | R Documentation |
Draw samples from a uniform distribution.
hanaml.uniform(conn.context, m = NULL,
min = NULL, max = NULL,
seed = NULL, thread.ratio = NULL)
conn.context |
|
m |
|
min |
|
max |
|
seed |
|
thread.ratio |
|
DataFrame containing the generated random samples,
random samples:
- ID, type INTEGER, ID column.
- GENERATED_NUMBER, type DOUBLE, sample value.
## Not run:
Draw samples from a uniform distribution.
uniform <- hanaml.uniform(conn, m = 20,
low = 1, high = 5,
seed = 1, thread.ratio = 0)
> uniform$collect()
ID GENERATED_NUMBER
0 0 0.032920
1 1 0.201923
2 2 0.823313
3 3 -0.495260
4 4 -0.138329
5 5 0.677732
6 6 0.685200
7 7 0.363627
8 8 0.024849
9 9 -0.441779
## End(Not run)