I'm running JMP Pro 11.
I'm working on a project that involves fitting a lot of Gaussian processes. I wrote a script that reads in a set of data files, fits a Gaussian process to each one, makes predictions on another dataset, then writes the predictions to a file.
But now I want to save the model parameters (mu, sigma squared, theta) and write them to a separate file as well. How can I do this? First the model is created, gp. Then I want to save the model report. By hand I can do Edit > Copy as text, paste it into another file and save it. I can post process it to get the parameters out, although it isn't ideal. How can I have a script do this? Here's the code I have now:
gp = Gaussian Process( Y( :y ), X( ), Set Correlation Function( "Cubic" ) ); // that should be a : x, not a smiley face
gp << Save( <filepath> ); // doesn't work
I couldn't get Save or Save Text File to work. I also tried some variations on Main Menu("Copy as text"), but I couldn't get that to work either.
Thanks for any help.