Genetic Programming in Python, with a scikit-learn inspired API
-
Updated
Feb 15, 2022 - Python
The packed_t
is used to pack bits together. However, it seems that perhaps std::bitset
might do this better, and also offer more features, functions, etc. It might simplify the code!? and might? run faster?
Add a description, image, and links to the genetic-programming topic page so that developers can more easily learn about it.
To associate your repository with the genetic-programming topic, visit your repo's landing page and select "manage topics."
Current type hints are using
np.array
which is... actually not a even class, but a convenience function for creation ofnp.ndarray
.But instead of just substituting usages of
np.array
, it's better to use types fromnumpy.typing
module, which was introduced in Numpy 1.20. (https://numpy.org/devdocs/reference/typing.html#module-numpy.typing). Besides parameterizedNDArray[DType]
it also i