From 8d5198a03f58b93c3c1b3f90a2c2eb5e370fd25d Mon Sep 17 00:00:00 2001 From: tf-metadata-team Date: Fri, 31 Aug 2018 16:07:27 -0400 Subject: [PATCH] Project import generated by Copybara. PiperOrigin-RevId: 211132028 --- RELEASE.md | 35 ++++++++++++++++++++++- setup.py | 2 +- tensorflow_metadata/proto/v0/schema.proto | 10 ++++++- tensorflow_metadata/python/proto_test.py | 6 ++-- 4 files changed, 47 insertions(+), 6 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index eaae619..56a1183 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,4 +1,37 @@ -# Current version +# Version 0.9.0 + +## Major Features and Improvements + +* Adding functionality for handling structured data. + +## Bug Fixes and Other Changes + +* StructStatistics.common_statistics changed to + StructStatistics.common_stats to agree with Facets. + +## Breaking changes + +* The change from StructStatistics.common_statistics to + StructStatistics.common_stats may break code that had this field set and + was serializing to some text format. The wire format should be fine. + +# Version 0.6.0 + +## Major Features and Improvements + +* Use the same version of protobuf as tensorflow. +* Added support for structural statistics. +* Added new error types. +* Removed DiffRegion. +* added RankHistogram to CustomStatistics. + +## Bug Fixes and Other Changes + +## Breaking changes + +* Removed DiffRegion. + +# Version 0.5.0 ## Major Features and Improvements diff --git a/setup.py b/setup.py index 818684a..a041cab 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ from setuptools import setup # tf.Metadata version. -__version__ = '0.9.0dev' +__version__ = '0.9.0' setup( diff --git a/tensorflow_metadata/proto/v0/schema.proto b/tensorflow_metadata/proto/v0/schema.proto index 7aba449..1e27933 100644 --- a/tensorflow_metadata/proto/v0/schema.proto +++ b/tensorflow_metadata/proto/v0/schema.proto @@ -85,7 +85,15 @@ message Feature { ValueCount value_count = 5; } - // Type of the feature's values + // Physical type of the feature's values. + // Note that you can have: + // type: BYTES + // int_domain: { + // min: 0 + // max: 3 + // } + // This would be a field that is syntactically BYTES (i.e. strings), but + // semantically an int, i.e. it would be "0", "1", "2", or "3". optional FeatureType type = 6; // Domain for the values of the feature. diff --git a/tensorflow_metadata/python/proto_test.py b/tensorflow_metadata/python/proto_test.py index 6e6902e..8da9f25 100644 --- a/tensorflow_metadata/python/proto_test.py +++ b/tensorflow_metadata/python/proto_test.py @@ -17,11 +17,11 @@ from __future__ import division from __future__ import print_function -from absl.testing import absltest +import unittest from tensorflow_metadata.proto.v0 import schema_pb2 -class ProtoTest(absltest.TestCase): +class ProtoTest(unittest.TestCase): def test_import_works(self): """Checks that the import of the tensorflow_metadata module works.""" @@ -35,4 +35,4 @@ def test_import_works(self): if __name__ == '__main__': - absltest.main() + unittest.main()