-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OOB issue on C++ code #53
Comments
Problem seems to be malformation of [ins] Browse[1]> str(my_values)
List of 1
$ :List of 8
..$ beta0 : num [1:6] -0.6065 -0.5524 0.2878 0.3876 -0.0607 ...
..$ theta0 : num [1:4, 1:6] 1.054 0.173 0.546 0.863 0.976 ...
..$ beta : num [1:50, 1:6] 0.355 0 0 0.274 0.359 ...
..$ theta : num [1:50, 1:4, 1:6] 0 0 0 0 0 0 0 0 0 0 ...
..$ converge: logi TRUE
..$ obj : NULL
..$ beta_hat: num [1:250, 1:6] 0.355 0 0 0.274 0.359 ...
..$ y_hat : num [1:100, 1:6] -0.927 -0.1251 -1.8735 -0.0907 0.645 ... When [ins] Browse[1]> str(my_values)
List of 2
$ :List of 8
..$ beta0 : num [1:6] -0.6065 -0.5524 0.2878 0.3876 -0.0607 ...
..$ theta0 : num [1:4, 1:6] 1.054 0.173 0.546 0.863 0.976 ...
..$ beta : num [1:50, 1:6] 0.355 0 0 0.274 0.359 ...
..$ theta : num [1:50, 1:4, 1:6] 0 0 0 0 0 0 0 0 0 0 ...
..$ converge: logi TRUE
..$ obj : NULL
..$ beta_hat: num [1:250, 1:6] 0.355 0 0 0.274 0.359 ...
..$ y_hat : num [1:100, 1:6] -0.927 -0.1251 -1.8735 -0.0907 0.645 ...
$ :List of 8
..$ beta0 : num [1:6] -0.0799 -0.0809 0.1453 0.2028 -0.0286 ...
..$ theta0 : num [1:4, 1:6] -0.0473 -0.094 0.2274 0.139 -0.0811 ...
..$ beta : num [1:50, 1:6] 1.92 1.71 1.71 1.83 1.85 ...
..$ theta : num [1:50, 1:4, 1:6] 1.9265 0.0517 -0.2163 0.1983 0.3255 ...
..$ converge: logi TRUE
..$ obj : NULL
..$ beta_hat: num [1:250, 1:6] 1.92 1.71 1.71 1.83 1.85 ...
..$ y_hat : num [1:100, 1:6] 6.19 -1.42 -2.09 -5.25 2.33 ... When [ins] Browse[1]> str(my_values)
List of 1
$ :List of 7
..$ : num [1:6, 1, 1] -0.607 -0.5532 0.2879 0.3877 -0.0606 ...
..$ : num [1:4, 1:6, 1] 1.049 0.161 0.54 0.862 0.975 ...
..$ : num [1:50, 1:6, 1] 0.393 0 0 0.28 0.4 ...
..$ : num [1:50, 1:4, 1:6] 0 0 0 0 0 0 0 0 0 0 ...
..$ : num [1, 1, 1] 1
..$ : num [1:250, 1:6, 1] 0.393 0 0 0.28 0.4 ...
..$ : num [1:100, 1:6, 1] -0.969 -0.142 -1.881 -0.101 0.676 ...
..- attr(*, "dim")= int [1:2] 7 1 However, if [ins] Browse[1]> str(my_values)
List of 2
$ :List of 1
..$ : num [1:6, 1, 1] -0.607 -0.5532 0.2879 0.3877 -0.0606 ...
$ :List of 1
..$ : num [1:4, 1:6, 1] 1.049 0.161 0.54 0.862 0.975 ... So the problem is possibly around here, I'll investigate further: Lines 206 to 262 in 081383c
|
Alright. Thank you for the update. |
Almost done. Another question: is is OK for the output |
This is okay |
Code for reproduction: https://gist.github.com/wleoncio/0318b15226128e6aef7898d4a2c009e9
Error message:
The text was updated successfully, but these errors were encountered: