forbin 0.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

forbin 0.1

api-python-client
Installation
pip install forbin

Use
from forbin.client import Client, Submission
from sklearn.ensemble import RandomForestClassifier


client = Client(username='username', password='password')
challenges = client.challenges()
challenge = challenges[0]

clf = RandomForestClassifier(max_depth=2, random_state=0)
clf.fit(challenge.x_train, challenge.y_train)

submission = Submission(client)
submission.confidence = 0.8
submission.stake = 1
submission.y_live = clf.predict(challenge.x_live)
submission.y_test = clf.predict(challenge.x_test)
submission.save()

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.