// section 1
bivar = dt << Bivariate( Y( :PolarRadius ), X( :PolarThetaRound ),
Fit Spline( 0.008, {Line Color( {212, 73, 88} )} ),
Local Data Filter( Add Filter( columns( :PolarRadius, :i ),
Where( :PolarRadius >= 22.5 & :PolarRadius <= 26.5 ),
Where( :i >= 0.4 & :i <= 0.41 )
)
)
);
// section 2
bivar << (curve[1] << savePredicteds);
I am using JMP 14.3.0 on Windows 10. I am working in a table with 5M rows - a photograph of a disc, I am trying to find the edge. When I run the above code as one block, it takes over two minutes and the new column ("Spline Predictor for PolarRadius") is full of incorrect values; the formula for the column includes an array [9980x5]. If I run section 1 alone, it takes a 5 seconds. And then if I run section 2 alone, it takes 2 seconds, and the new column is correct and includes an array 10x smaller: [971x5]. I have tried inserting a few lines between section 1 and 2, but nothing changes. How do I get that "SavePredicteds" function to do the right thing without babysitting it?