Project for captn-nanobit client
Project description
Capt'n AI for Nanobit
Marketing campaigns optimization
Install
pip install captn-nanobit-client
How to use
from captn_nanobit_client.api import authorize, predict
from captn_nanobit_client.testing import get_test_dataframe
from captn_nanobit_client.plotly_graph import plot_prediction
# server is one of "staging" or "production"
server = "staging"
token = authorize(username=username, password=password, server=server)
Get pandas dataframe
df = get_test_dataframe()
Run the code below to make a prediction
prediction = predict(df, token=token)
Run the code below to draw a graph
graph = plot_prediction(df, prediction, last_n_days=3, target_day=29)
# uncomment this line to show the graph
# graph.show()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
captn_nanobit_client-0.0.7.tar.gz
(24.1 kB
view hashes)
Built Distribution
Close
Hashes for captn_nanobit_client-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4895aa65b36051e511adfb0964f5cd80c903560b51b552c9d3c1abe91f4ca44c |
|
MD5 | 564db4de77779687af2b39a74ee42875 |
|
BLAKE2b-256 | 3d97b610ef7180f69359e8bcce8928eb8f3e6d5421ef4438b275a1aa6f4f17fa |
Close
Hashes for captn_nanobit_client-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c07b20895f69da793c4780001c5d27d2fa4c4bce057ec5b06eb8d24b36cc8cc |
|
MD5 | 32b1e1a38dbe723e8544ba8c6ded2bd0 |
|
BLAKE2b-256 | f569b9d78fc3af5874cb879bbab7337f250ddf68a0de1fc16720e4d275190f14 |