Skip to content

Python API 0.4.0

Compare
Choose a tag to compare
@achoum achoum released this 12 Apr 20:41
· 216 commits to main since this release

Python API - 0.4.0 - 2024-04-10

Feature

  • Multi-dimensional features can be selected / configured with the features=
    training argument.
  • Programmatic access to partial dependence plots and variable importances.
  • Add model.to_tensorflow_function() function to convert a YDF model into a
    TensorFlow function that can be combined with other TensorFlow operations.
    This function is compatible with Keras 2 and Keras 3.
  • Add arguments servo_api=False and feed_example_proto=False for
    model.to_tensorflow_function(mode="tf") to export TensorFlow SavedModel
    following respectively the Servo API and consuming serialized TensorFlow
    Example protos.
  • Add pre_processing and post_processing arguments to the
    model.to_tensorflow_function function to pack pre/post processing
    operations in a TensorFlow SavedModel.

Tutorials