Created
2y
|
Jan 23, 2023, 8:10:59 PM
Login to add comment
Other posts in this group
Some models are training too long.
For progress, set up verbose = True
model = GradientBoostingClassifier(verbose=True)
Sort python map
probs = {}
probs[3] = 0.3
probs[4] = 0.2
probs[5] = 0.5
sortedProbs = sorted(probs.items(), key=lambda x: x[1], reverse=True)
print(sortedProbs)