tachukao
tachukao
It will be useful to have a `percentile` function in `Ndarray` and `Matrix` with the signature `val percentile : ?keep_dims:bool -> axis:int -> pct:float -> Arr.arr -> Arr.arr` This shouldn't...
It would be helpful to have functions like `ones_like`, `zeros_like`, and `empty_like` in Owl, similar to the ones in numpy https://numpy.org/doc/stable/reference/generated/numpy.ones_like.html
As discussed in #531, we should add an unit test module for CGraph. Although most of the operations are defined in `Algodiff`, we should have unit tests for the init,...
The `softmax` operation in Algodiff is not twice-differentiable. ```ocaml and softmax ?(axis = -1) x = let c = Arr A.(max ~axis (unpack_arr x)) in let y = exp (x...
A function that prints the shape of an N-dimensional array would be super useful e.g. ``` let print_shape ?label x = let s = Arr.shape x |> Array.map string_of_int |>...
We recently encountered the following dilemma https://github.com/owlbarn/owl/pull/468: On the one hand we would like to wrap long `float list`. That is, we would prefer https://github.com/tachukao/owl/blob/6cd62ddcdab29f5f67da537be2d4e0e4df342bb1/test/unit_ndarray_core_generic.ml#L306 to https://github.com/tachukao/owl/blob/34c0768572d73f24431297415c640faa1f4d6b96/test/unit_ndarray_core_generic.ml#L27://github.com/tachukao/owl/blob/34c0768572d73f24431297415c640faa1f4d6b96/test/unit_ndarray_core_generic.ml#L275 On the other...
Is there any way to write a skeleton for a project which does not automatically generate a package inside `src` with the name of the project? Thanks!
The current design does not naturally support integrating odes backwards in time. This will require some thinking about type`tspec` and how it affects the different solvers.
At some point we should add __repr__ for all these objects (and __str__ in some cases). In these representations, we can provide summary of hyperparameters and specific flags. I think...
All the examples on the develop branch are currently outdated. We need to update them and make sure they run with the new codebase.