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)
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.6.tar.gz
(23.8 kB
view hashes)
Built Distribution
Close
Hashes for captn_nanobit_client-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a44fa58fc2f8dfd1361f06a4cea9cf2eda66cb230eda1dbfd698e5ae25a3e54f |
|
MD5 | 7e94a91e2f859382eaf4afe24750a0fc |
|
BLAKE2b-256 | 3cccc8f6afdb11029c71418ccc349009f3bff2ab681eaa2f5d1bb7b526990228 |
Close
Hashes for captn_nanobit_client-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c10404b8581cf6aac1bd16bf6782169e5c72b26c75d0588d9dc9160bd7018e5 |
|
MD5 | e9f5181d5c63b00d5f7ce991b151fcc7 |
|
BLAKE2b-256 | 33be2a4be40492ec01d995e97738dfb6c9d44dbd3d0c3676a116e7024db12e5b |