You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/distribution_aware_encoder.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Distribution-Aware Encoder
2
2
3
3
## Overview
4
-
The Distribution-Aware Encoder is an advanced preprocessing layer that automatically detects and handles various types of data distributions. It uses TensorFlow Probability (tfp) for accurate modeling and applies specialized transformations while preserving the statistical properties of the data.
4
+
The **Distribution-Aware Encoder** is an advanced preprocessing layer that automatically detects and handles various types of data distributions. It leverages TensorFlow Probability (tfp) for accurate modeling and applies specialized transformations while preserving the statistical properties of the data.
5
5
6
6
## Features
7
7
@@ -80,7 +80,7 @@ The Distribution-Aware Encoder is an advanced preprocessing layer that automatic
80
80
81
81
### Basic Usage
82
82
83
-
The capability only works with numerical features!
83
+
The Distribution-Aware Encoder works seamlessly (and only) with numerical features. Enable it by setting `use_distribution_aware=True` in the `PreprocessingModel`.
Copy file name to clipboardExpand all lines: docs/features.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Explore various methods to define numerical features tailored to your needs:
13
13
"feat1": "float",
14
14
"feat2": "FLOAT",
15
15
"feat3": "FLOAT_NORMALIZED",
16
-
"feat3": "FLOAT_RESCALED",
16
+
"feat4": "FLOAT_RESCALED",
17
17
...
18
18
}
19
19
```
@@ -50,7 +50,7 @@ Explore various methods to define numerical features tailored to your needs:
50
50
"feat3": NumericalFeature(
51
51
name="feat3",
52
52
feature_type=FeatureType.FLOAT_DISCRETIZED,
53
-
bin_boundaries=[(1, 10)],
53
+
bin_boundaries=[0.0, 1.0, 2.0],
54
54
),
55
55
"feat4": NumericalFeature(
56
56
name="feat4",
@@ -60,6 +60,10 @@ Explore various methods to define numerical features tailored to your needs:
60
60
}
61
61
```
62
62
63
+
### 📊 **Distribution-Aware Encoding**
64
+
65
+
Enhance your numerical feature processing by leveraging the **Distribution-Aware Encoder**. This allows automatic or manual detection of data distributions, applying appropriate transformations to preserve the integrity and statistical properties of your data.
66
+
63
67
Here's how the numeric preprocessing pipeline looks:
0 commit comments