Skip to main content

symfeat

https://travis-ci.org/Ohjeah/symfeat.svg?branch=master https://badge.fury.io/py/symfeat.svg https://img.shields.io/pypi/pyversions/symfeat.svg https://zenodo.org/badge/79949716.svg

symfeat is a rule based feature engineering library to be used as a preprocessor for regression tasks.

It is based on:

Mcconaghy, T. (2011). FFX: Fast, Scalable, Deterministic Symbolic Regression Technology. Genetic Programming Theory and Practice IX, 235-260. DOI: 10.1007/978-1-4614-1770-5_13

Features

  • Builds a features based on all valid rule specified combinations

  • Discards non-finite transformations

  • Remove equivalent based on expressions or numeric values

Installation

pip install symfeat

Usage

import numpy as np
import symfeat as sf

operators = {"sin": np.sin}
exponents = [1, 2, -1, -2]

x = np.random.normal(size=10).reshape(-1, 1)

sym = sf.SymbolicFeatures(exponents=exponents, operators=operators)
features = sym.fit_transform(x)
names = sym.names

Metadata

Release files for symfeat 0.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for symfeat 0.4.5
File Size Uploaded Provenance Actions
symfeat-0.4.5.tar.gz 3.5 kB Without provenance Details for symfeat-0.4.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for symfeat 0.4.5
File Interpreter ABI Platform Actions
symfeat-0.4.5-py3-none-any.whl Python 3 none any Details for symfeat-0.4.5-py3-none-any.whl

Total release size: 8.7 kB

Release files / symfeat-0.4.5.tar.gz

Download URL symfeat-0.4.5.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aecb7095399ff65d73bef18f60a7e73d81b5a77ab91accff5aa3f6f5f9058dca
BLAKE2b-256 checksum
How to use checksums
b2533ea40d139b0d00c339f22e0688bd46f30d829e75854ccc76c5acd0435e8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / symfeat-0.4.5-py3-none-any.whl

Download URL symfeat-0.4.5-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cefec13b265bd8b550e33e5b48aa3f6dbb3f6a096e9b6d2a13bf2abe29ba7f4
BLAKE2b-256 checksum
How to use checksums
98060a5d160d02eda757661a4158ab29334b0f5de6cc3dd37503cd9f80573649
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for symfeat 0.4.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page