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.9.tar.gz
(23.9 kB
view hashes)
Built Distribution
Close
Hashes for captn_nanobit_client-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bbc4b169d4fcd211dd2103bc42a627339f6ffaf223e533cc6c9d360a7a4d26a |
|
MD5 | a4e566acc0139af16bee068f72c0a52b |
|
BLAKE2b-256 | a7c8e12d5e7aea89a1290412c0104b12a2a6f0d6bcc94d851b6a47f44da42501 |
Close
Hashes for captn_nanobit_client-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01aed9d8909f531439fda4e4e2a679b005dfdf3f390b8973fbd20880f6f03165 |
|
MD5 | a31935ef46203f80dfd279ec5f0e4979 |
|
BLAKE2b-256 | 7d3b7cf9b8a0ba112f479c602a9b3b713fb0a719b549e845243224a3669f2872 |