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
Built Distribution
Close
Hashes for captn_nanobit_client-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed6d487c5cc57ec02c900adffc6e16185bd7b0d9f7d5ced1c827f45c41a600a |
|
MD5 | 8a5b9244fed8cee4e7730e99e643ae6a |
|
BLAKE2b-256 | c197bafee39532a5dee014e89cfbad303265a4d8a3cb80207a5c2dcd73436989 |
Close
Hashes for captn_nanobit_client-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8215851aa0c9173010ffc02b55a27e6053a668ddac1c4d8203a7d83c98942607 |
|
MD5 | ddf73eee988fd8863cc95c662f05244e |
|
BLAKE2b-256 | e5dd3ee7995fe15704672724568e5b81be6e45b78c7dbb75343e5f0668d7d426 |