You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lettest_poly()=let x =Mat.(uniform 1001*$9.) inlet y =Mat.(sin x + (gaussian ~sigma:0.11001)) inlet n =4inlet p =Regression.D.poly x y n inlet z =Array.init (n +1) (funi -> Mat.(pow_scalar x (float_of_int i)))
|>Mat.concatenate ~axis:1inMat.(z *@ p)
Running this example always leads to a segfault for me if I increase n any higher than 2.
I took this example from the examples directory in this repo.
I am runnning owl 1.2.
The text was updated successfully, but these errors were encountered:
Running this example always leads to a segfault for me if I increase
n
any higher than 2.I took this example from the examples directory in this repo.
I am runnning owl 1.2.
The text was updated successfully, but these errors were encountered: