This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //logistic regression in excel using javascript | |
| let predictor_names | |
| let select_values | |
| //const form_data={}// takes the place of the from where users entered data on original webpage | |
| let model_results={} | |
| async function auto_exec(){ | |
| // set the tool css | |
| Jade.set_css(gist_files('style.css'),"naive-bayes") | |
| // place the tool html | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //logistic regression in excel using solver | |
| let predictor_names | |
| let select_values | |
| let baseline_ll | |
| async function auto_exec(){ | |
| // set the tool css | |
| Jade.set_css(gist_files('style.css'),"naive-bayes") | |
| // place the tool html | |
| tag("tools-body").innerHTML=gist_files('tool.html') | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //alpha vantage | |
| const all_params=["symbol","outputsize","interval","adjusted","slice"] | |
| const process_with={ | |
| INCOME_STATEMENT:{fn:fetch_json,on_success:place_json}, | |
| BALANCE_SHEET:{fn:fetch_json,on_success:place_json}, | |
| CASH_FLOW:{fn:fetch_json,on_success:place_json}, | |
| EARNINGS:{fn:fetch_json,on_success:place_earnings}, | |
| OVERVIEW:{fn:fetch_json,on_success:place_one_level_json}, | |
| } | |
| const can_be_adjusted=["TIME_SERIES_DAILY","TIME_SERIES_WEEKLY","TIME_SERIES_MONTHLY"] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | async function auto_exec(){ | |
| const jet_engine_gist_id = "6e16e7521df65a93b17dd9b74c9161eb" | |
| await jade.load_gist(jet_engine_gist_id) | |
| Jade.set_css(gist_files('style.css'),"jet") // load css for these tools | |
| jade_modules.jet_engine.launch(my_gist_id()) // run the jet engine on this gist | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | async function auto_exec(){ | |
| const jet_engine_gist_id = "6e16e7521df65a93b17dd9b74c9161eb" | |
| await jade.load_gist(jet_engine_gist_id) | |
| console.log("jet css",gist_files('style.css')) | |
| Jade.set_css(gist_files('style.css'),"jet") // load css for these tools | |
| jade_modules.jet_engine.launch(my_gist_id()) // run the jet engine on this gist | |
| console.log("just loaded Jet Tools for general use (not in development mode)") | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | async function auto_exec(){ | |
| const jet_engine_gist_id = "6e16e7521df65a93b17dd9b74c9161eb" | |
| await jade.load_gist(jet_engine_gist_id) | |
| console.log("jet css",gist_files('style.css')) | |
| Jade.set_css(gist_files('style.css'),"jet") // load css for these tools | |
| jade_modules.jet_engine.launch(my_gist_id(),"https://localhost:3333/ee-atlas/s/local-gist-server") // run the jet engine on this gist | |
| console.log("just loaded Jet Tool Development") | |
| } | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const version=3 | |
| function auto_exec(){ | |
| ;console.log("==========================",version,"===========================") | |
| //console.log("at jade_engine.autoexec -------------- 3 -------------",my_gist_id()) | |
| } | |
| async function launch(gist_id, local_url){ | |
| // gist_id is the gist id of the tool set you are trying to launch | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | async function auto_exec(){ | |
| Jade.set_css(gist_files('style.css')) | |
| tag("tools-body").innerHTML=gist_files('goal-seek.html') | |
| const tool_data = await jade.read_object_from_workbook(window.active_tool) | |
| console.log("tool_data",tool_data) | |
| for(const[key,value] of Object.entries(tool_data)){ | |
| console.log(key, value) | |
| tag(key).value=value | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //data.world | |
| async function auto_exec(){ | |
| // set the tool css | |
| Jade.set_css(gist_files('style.css'),"naive-bayes") | |
| // place the tool html | |
| tag("tools-body").innerHTML=gist_files('tool.html') | |
| // fill in values from last tool use | |
| jade_modules.jet_engine.restore_html_values() | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //Naive Bayes | |
| let probabilities={} | |
| let select_values=[] | |
| async function auto_exec(){ | |
| // set the tool css | |
| Jade.set_css(gist_files('style.css'),"naive-bayes") | |
| // place the tool html | |
| tag("tools-body").innerHTML=gist_files('tool.html') | |
| // fill in values from last tool use |