1
- # Current Release
1
+ # Current version (not yet released; still in development)
2
2
3
3
## Major Features and Improvements
4
- * Add a combine_analyzer() that supports user provided combiner, conforming to
4
+ * Added a combine_analyzer() that supports user provided combiner, conforming to
5
5
beam.CombinFn(). This allows users to implement custom combiners
6
6
(e.g. median), to complement analyzers (like min, max) that are
7
7
prepackaged in TFT.
8
+ * Quantiles Analyzer (` tft.quantiles ` ).
8
9
9
10
## Bug Fixes and Other Changes
10
-
11
+ * Depends on ` apache-beam[gcp]>=2.2,<3 ` .
12
+ * Fixes some KeyError issues that appeared in certain circumstances when one
13
+ would call AnalyzeAndTransformDataset (due to a now-fixed Apache Beam [ bug]
14
+ (https://issues.apache.org/jira/projects/BEAM/issues/BEAM-2966 )).
11
15
* Allow all functions that accept and return tensors, to accept an optional
12
16
name scope, in line with TensorFlow coding conventions.
13
-
14
17
* Update examples to construct input functions by hand instead of using helper
15
18
functions.
16
-
17
19
* Change scale_by_min_max/scale_to_0_1 to return the average(min, max) of the
18
20
range in case all values are identical.
19
-
20
21
* Added export of serving model to examples.
22
+ * Use "core" version of feature columns (tf.feature_column instead of
23
+ tf.contrib) in examples.
24
+ * A few bug fixes and improvements for coders regarding Python 3.
21
25
22
26
## Breaking changes
23
27
28
+ * Requires pre-installed TensorFlow >= 1.4.
29
+ * No longer distributing a WHL file in PyPI. Only doing a source distribution
30
+ which should however be compatible with all platforms (ie you are still able
31
+ to ` pip install tensorflow-transform ` and use ` requirements.txt ` or ` setup.py `
32
+ files for environment setup).
24
33
* Some functions now introduce a new name scope when they did not before so the
25
34
names of tensors may change. This will only affect you if you directly lookup
26
35
tensors by name in the graph produced by tf.Transform.
36
+ * Various Analyzer Specs (_ NumericCombineSpec, _ UniquesSpec, _ QuantilesSpec) are
37
+ now private. Analyzers are accessible only via the top-level TFT functions (
38
+ min, max, sum, size, mean, var, uniques, quantiles).
27
39
28
40
# Release 0.3.1
29
41
@@ -38,7 +50,7 @@ in input_fn_maker there is now also a `*_serving_input_receiver_fn()`.
38
50
vocabulary (as generated by ` tft.uniques ` ) to several different columns.
39
51
* Provide a source distribution tar ` tensorflow-transform-X.Y.Z.tar.gz ` .
40
52
41
- ## Breaking changes
53
+ ## Breaking Changes
42
54
* The default prefix for ` tft.string_to_int ` ` vocab_filename ` changed from
43
55
` vocab_string_to_int ` to ` vocab_string_to_int_uniques ` . To make your pipelines
44
56
resilient to implementation details please set ` vocab_filename ` if you are using
@@ -57,12 +69,12 @@ the generated vocab_filename on a downstream component.
57
69
use multi-threaded workers.
58
70
* Performance optimizations in ExampleProtoCoder.
59
71
* Depends on ` apache-beam[gcp]>=2.1.1,<3 ` .
60
- * Depends on ` protobuf>=3.3.0 <4 ` .
72
+ * Depends on ` protobuf>=3.3<4 ` .
61
73
* Depends on ` six>=1.9,<1.11 ` .
62
74
63
- ## Breaking changes
75
+ ## Breaking Changes
64
76
* Requires pre-installed TensorFlow >= 1.3.
65
- * Removed ` tft.map ` use ` tft.apply_function ` instead (as needed).
77
+ * Removed ` tft.map ` use ` tft.apply_function ` instead (as needed).
66
78
* Removed ` tft.tfidf_weights ` use ` tft.tfidf ` instead.
67
79
* ` beam_metadata_io.WriteMetadata ` now requires a second ` pipeline ` argument
68
80
(see examples).
0 commit comments