Make ChatGPT alternative

Creată 2y | 23 ian. 2023, 20:10:59


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

Model fit progress

Some models are training too long.

For progress, set up verbose = True

model = GradientBoostingClassifier(verbose=True)
23 mar. 2021, 08:59:58 | Python tips
Sort python map

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)
22 mar. 2021, 12:13:21 | Python tips