Skip to content

Latest commit

 

History

History

tfdf-penguins

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Tensorflow Decision Forests Penguins Demo

See this example live!

Contents

The demo shows how to use the Tensorflow.js decision forests package to run a converted model.

Converting Model

  1. Create a Python TensorFlow Decision Forests model.

  2. Save the model (will be exported as a SavedModel).

  3. Run the model through the tensorflowjs_converter.

$ tensorflowjs_converter /path/to/saved_model /path/to/tfjs_model
  1. Use the tfjs-tfdf library to run the converted model in the web.

Demo

The demo in the index.html file is based on the SimpleML for Sheets tutorial and shows how to predict the species of a penguin based on other information about it.