« first day (1557 days earlier)      last day (1809 days later) » 

9:59 AM
Phir ek baar
 
1 message moved from Python
 
 
7 hours later…
5:36 PM
`
def tree_insights_test(leaves, model, line_shape,values_list, leaf_to_path):
    """
    For a given DecisionTreeRegressor, DecisionTreeClassifier,
    ExtraTreeRegressor, or ExtraTreeClassifier,
    returns a triple of [prediction, prior and feature_contributions], such
    that prediction ≈ prior + feature_contributions.
    """
    #-------------------------------#
    # Collect the minimal variables #
    #-------------------------------#

    feature_index = list(model.tree_.feature)

    #-----------------------------#
 
1 message moved from Python
 
 
4 hours later…
9:51 PM
Why when you can be more outdated and go with
 
thank you for your input
 
10:07 PM
2 messages moved from Python
 

« first day (1557 days earlier)      last day (1809 days later) »