examples/feat_import.py
def estimate_featimport(sim_name, rep):
    """Run this function to calculate the feature importances"""
    est_featimpt = tree_import(sim_name)
    np.savetxt(
        "../examples/data/{}_{}.csv".format(sim_name, rep), est_featimpt, delimiter=","
    )

    return est_featimpt
Run this function to calculate the feature importances
Run this function to calculate the feature importances
Run this function to calculate the feature importances
def estimate_featimport(sim_name, rep):
    est_featimpt = tree_import(sim_name)
    np.savetxt(
        "../examples/data/{}_{}.csv".format(sim_name, rep), est_featimpt, delimiter=","
    )
    return est_featimpt
def estimate_featimport ( sim_name , rep ) : est_featimpt = tree_import ( sim_name ) np . savetxt ( "../examples/data/{}_{}.csv" . format ( sim_name , rep ) , est_featimpt , delimiter = "," ) return est_featimpt
Run this function to calculate the feature importances
Run this function to calculate the feature importances
"""Run this function to calculate the feature importances"""
sim_name
rep