Fredrik Bagge Carlson

Results 317 issues of Fredrik Bagge Carlson

I was wondering whether or not it would be a good idea to special-case the type `Diagonal` to only store the internal vector representing the diagonal of the matrix? I'm...

I am just starting out with some experiments using Soss, and came up with the following simple model of a review process with articles and reviewers. The model is happy...

I get a cryptic out-of-bounds error trying to run inference on the following model. It samples from the prior just fine, the error originates from DynamicHMC. The stack trace is...

Add an example of tangent-space regularization for identification of smooth dynamical systems. Proposed in [Machine Learning and System Identification for Estimation in Physical Systems, 2018](https://lup.lub.lu.se/search/publication/ffb8dc85-ce12-4f75-8f2b-0881e492f6c0)

```julia julia> using Symbolics julia> @variables u[1:2, 1:5] 1-element Vector{Symbolics.Arr{Num, 2}}: u[1:2,1:5] julia> Q2 = I(2) 2×2 Diagonal{Bool, Vector{Bool}}: 1 ⋅ ⋅ 1 julia> dot(u, Q2, u) ERROR: MethodError: *(::Diagonal{Bool,...

Would it make sense to try to make basic operations between `Num`, such as the one below, type stable, at least in their return type? ```julia julia> @code_warntype a/a MethodInstance...

While translating the example https://github.com/JuliaRobotics/RigidBodyDynamics.jl/blob/master/examples/6.%20Symbolics%20using%20SymPy/6.%20Symbolics%20using%20SymPy.jl from using SymPy to using Symbolics.jl, I encountered the following missing functions ```julia Base.typemax Base.typemin Base.eps ``` Which I naively defined as ```julia Base.eps(::Type{Num}) =...

MT fails to recognize a simplification of scalars that are transposed. In the following MWE, the `transpose` wrapper prevents the multiplication be 0 to be simplified. ```julia julia> simplify(0*Ja) ModelingToolkit.Constant(0)...

I have played around with and enjoyed this package and OpenAIGym.jl for a few days now. When trying to make my code run a bit faster, I checked for type...

This commit 28d5953 introduced a bug. While iterating an episode, identifcal values are obtained for s and s1, e.g. ``` for (s,a,r,s1) in ep ... end debug> s 2-element PyArray{Float64,1}:...