Skip to content

Commit

Permalink
[YDF] Prepare release of PYDF 0.9.0
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 701968413
  • Loading branch information
rstz authored and copybara-github committed Dec 2, 2024
1 parent ca346cb commit cfd4275
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
9 changes: 8 additions & 1 deletion yggdrasil_decision_forests/port/python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## HEAD
## 0.9.0 - 2024-12-02

### Feature

### Breaking

Expand All @@ -23,11 +25,16 @@
- Add standalone prediction evaluation `ydf.evaluate_predictions()`.
- Add new hyperparameter `sparse_oblique_max_num_projections`.
- Add options "POWER_OF_TWO" and "INTEGER" for sparse oblique weights.
- Emit proper errors when using lists for multi-dimensional features.

### Fix

- Regression and Ranking CEPs scaling corrected.

### Release music

The John B. Sails. Traditional

## 0.8.0 - 2024-09-23

### Breaking
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 @@ -22,7 +22,7 @@
from setuptools.command.install import install
from setuptools.dist import Distribution

_VERSION = "0.8.0"
_VERSION = "0.9.0"

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jaxlib; platform_machine != 'aarch64' and platform_system != 'Windows'
optax; platform_machine != 'aarch64' and platform_system != 'Windows' and python_version >= '3.9'
flatbuffers; platform_machine != 'aarch64' and platform_system != 'Windows' and python_version >= '3.12'
tensorflow-datasets; platform_machine != 'aarch64' and platform_system != 'Windows' and python_version >= '3.9'
grain; platform_machine != 'aarch64' and platform_system != 'Windows'
grain; platform_machine != 'aarch64' and platform_system == 'Linux' and python_version >= '3.10'
fastavro
polars
4 changes: 2 additions & 2 deletions yggdrasil_decision_forests/port/python/tools/package_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ function test_package() {
local scaled_new_file_size=$(($new_file_size * 10))
if [ "$scaled_new_file_size" -gt "$scaled_old_file_size" ]; then
echo "New package is 20% larger than the previous one."
echo "This may indicates an issue with the wheel, aborting."
echo "This may indicate an issue with the wheel, aborting."
exit 1
fi
scaled_old_file_size=$(($old_file_size * 8))
if [ "$scaled_new_file_size" -lt "$scaled_old_file_size" ]; then
echo "New package is 20% smaller than the previous one."
echo "This may indicates an issue with the wheel, aborting."
echo "This may indicate an issue with the wheel, aborting."
exit 1
fi
rm -r previous_package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
cls
setlocal

set YDF_VERSION=0.8.0
set YDF_VERSION=0.9.0
set BAZEL=bazel.exe
set BAZEL_SH=C:\msys64\usr\bin\bash.exe
set BAZEL_FLAGS=--config=windows_cpp20 --config=windows_avx2
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.8.0"
version = "0.9.0"

0 comments on commit cfd4275

Please sign in to comment.