Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added note about FeatureSet equality #294

Merged
merged 5 commits into from
Feb 15, 2016

Conversation

aoifecahill
Copy link
Collaborator

Minor update to FeatureSet class documentation. Not sure whether it should go anywhere else.

@@ -23,7 +23,8 @@ class FeatureSet(object):

"""
Encapsulation of all of the features, values, and metadata about a given
set of data.
set of data. Note that FeatureSets can only be equal if the order of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Should probably use sphinx syntax for this:

.. note::
    FeatureSets can only be equal if the order of the instances is identical 
    because these are stored as lists/arrays.

Might even be worth doing .. warning.

@@ -24,6 +24,8 @@ class FeatureSet(object):
"""
Encapsulation of all of the features, values, and metadata about a given
set of data.
warning:: FeatureSets can only be equal if the order of the instances is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost! You want this to be:

Encapsulation of all of the features, values, and metadata about a given
set of data.

.. warning:: 
    FeatureSets can only be equal if the order of the instances is identical 
    because these are stored as lists/arrays.

desilinguist added a commit that referenced this pull request Feb 15, 2016
…_documentation_on_featureset_order

Added note about FeatureSet equality
@desilinguist desilinguist merged commit 43a3048 into master Feb 15, 2016
@desilinguist desilinguist deleted the feature/update_documentation_on_featureset_order branch February 15, 2016 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants