SKLELIN LANGES Forest Ważność
import time
import numpy as np
start_time = time.time()
importances = forest.feature_importances_
std = np.std([
tree.feature_importances_ for tree in forest.estimators_], axis=0)
elapsed_time = time.time() - start_time
print(f"Elapsed time to compute the importances: "
f"{elapsed_time:.3f} seconds")
Gentle Gaur