Skip to main content

A Nice and Convenient Feature Engineering Tool on Sequential Data

Project description

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

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

seq2ftr-0.1.7.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file seq2ftr-0.1.7.tar.gz.

File metadata

  • Download URL: seq2ftr-0.1.7.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for seq2ftr-0.1.7.tar.gz
Algorithm Hash digest
SHA256 94973cbaa5bfc0b294d2c5f37bca4f221edc8ccc9d510cf45b95b204314a8338
MD5 69092dbfb0fc29f37ba6894be36b3ade
BLAKE2b-256 fed9cffb172882eb7c2958a693d046ec1a11a929d45ee0a7ea7192579ba0bd10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page