Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 211132028
  • Loading branch information
tf-metadata-team authored and mzinkevi committed Aug 31, 2018
1 parent 223923d commit 8d5198a
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 6 deletions.
35 changes: 34 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from setuptools import setup

# tf.Metadata version.
__version__ = '0.9.0dev'
__version__ = '0.9.0'


setup(
Expand Down
10 changes: 9 additions & 1 deletion tensorflow_metadata/proto/v0/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions tensorflow_metadata/python/proto_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand All @@ -35,4 +35,4 @@ def test_import_works(self):


if __name__ == '__main__':
absltest.main()
unittest.main()

0 comments on commit 8d5198a

Please sign in to comment.