Skip to content

Commit d759bc0

Browse files
committed
update doc
1 parent 4a0d691 commit d759bc0

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

ads/feature_store/docs/source/dataset.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,12 @@ The ``get_validation_output()`` method takes the following optional parameter:
168168

169169
``get_validation_output().to_pandas()`` will output the validation results for each expectation as pandas dataframe
170170

171+
.. image:: figures/dataset_validation_results.png
172+
171173
``get_validation_output().to_summary()`` will output the overall summary of validation as pandas dataframe.
172174

175+
.. image:: figures/dataset_validation_summary.png
176+
173177
.. seealso::
174178

175179
:ref:`Feature Validation`
@@ -214,7 +218,7 @@ The ``get_statistics()`` method takes the following optional parameter:
214218
# Fetch stats results for a dataset job
215219
df = dataset.get_statistics(job_id).to_pandas()
216220
217-
.. image:: figures/stats_1.png
221+
.. image:: figures/dataset_statistics.png
218222

219223
.. seealso::
220224

ads/feature_store/docs/source/feature_validation.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Feature validation is the process of checking the quality and accuracy of the fe
77
Feature store allows you to define expectation on the data which is being materialized into feature group and dataset. This is achieved using open source library Great Expectations.
88

99
.. note::
10-
`Great Expectations <https://docs.greatexpectations.io/docs/>`_ is a Python-based open-source library for validating, documenting, and profiling your data. It helps you to maintain data quality and improve communication about data between teams. Software developers have long known that automated testing is essential for managing complex codebases.
10+
`Great Expectations <https://docs.greatexpectations.io/docs/0.15.50/>`_ is a Python-based open-source library for validating, documenting, and profiling your data. It helps you to maintain data quality and improve communication about data between teams. Software developers have long known that automated testing is essential for managing complex codebases.
1111

1212

1313
Expectations
@@ -50,5 +50,7 @@ Expectation Suite is a collection of verifiable assertions i.e. expectations abo
5050
.. code-block:: python3
5151
5252
# Create an Expectation Suite
53-
suite = context.add_expectation_suite(expectation_suite_name="example_suite")
54-
suite.add_expectation(expect_config)
53+
expectation_suite = ExpectationSuite(
54+
expectation_suite_name=<expectation_suite_name>
55+
)
56+
expectation_suite.add_expectation(expect_config)
Loading
Loading
Loading

0 commit comments

Comments
 (0)