Skip to content

Commit

Permalink
Merge pull request #106 from google/main
Browse files Browse the repository at this point in the history
Sync stable branch to main branch
  • Loading branch information
achoum authored Jun 18, 2024
2 parents 1fc048a + 74026c8 commit 7a64c83
Show file tree
Hide file tree
Showing 163 changed files with 21,182 additions and 937 deletions.
2 changes: 1 addition & 1 deletion documentation/public/docs/guide_how_to_improve_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ for more details.
learner = ydf.RandomForestLearner(
split_axis="SPARSE_OBLIQUE",
sparse_oblique_normalization="MIN_MAX",
sparse_oblique_num_projections_exponent=1,
sparse_oblique_num_projections_exponent=1.0,
...)
```

Expand Down
3 changes: 3 additions & 0 deletions documentation/public/docs/py_api/IsolationForestLearner
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[TOC]

::: ydf.IsolationForestLearner
3 changes: 3 additions & 0 deletions documentation/public/docs/py_api/IsolationForestModel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[TOC]

::: ydf.IsolationForestModel
4 changes: 4 additions & 0 deletions documentation/public/docs/py_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ A **Learner** trains models and can be cross-validated.
- [DecisionTreeLearner](CartLearner.md): Alias to
[CartLearner](CartLearner.md).
- [DistributedGradientBoostedTreesLearner](DistributedGradientBoostedTreesLearner.md)
- [IsolationForestLearner](IsolationForestLearner.md)

All learners derive from [GenericLearner](GenericLearner.md).

Expand All @@ -29,6 +30,7 @@ arguments of learner classes.
- [RandomForestModel](RandomForestModel.md)
- [CARTModel](RandomForestModel.md): Alias to
[RandomForestModel](RandomForestModel.md).
- [IsolationForestModel](IsolationForestModel.md)

All models derive from [GenericModel](GenericModel.md).

Expand Down Expand Up @@ -65,6 +67,8 @@ and evaluation.
e.g. training date, uid.
- [from_tensorflow_decision_forests](utilities.md#ydf.from_tensorflow_decision_forests):
Load a TensorFlow Decision Forests model from disk.
- [from_sklearn](utilities.md#ydf.from_sklearn): Convert a scikit-learn model
into a YDF model.

## Custom Loss

Expand Down
2 changes: 2 additions & 0 deletions documentation/public/docs/py_api/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

::: ydf.from_tensorflow_decision_forests

::: ydf.from_sklearn

::: ydf.RegressionLoss

::: ydf.BinaryClassificationLoss
Expand Down
Loading

0 comments on commit 7a64c83

Please sign in to comment.