predictive analysis
Project description
Lightning Node Prediction Analysis
This package contains useful functionalities to aid in analyzing lightning transactions.
Install
pip install lightning_node_prediction
How to use
Provide a path to the lightning transactions. Kindly note that the file
should be in a CSV format
light = LnPreds('path to csv file')
Plot a chart showing the number of merchants you want to analyze the
trendlines by using the num_merch parameter. You can also specify the
number of columns you want to display the merchants by using the cols
parameter. Merchants are sorted based on their overall transactions
amounts with the merchant with the hightest transactions in the first
place.
light.plt_yrs_trnd(num_merch=4,cols=2)
You can also zoom-in on a particular merchant by specifying a merchant
and a year using the merch_id and yr parameters. Moreover, you can
also specify the number of months and the columns for the display using
the num_mnths and cols parameters.
merchant_id=10
yr='2019'
light.plt_wks_trnd(merch_id=merchant_id,yr=yr,num_mnths=4,cols=2)
You can also determine the number of outputs and inputs for each day
based on the merchant,year,number of months and the column display. Use
the merch_id parameter for the merchant id. yr for the year of
interest and num_mnths for the number of months needed. cols is used
for the display output of your charts
light.plt_wks_stack(merch_id=merchant_id,yr=yr,num_mnths=4,cols=2)
The plt_dy_mnth method takes as input the start year:strt_yr, Number
of years:numb_yrs, start month:strt_mnth and number of
months:numb_mnths. This methods plots a comparative balance for each
year based on the selected months
light.plt_dy_mnth(strt_yr=1,numb_yrs=3,strt_mnth=1,numb_mnths=3)
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lightning_node_prediction-0.0.4.tar.gz.
File metadata
- Download URL: lightning_node_prediction-0.0.4.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
223e010125694fe463a08033b83dc1f443d84afac80e5a38c66b9ff8208cfe0a
|
|
| MD5 |
84cbf79251a3560697ae2d3f95fdbfbd
|
|
| BLAKE2b-256 |
2a7c17ae9c0adb8c00be8a3349b5a2faed03ceacb3c8f2a0f25a496aca463b86
|
File details
Details for the file lightning_node_prediction-0.0.4-py3-none-any.whl.
File metadata
- Download URL: lightning_node_prediction-0.0.4-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaaa90a38ed26d43412636448fa1b035bd386b103f8ac7b37ff82b7db8102aa0
|
|
| MD5 |
4d85b01fbf2c64b228895e9cce935f36
|
|
| BLAKE2b-256 |
46ce31f3435b1196891b14c4e1d8e917e04b519d7d5e48895497dda3df9592b4
|