captn-nanobit-client-0.0.9


توضیحات

Project for captn-nanobit client
ویژگی مقدار
سیستم عامل -
نام فایل captn-nanobit-client-0.0.9
نام captn-nanobit-client
نسخه کتابخانه 0.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Capt'n AI
ایمیل نویسنده info@captn.ai
آدرس صفحه اصلی https://gitlab.com/airt.ai/captn/captn-nanobit-client/tree/master/
آدرس اینترنتی https://pypi.org/project/captn-nanobit-client/
مجوز Apache Software License 2.0
# Capt'n AI for Nanobit > Marketing campaigns optimization ## Install `pip install captn-nanobit-client` ## How to use ```python 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 ```python df = get_test_dataframe() ``` Run the code below to make a prediction ```python prediction = predict(df, token=token) ``` Run the code below to draw a graph ```python graph = plot_prediction(df, prediction, last_n_days=3, target_day=29) # uncomment this line to show the graph # graph.show() ``` <img src="https://nanobit.api.captn.ai/images/captn_graph.png?v2021.06.07" width="781" style="max-width: 781px">


نیازمندی

مقدار نام
- pip
- packaging
- pandas
- requests
- plotly
- kaleido


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl captn-nanobit-client-0.0.9:

    pip install captn-nanobit-client-0.0.9.whl


نصب پکیج tar.gz captn-nanobit-client-0.0.9:

    pip install captn-nanobit-client-0.0.9.tar.gz