cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
shrirams
Level III

Can I make Formula Depot invisible?

Hi - I am using Formula Depot as follows to run the NN model fit from table dt1 on a new table dt2:

 

nn = dt1 << Neural(
	Y( :Vg ),
	X( :log10Id ),
	Informative Missing( 0 ),
	Validation Method( "Holdback", 0.3333 ),
	Fit( NTanH( 3 ) ), Invisible
	);
	fd1 = Formula Depot();
	nn << Publish Prediction Formula;
	fd1 << Run Scripts(Table(dt2), Formulas(1));
	fd1 << Close Window;

I would like to ideally run this with no windows opening up as this code runs inside a for loop. However, when I run the code, the Formula Depot window opens up.

 

I have tried:

fd1 = Formula Depot(Invisible);

and

fd1 = Formula Depot() << Invisible;

But, none of them work. Is there any suggestion?

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
shrirams
Level III

Re: Can I make Formula Depot invisible?

Hi Jim - thanks for the suggestion. At what point do you recommend putting in that code? If it is after 

fd1 = Formula Depot();

then the window still opens up momentarily before your suggested code snippet suppresses it. Is there some way to not have the Formula Depot window pop up in the first place?

View solution in original post

shrirams
Level III

Re: Can I make Formula Depot invisible?

I think I found the solution using a different forum post.

 

fd1 = Formula Depot() << Show Window(0); 

suppresses the window.

 

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: Can I make Formula Depot invisible?

Here is my suggestion is:

window(dt1<<get name || " - Formula Depot")<<visibility("hidden")<<minimize window;
Jim
shrirams
Level III

Re: Can I make Formula Depot invisible?

Hi Jim - thanks for the suggestion. At what point do you recommend putting in that code? If it is after 

fd1 = Formula Depot();

then the window still opens up momentarily before your suggested code snippet suppresses it. Is there some way to not have the Formula Depot window pop up in the first place?

shrirams
Level III

Re: Can I make Formula Depot invisible?

I think I found the solution using a different forum post.

 

fd1 = Formula Depot() << Show Window(0); 

suppresses the window.