You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature store allows you to define expectations on data being materialized into feature group instance. With a ``FeatureGroup`` instance, we can save the expectation entity using ``save_expectation()``
130
+
131
+
132
+
.. image:: figures/validation.png
133
+
134
+
The ``.save_expectation()`` method takes the following optional parameter:
135
+
136
+
- ``expectation: Expectation``. Expectation of great expectation
137
+
- ``expectation_type: ExpectationType``. Type of expectation
138
+
- ``ExpectationType.STRICT``: Fail the job if expectation not met
139
+
- ``ExpectationType.LENIENT``: Pass the job even if expectation not met
For more details on expectation please refer :ref:`Feature Validation`
146
+
147
+
Statistics Computation
148
+
========================
149
+
During the materialization feature store performs computation of statistical metrics for all the features by default. This can be configured using ``StatisticsConfig`` object which can be passed at the creation of
150
+
dataset or it can be updated later as well.
151
+
152
+
.. code-block:: python3
153
+
154
+
# Define statistics configuration for selected features
With a ``FeatureGroup`` instance, You can save the expectation details using ``with_expectation_suite()`` with parameters
155
+
Feature store allows you to define expectations on data being materialized into feature group instance. With a ``FeatureGroup`` instance, we can save the expectation entity using ``save_expectation()``
157
156
158
-
- ``expectation_suite: ExpectationSuite``. ExpectationSuit of great expectation
157
+
158
+
.. image:: figures/validation.png
159
+
160
+
The ``.save_expectation()`` method takes the following optional parameter:
161
+
162
+
- ``expectation: Expectation``. Expectation of great expectation
159
163
- ``expectation_type: ExpectationType``. Type of expectation
160
164
- ``ExpectationType.STRICT``: Fail the job if expectation not met
161
165
- ``ExpectationType.LENIENT``: Pass the job even if expectation not met
162
166
163
-
.. note::
167
+
.. code-block:: python3
164
168
165
-
Great Expectations 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.
For more details on expectation please refer :ref:`Feature Validation`
172
+
173
+
174
+
Statistics Computation
175
+
========================
176
+
During the materialization feature store performs computation of statistical metrics for all the features by default. This can be configured using ``StatisticsConfig`` object which can be passed at the creation of
With a ``FeatureGroup`` or ``Dataset`` instance, we can save the expectation entity using ``save_expectation()``
7
-
8
6
.. note::
7
+
`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.
9
8
10
-
Great Expectations 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.
11
-
12
-
.. image:: figures/validation.png
13
-
14
-
The ``.save_expectation()`` method takes the following optional parameter:
15
-
16
-
- ``expectation: Expectation``. Expectation of great expectation
17
-
- ``expectation_type: ExpectationType``. Type of expectation
18
-
- ``ExpectationType.STRICT``: Fail the job if expectation not met
19
-
- ``ExpectationType.LENIENT``: Pass the job even if expectation not met
@@ -7,72 +9,3 @@ to derive insights about the data quality.
7
9
.. note::
8
10
9
11
Feature Store utilizes MLM Insights which is a Python API that helps evaluate & monitor data for entirety of ML Observability lifecycle. It performs data summarization which reduces a dataset into a set of descriptive statistics.
10
-
11
-
12
-
Statistics Configuration
13
-
========================
14
-
Computation of statistical metrics happens by default for all the features but you can configure it using ``StatisticsConfig`` object. This object can be passed at the creation of
15
-
feature group or dataset or it can be later updated as well.
16
-
17
-
.. code-block:: python3
18
-
19
-
# Define statistics configuration for selected features
0 commit comments