GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/4460
SPARK-4588 [MLLIB] [WIP] Add API for feature attributes
@mengxr
This is an early checkin to see if this is in the right direction at all.
- Should this have a counterpart "builder" class, or setters that make a
new copy of the object?
- In the JIRA you mention feature dimension. Dumb question, but is that
just the cardinality of categorical features?
- I structured it all with maps, and I wonder if that's OK
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-4588
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4460.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4460
----
commit aa3361be703ae08dd10525330d6471aedb294f59
Author: Sean Owen <[email protected]>
Date: 2015-02-08T22:11:22Z
Initial draft of FeatureAttributes class
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]