Skip to content

Commit

Permalink
Feature/feature store 1.0.4 (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
KshitizLohia authored Oct 27, 2023
2 parents 81d11d3 + 91cee24 commit 8e087f8
Show file tree
Hide file tree
Showing 11 changed files with 202 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ads/feature_store/docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sphinx_copybutton
sphinx_code_tabs
sphinx-autobuild
sphinx-autorun
oracle_ads
oracle_ads==2.9.0rc0
furo
IPython
pandoc
Expand Down
20 changes: 20 additions & 0 deletions ads/feature_store/docs/source/ads.feature_store.query.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ads.feature_store.query package
===============================

ads.feature_store.query package
-------------------------------

.. automodule:: ads.feature_store.query.filter
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.query.join
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.query.query
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions ads/feature_store/docs/source/feature_group.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ Use the ``get_validation_output()`` method of the ``FeatureGroup`` instance to f
The ``get_validation_output()`` method has the following optional parameter:

- ``job_id: string``. ID of the feature group job.

``get_validation_output().to_pandas()`` Outputs the validation results for each expectation as Pandas dataframe.

.. image:: figures/validation_results.png
Expand Down
4 changes: 2 additions & 2 deletions ads/feature_store/docs/source/feature_store.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The following example queries a feature store using SQL:
df = feature_store.sql(sql)
Create an Entity
=============
================
Use the ``create_entity()`` method of the ``FeatureStore`` instance to create an ``Entity``.

.. code-block:: python3
Expand All @@ -108,7 +108,7 @@ Use the ``create_entity()`` method of the ``FeatureStore`` instance to create an
feature_store.create_entity(name="<ENTITY_NAME>")
Create a Transformation
=====================
=======================
Transformations in a feature store are the operations and processes applied to raw data to create, modify, or derive new features for use as inputs for machine learning models. These transformations are necessary for improving the quality, relevance, and usefulness of features that then enhance the performance of models.
You can call the ``create_transformation()`` method of the FeatureStore instance to create a ``Transformation``.

Expand Down
90 changes: 90 additions & 0 deletions ads/feature_store/docs/source/feature_store_class.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
feature_store package
=====================

Subpackages
-----------

.. toctree::
:maxdepth: 4

ads.feature_store.query

Submodules
----------

ads.feature_store package
-------------------------
.. automodule:: ads.feature_store.dataset
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.dataset_job
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.entity
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature_group
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature_group_expectation
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature_group_job
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature_option_details
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature_store
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature_store_registrar
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.input_feature_detail
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.model_details
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.statistics_config
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.transformation
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.validation_output
:members:
:undoc-members:
:show-inheritance:
13 changes: 13 additions & 0 deletions ads/feature_store/docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Feature Store

statistics
feature_validation
data_versioning
ui

.. toctree::
Expand All @@ -59,3 +60,15 @@ Feature Store
:caption: Release notes:

release_notes

.. toctree::
:hidden:
:maxdepth: 5
:caption: Classes:

module

License
+++++++

Copyright (c) 2020, 2022 Oracle and/or its affiliates. Licensed under the `Universal Permissive License v1.0 <https://oss.oracle.com/licenses/upl/>`_
67 changes: 67 additions & 0 deletions ads/feature_store/docs/source/module.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
===================
Class Documentation
===================

.. toctree::
:maxdepth: 2

feature_store_class

ads.feature_store package
=========================

.. automodule:: ads.feature_store.feature_group
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature_group_job
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.dataset
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.dataset_job
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.transformation
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.statistics_config
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.model_details
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.input_feature_detail
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.feature
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ads.feature_store.entity
:members:
:undoc-members:
:show-inheritance:


.. automodule:: ads.feature_store.feature_group_expectation
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions ads/feature_store/docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Quick start
.. code-block:: shell
odsc conda install -s fspyspark32_p38_cpu_v1
3. Download the notebook examples from the example notebook section.

.. seealso::
Expand Down
2 changes: 1 addition & 1 deletion ads/feature_store/docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Release notes: July 5, 2023
* [DOCS] Updated terraform default version as 1.1.x

1.0.0
----
-----

.. note::

Expand Down
10 changes: 5 additions & 5 deletions ads/feature_store/docs/source/terraform.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===================================
=====================================
Terraform: Setting Up a Feature Store
===================================
=====================================

The following shows a terraform stack deployment of the feature store resources.

Expand All @@ -12,7 +12,7 @@ Blue-green deployment is a strategy for releasing new versions of an application
.. _User Policies:

Required Policies for a Terraform Stack
=============================
=======================================

Feature store requires the following policy statements to deploy the feature store in a Terraform stack:

Expand Down Expand Up @@ -200,7 +200,7 @@ The following Terraform variables used in this stack are:


User VCN Deployment
===============================
===================
Bring your own database (BYODB) is not supported by feature store because it doesn't support private access using a private endpoint and private access gateway for ATP instances.

You can specify VCN details for the feature store to use an existing VCN. A Terraform stack feature store has the following Terraform VCN variables:
Expand Down Expand Up @@ -249,7 +249,7 @@ You can specify VCN details for the feature store to use an existing VCN. A Terr


Onboarding a Database
##########
#####################

Specify the following details to onboard database instancesL

Expand Down
2 changes: 1 addition & 1 deletion ads/feature_store/docs/source/ui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Statistical analysis of features helps uncover insights about their distribution
.. image:: figures/stats_fg.png

Dataset
======
=======
Datasets also support iterative experimentation, allowing data scientists to create various dataset configurations with different feature combinations and transformations, which facilites the discovery of the most valuable features for model training.

.. image:: figures/dataset.gif
Expand Down

0 comments on commit 8e087f8

Please sign in to comment.