[FSTORE-1911] Improving API Docs for Transformation Functions.#748
[FSTORE-1911] Improving API Docs for Transformation Functions.#748manu-sj wants to merge 7 commits into
Conversation
There was a problem hiding this comment.
Nope, the API reference is controlled via the @public decorator in hopsworks-api. These files should be removed. To link to the API Reference, use the import path in square brackets:
[`@udf`][hsfs.hopsworks_udf.udf]There was a problem hiding this comment.
This file should be in the concept section (or maybe guide) in logicalclocks.github.io (or a part of a docstring).
docs folder was removed from hopsworks-api.
|
|
||
| Transforms each value using the formula: | ||
|
|
||
| scaled = (value - min) / (max - min) |
There was a problem hiding this comment.
Better to use ```python instead of indentation-based code blocks.
|
|
||
| where `min` and `max` are computed from the training dataset. | ||
| This transformation is useful for features that need to be bounded within a specific range, | ||
| particularly for algorithms sensitive to feature scales (e.g., neural networks, KNN). |
There was a problem hiding this comment.
Sentence per line is to be used for clearer git diff and blame.
| Returns: | ||
| Scaled feature values in the range [0, 1]. | ||
|
|
||
| See Also: |
There was a problem hiding this comment.
There is no such admonition. You can use:
Tip: See Also
...| Dictionary mapping transformed feature names to callable functions. | ||
|
|
||
| See Also: | ||
| - [`transform()`][hsfs.feature_view.FeatureView.transform]: Apply all transformations to a feature vector. |
There was a problem hiding this comment.
| - [`transform()`][hsfs.feature_view.FeatureView.transform]: Apply all transformations to a feature vector. | |
| - [`FeatureView.transform`][hsfs.feature_view.FeatureView.transform]: Apply all transformations to a feature vector. |
|
|
||
| See Also: | ||
| - [`TransformationType.MODEL_DEPENDENT`][hsfs.transformation_function.TransformationType]: Transformation type description. | ||
| - [`on_demand_transformations`][hsfs.feature_view.FeatureView.on_demand_transformations]: On-demand transformations from feature groups. |
There was a problem hiding this comment.
| - [`on_demand_transformations`][hsfs.feature_view.FeatureView.on_demand_transformations]: On-demand transformations from feature groups. | |
| - [`FeatureView.on_demand_transformations`][hsfs.feature_view.FeatureView.on_demand_transformations]: On-demand transformations from feature groups. |
| List of parameter names required by on-demand transformations. | ||
|
|
||
| See Also: | ||
| - [`on_demand_transformations`][hsfs.feature_view.FeatureView.on_demand_transformations]: The on-demand transformation functions. |
There was a problem hiding this comment.
| - [`on_demand_transformations`][hsfs.feature_view.FeatureView.on_demand_transformations]: The on-demand transformation functions. | |
| - [`FeatureView.on_demand_transformations`][hsfs.feature_view.FeatureView.on_demand_transformations]: The on-demand transformation functions. |
| Dictionary mapping on-demand feature names to callable functions. | ||
|
|
||
| See Also: | ||
| - [`compute_on_demand_features()`][hsfs.feature_view.FeatureView.compute_on_demand_features]: Compute all on-demand features. |
There was a problem hiding this comment.
| - [`compute_on_demand_features()`][hsfs.feature_view.FeatureView.compute_on_demand_features]: Compute all on-demand features. | |
| - [`FeatureView.compute_on_demand_features`][hsfs.feature_view.FeatureView.compute_on_demand_features]: Compute all on-demand features. |
|
|
||
| See Also: | ||
| - [`compute_on_demand_features()`][hsfs.feature_view.FeatureView.compute_on_demand_features]: Compute all on-demand features. | ||
| - [`request_parameters`][hsfs.feature_view.FeatureView.request_parameters]: Parameters needed for on-demand computation. |
There was a problem hiding this comment.
| - [`request_parameters`][hsfs.feature_view.FeatureView.request_parameters]: Parameters needed for on-demand computation. | |
| - [`FeatureView.request_parameters`][hsfs.feature_view.FeatureView.request_parameters]: Parameters needed for on-demand computation. |
This PR adds/fixes/changes...
JIRA Issue: -
Priority for Review: -
Related PRs: -
How Has This Been Tested?
Checklist For The Assigned Reviewer: