This project handles series data
Support Series data Feature Calculation.
Installation
You need Python installed on your system to able to use seq2ftr.
This package contains many feature extraction methods.
Support different type (continues/class) features calculation.
>>> $ pip install seq2ftr
- Install Requirements
numpy
pandas
sklearn
Feature Calculation
Support Function
mean
max
min
freq_of_max
freq_of_min
median
median_mean_distance
percentage_below_mean
var
std
uniqueCount
…
Support Type
0 - boolean
1 - numericla
2 - categorical
Example
To start , we load data to python
>>>
import pandas as pd
df = pd.DataFrame([[1,200,"1"],[1,500,"2"],[2,300,"2"],[2,600,"2"]],columns=['id','stock_price',"type"])
df = df.set_index("id")
>>> from seq2ftr import SequenceTransformer st_num = SequenceTransformer() st_num.transformer(df['stock_price']) # output all features
Release files for seq2ftr 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seq2ftr-0.1.7.tar.gz | 9.5 kB | Details |
Release files / seq2ftr-0.1.7.tar.gz
| Download URL | seq2ftr-0.1.7.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94973cbaa5bfc0b294d2c5f37bca4f221edc8ccc9d510cf45b95b204314a8338
|
|
BLAKE2b-256 checksum How to use checksums |
fed9cffb172882eb7c2958a693d046ec1a11a929d45ee0a7ea7192579ba0bd10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.8
|