GitHub user iyerr3 opened a pull request:

    https://github.com/apache/madlib/pull/249

    RF: Use NULL::integer[] when no continuous features

    JIRA: MADLIB-1219
    
    When variable importance is enabled, to compute importance score,
    distribution of the categorical and continuous features are computed.
    For continuous features, this function requires initializing a vector of
    length = number of continuous features. When there are no continuous
    features, this initialization fails.
    
    This commit fixes the issue by inputing a NULL::integer[] vector when
    there no continuous features.
    
    Closes #249

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/iyerr3/incubator-madlib 
bugfix/rf_var_imp_no_continuous

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/madlib/pull/249.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 #249
    
----

----


---

Reply via email to