Skip to content

Commit

Permalink
Release YDF 0.4.0
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 624278156
  • Loading branch information
achoum authored and copybara-github committed Apr 12, 2024
1 parent 61b00fb commit 34c38c7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
28 changes: 21 additions & 7 deletions yggdrasil_decision_forests/port/python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# Changelog

## HEAD
## 0.4.0 - 2024-04-10

### Feature

- Add support for manual selection of multi-dimensional features by name.
- Add programmatic access to partial dependence plots and variable importances
in a model analysis.
- Add `to_tensorflow_function` function to convert a YDF model into a
TensorFlow function / module.
- Add support for Servo API to `to_tensorflow_saved_model` function.
- 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

- Add tutorial
[Vertex AI with TF Serving](https://ydf.readthedocs.io/en/latest/tutorial/tf_serving/)
- Add tutorial
[Deep-learning with YDF and TensorFlow](https://ydf.readthedocs.io/en/latest/tutorial/compose_with_tf/)

## 0.3.0 - 2024-03-15

Expand Down
2 changes: 1 addition & 1 deletion yggdrasil_decision_forests/port/python/config/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from setuptools.command.install import install
from setuptools.dist import Distribution

_VERSION = "0.3.0"
_VERSION = "0.4.0"

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
Expand Down
2 changes: 1 addition & 1 deletion yggdrasil_decision_forests/port/python/ydf/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

version = "0.3.0"
version = "0.4.0"

0 comments on commit 34c38c7

Please sign in to comment.