Code viewer for World: Doodle Neural Network - pl...

// Cloned by Sophie Renshaw on 24 Nov 2021 from World "Doodle Neural Network" by Sophie Renshaw 
// Please leave this clone trail here.
 


// Cloned by Sophie Renshaw on 20 Nov 2021 from World "Character recognition neural network" by "Coding Train" project 
// Please leave this clone trail here.


$.getScript ( "/uploads/50ph/classifier.js")
$.getScript ( "/uploads/50ph/data.js")
$.getScript ( "/uploads/50ph/sketch.js")

$.getScript ( "https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.2.0/p5.min.js")
$.getScript ( "https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@0.8.0")


AB.loadCSS("/uploads/50ph/doodle.css")
  // 1 Doodle header 
  thehtml = '<button class="train">train</button>';
  AB.msg ( thehtml, 1 );
  
  // 3 Training header
  thehtml = '<button class="test">test</button>';
  AB.msg ( thehtml, 3 );
  
  // 5 Testing header
  thehtml = '<button class="guess">guess</button>';
  AB.msg ( thehtml, 5 );
  
  // 7 Demo header 
  thehtml = '<button class="clear">clear</button>';
  AB.msg ( thehtml, 7 );