function  acceptLoadedInput(dataset,[p,l]){
  console.log(dataset.input);
  dataset.updateStatus('done',new Date().getTime());
  dataset.updateStatus('record_count',p.length)
  dataset.labels = l;
  dataset.records = p;
  dataset.updateStatus('status',"ready");
  let status = dataset.status;
  let elapsedSecs = ((status.done - status.start)/1000).toFixed(3);
  console.log(`Loaded ${status.record_count} records in ${elapsedSecs} seconds for "${dataset.key}"`);
}
/* New data and labels have arrived for an input.
   Assiciate them with the input and mark it as ready. */
New data and labels have arrived for an input.
Assiciate them with the input and mark it as ready.
New data and labels have arrived for an input . Assiciate them with the input and mark it as ready .
function  acceptLoadedInput(dataset,[p,l]){
  console.log(dataset.input);
  dataset.updateStatus('done',new Date().getTime());
  dataset.updateStatus('record_count',p.length)
  dataset.labels = l;
  dataset.records = p;
  dataset.updateStatus('status',"ready");
  let status = dataset.status;
  let elapsedSecs = ((status.done - status.start)/1000).toFixed(3);
  console.log(`Loaded ${status.record_count} records in ${elapsedSecs} seconds for "${dataset.key}"`);
}
function acceptLoadedInput ( dataset , [ p , l ] ) { console . log ( dataset . input ) ; dataset . updateStatus ( 'done' , new Date ( ) . getTime ( ) ) ; dataset . updateStatus ( 'record_count' , p . length ) dataset . labels = l ; dataset . records = p ; dataset . updateStatus ( 'status' , "ready" ) ; let status = dataset . status ; let elapsedSecs = ( ( status . done - status . start ) / 1000 ) . toFixed ( 3 ) ; console . log ( ` ${ status . record_count } ${ elapsedSecs } ${ dataset . key } ` ) ; }
New data and labels have arrived for an input.
New data and labels have arrived for an input .