Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
lwx228
Level VII

How is part of this decision tree interface implemented with JSL?

When Boston housing.jmp is done with a decision tree operation, how do you use JSL to "C2018-08-23_21-30-06.pngopy Table" on a red-box range?Thank you very much!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: How is part of this decision tree interface implemented with JSL?

You can copy the table box() to the clip board by using the

    

obj << Copy Data;

message, where obj is a pointer to the data table in the report output for the Partition Platform.

 

Here is a simple JSL example.  Once you run this code, if you open a new script window, and paste from the clipboard, you will see the results.

names default to here(1);

nw=new window("xx",
	table box(
		string col box("",
			{"Training","Validation","Test"}
		),
		number col box("RSquare", {.88,.74,.746})
	)
);

nw[tablebox(1)] << copy data;
Jim

View solution in original post

2 REPLIES 2
Highlighted
txnelson
Super User

Re: How is part of this decision tree interface implemented with JSL?

You can copy the table box() to the clip board by using the

    

obj << Copy Data;

message, where obj is a pointer to the data table in the report output for the Partition Platform.

 

Here is a simple JSL example.  Once you run this code, if you open a new script window, and paste from the clipboard, you will see the results.

names default to here(1);

nw=new window("xx",
	table box(
		string col box("",
			{"Training","Validation","Test"}
		),
		number col box("RSquare", {.88,.74,.746})
	)
);

nw[tablebox(1)] << copy data;
Jim

View solution in original post

Highlighted
lwx228
Level VII

Re: How is part of this decision tree interface implemented with JSL?

I see. Thank Jim.
Article Labels

    There are no labels assigned to this post.