data-validation icon indicating copy to clipboard operation
data-validation copied to clipboard

Wrong documentation for validate_instance()

Open kennysong opened this issue 5 years ago • 0 comments

In the TFDV Get Started page, it states that:

TFDV also provides the validate_instance function for identifying whether an individual example exhibits anomalies when matched against a schema. To use this function, the example must be a dict mapping feature names to numpy arrays of feature values.

However, validate_instance() does not work on dictionaries. It only works on Arrow RecordBatches.

kennysong avatar Dec 03 '20 12:12 kennysong