Is there any reason you can’t just pass the values of a_1, a_2, and a_3 to the calculator so that you can define the list x_1=[a_1, a_2, a_3] in a calculator cell? I assume that you’re going to be using a calculator component to perform the regression.
My initial plan was to pass them all to the calculator. The problem is that I want to perform a regression on the list it doesn’t seem to work when I pass the values through CL.
But when I try to pass those values in via CL I get the points plotted but an error message attached to the regression saying “We couldn’t find any region where this model is defined.”
I assumed it was because there were just too many variables flying around but maybe there is some other reason?
Thanks for this Jay, and apologies to have wasted your time but I just then resolved the issue.
It was because one of the values that I was putting into the regression was undefined (they were coming from min(s16.sketch.yValuesAt(x_1)) and that was causing the regression to fail.