Skip to content

Commit

Permalink
Reinstate partial features section w/ dep warning
Browse files Browse the repository at this point in the history
  • Loading branch information
apbassett committed Nov 5, 2024
1 parent 7afba35 commit 19d3d16
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions source/user_guide/basic_capabilities/feature_attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,21 @@ What are **dependent features**?
dependent_features=dependent_features,
)
What are **partial features**?
------------------------------
- **Partial features** is a term used to describe a partial dictionary from
which IFA builds the rest of the feature mapping. It is also a variable-name
passed to the ``features`` argument inside IFA. Below is an example:

.. code-block:: python
# Infer features using DataFrame format
partial_features = {'education-num':{'type':'nominal'}, 'age':{'type':'continuous'}}
features = infer_feature_attributes(df, features=partial_features)
**Note:** The ``features`` paramter is deprecated and will be removed in a future release.
Please preset feature types with the ``types`` parameter and make other changes directly
to the resultant feature attributes dictionary.

Derivation Attributes
---------------------
Derived during-training features should have a feature attribute of
Expand Down

0 comments on commit 19d3d16

Please sign in to comment.