-
I am trying to translate an R script into C++ that employs the cmaes library:
https://www.rdocumentation.org/packages/cmaes/versions/1.0-11/topics/cma_es
https://github.com/cran/cmaes/blob/master/…
-
@rreusser, it seems you're right. I'm not sure why, but it isn't fetching random values. Sorry for doubting you. Looks like we need to hunt this down.
tab58 updated
8 years ago
-
@NAThompson : I'm seeing:
```
Error at libs/math/test/linear_regression_test.cpp:test_permutation_invariance:167:
Mollified relative error in __float128 precision is 0.00238, which exceeds 0.00…
-
At this point we're using just a integer counting up as an identifier.
My Suggestion would be to use the present UUIDv3 generator similar to the existing offline player generator. So the UUIDs can'…
-
Variables mt and mti appear to fully determine the state of the generator.
I suggest implementing functions get_state and set_state that respectively return and receive a state object containing th…
-
### Environment
* **FreeOrion Version**: v0.4.9 and probably any other.
* **Operating System**: Any
### Description
Different OS uses different random number generators. This makes impossible …
-
There's a variety of modern PRNG algorithms we could choose from, with various tradeoffs around speed, memory, predictability, complexity, miscellaneous statistical properties, and also amenability to…
-
https://github.com/ekzhu/datasketch/blob/ebe4ca4a5ddf5763df8ea80a9b6851a6044b1fd0/datasketch/minhash.py#L12
in this implementation of minhash, it seems like the hasher is using 32 bits (`sha1_hash3…
-
Not a comprehensive list, but we should:
- [x] Document `torch.Generator` better, e.g., it's only CPU RNG, examples, ctor, etc.
- [x] Provide CUDA equivalent of `torch.Generator`.
- [x] Provide b…
ssnl updated
9 months ago
-
The "obvious" approach of converting to a float, then multiplying by a scale factor is slow, and has the potential to give an answer of `1.0`.
The easiest option is:
``` julia
import Base: signific…