-
Notifications
You must be signed in to change notification settings - Fork 13
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
Errors while computing lines using recursive regression #11
Comments
The first error happens when the dimension of xtx and v don't match. The second problem can happen because the optimization problem isn't very stable in its current form. |
As per the discussion here, I modified the code to use
It looks like the "non-conformable" issue is arising due to changes in the second block - A point to note is that this behaviour seemingly occurs randomly - it happens more with higher number of lines needing to be generated but it can occur for 3 lines to be generated, for example. If there is a workaround for this issue regarding dimensionality, please let me know. Thanks! |
Can you check the dimensions of |
I captured some outputs below -
It looks like in all cases (except the erroneous ones) the dimensions of The complete R block I am using looks like this -
|
In the xwx function, the first line is Nam suggests this should be changed to Can you try that out and see if it solves this? |
Hi, thanks for the suggestion, however, unfortunately still seeing these issues. Let me know if there is a workaround or if there is a direction I can investigate in - though the cases are small in number, I would still like to get to the bottom of this as it'll help provide more accurate metrics. |
Hi, is there any workaround for this? Getting a good number of results with the following exception -
The code in R looks is
|
It looks like the failing matrix multiplication has dimensions
Is there a workaround for this? Please let me know if so. I added a print statement in
|
The dataframe looks like
|
If possible, some documentation about the different functions like |
Nam sent me a fix with additional documentation that I pushed to the repo as a separate file just now. Let me know if it helps. |
Hi,
While running the algorithm for generating lines using recursive regression, I noticed the following exceptions -
I am unable to find the root cause of this exception - it would be great if a workaround or a solution can be suggested!
Another exception that comes up commonly is
I suspect that
cvxpy
is unable to find a solution in this case - which returns x asNone
. Again, if a workaround or a best-practise can be suggested, that would be great. Thanks!The text was updated successfully, but these errors were encountered: