Github user orhankislal commented on a diff in the pull request:

    https://github.com/apache/incubator-madlib/pull/120#discussion_r112341893
  
    --- Diff: src/modules/recursive_partitioning/decision_tree.cpp ---
    @@ -235,7 +259,14 @@ dt_apply::run(AnyType & args){
         else{
             return_code = TERMINATED;  // indicates termination due to error
         }
    +    uint32_t n_valid_nodes = 0;
    +    for (Index i=0; i < dt.feature_indices.size(); i++){
    +        if (dt.feature_indices(i) != dt.NODE_NON_EXISTING)
    +            n_valid_nodes ++;
    +    }
     
    +    elog(INFO, "Depth = %d, n_valid_nodes = %d",
    --- End diff --
    
    This info and its context (the sql function that calls madlib._dt_apply) is 
printed to the console if the user is calling the DT from a plain psql client. 


---
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.
---

Reply via email to