Skip to main content

Modular pipeline for quantitative signal discovery and validation

Project description

๐Ÿง  Edge Research Pipeline

The Edge Research Pipeline is a modular, privacy-first research toolkit for rule mining, pattern discovery, and interpretable machine learning on tabular datasets. It supports automated feature engineering, target labeling, robust validation, and signal discovery workflows across domains including quantitative finance, structured data mining, and subgroup analysis, its techniques are broadly applicable to any domain involving structured data and statistical rule discovery.

PyPI version


๐Ÿš€ Key Features

A flexible, modular Python library enabling you to:

  • Clean, normalize, and transform tabular datasets
  • Engineer features relevant to finance, statistics, and other structured-data domains
  • Generate and label custom targets for supervised tasks
  • Discover signals using rule mining and pattern search methods
  • Perform robust validation tests (e.g., train/test splits, bootstrap, walk-forward analysis, false discovery rate)
  • Reproduce results with complete configuration export and local-only processing
  • Efficiently execute parameter grids via function calls or a CLI

๐Ÿ”’ Privacy by Design

All computations run locallyโ€”no data ever leaves your environment. Designed explicitly for regulated industries, confidential research, and reproducible workflows.


๐Ÿ“ฆ Installation

Install the latest release from PyPI:

pip install edge-research-pipeline

๐Ÿ“ฆ View on PyPI โ†’


๐Ÿ› ๏ธ Advanced Option (Dev/Offline)

To install using the repo-based dependencies file:

pip install -r ./requirements.txt

Note: This file was generated via pipreqs and may need further validation in some environments.


โš ๏ธ Compatibility Notes & Optional Dependencies

This project includes optional support for advanced mining and synthetic data tools like orange3 and synthcity. These libraries are powerful but have strict, conflicting version requirements that cannot be satisfied simultaneously in a single install.

๐Ÿงจ Known Conflicts

  • orange3 requires xgboost >=1.7.4, <2.1
  • synthcity requires xgboost >=2.1.0
  • xgbse (a dependency of synthcity) enforces this version split
  • Installing both libraries together will cause pip install to fail due to an irreconcilable conflict on xgboost

โœ… Resolution

To avoid these conflicts:

  • The core package does not include orange3 or synthcity by default
  • You can install them separately using extras:
pip install edge-research-pipeline[orange]     # for orange3-based rule data generation
pip install edge-research-pipeline[synth]      # for synthetic data workflows

โš ๏ธ Note: Installing both orange3 and synthcity via extras will fail due to incompatible xgboost requirements. If you need both, install the pipeline without either extra:

pip install edge-research-pipeline

Then manually install each library:

pip install orange3
pip install synthcity

This bypasses pipโ€™s dependency resolver and allows both to coexist โ€” but may require you to manage compatibility manually.


โš ๏ธ Additional Dependency Warnings

Some third-party tools (e.g., torch, scipy, pandas, databricks, ydata-profiling) may also have mutually incompatible version constraints depending on your environment. We strongly recommend installing this package in a clean virtual environment to prevent dependency resolution issues:

python -m venv erp_env
.\erp_env\Scripts\activate      # Windows
# source erp_env/bin/activate   # macOS/Linux
pip install edge-research-pipeline

๐Ÿงฉ Quick Start Example

Run a full pipeline example via the command line:

python edge_research/pipeline/main.py params/grid_params.yaml

Or check the ready-to-run examples in the examples/ directory.


๐Ÿ“ Project Structure

edge-research-pipeline
โ”œโ”€โ”€ data/                  # Sample datasets (sandbox only)
โ”œโ”€โ”€ docs/                  # Documentation per module
โ”œโ”€โ”€ edge_research/         # Core logic modules
โ”‚   โ”œโ”€โ”€ logger/
โ”‚   โ”œโ”€โ”€ pipeline/
โ”‚   โ”œโ”€โ”€ preprocessing/
โ”‚   โ”œโ”€โ”€ rules_mining/
โ”‚   โ”œโ”€โ”€ statistics/
โ”‚   โ”œโ”€โ”€ utils/
โ”‚   โ””โ”€โ”€ validation_tests/
โ”œโ”€โ”€ examples/              # Copy-pasteable usage examples
โ”œโ”€โ”€ params/                # Configuration files
โ”œโ”€โ”€ tests/                 # Unit tests for major functions
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ requirements.txt

Detailed explanations for each subfolder are available within their respective READMEs.


โš™๏ธ Configuration Philosophy

Configuration files are managed via YAML files within ./params/:

  • default_params.yaml: Base configuration with mandatory default values (do not modify)
  • custom_params.yaml: Override specific parameters from defaults
  • grid_params.yaml: Parameters specifically for orchestrating grid pipeline runs

Precedence hierarchy:

  • For pipeline runs (pipeline.py or CLI): grid_params > custom_params > default_params
  • For direct function calls: custom_params > default_params

Parameters can also be directly overridden by passing a Python dictionary at runtime.


๐Ÿงช Testing

Unit tests cover all major logical functions, ensuring correctness and robustness. Tests are written using pytest. Short utility functions, simple wrappers, and internal helpers are generally not included.

Run tests via:

pytest tests/

๐Ÿค Contributing

We welcome contributions! Follow these guidelines:

  • Keep your commits focused and atomic
  • Always provide clear, descriptive commit messages
  • Add or update tests for any new feature or bug fix
  • Follow existing code style (e.g., use black and flake8 for Python formatting)
  • Document new functionality thoroughly within the relevant .md file in docs/
  • Respect privacy-by-design principlesโ€”no logging or external data exposure

Feel free to open issues for discussions or submit pull requests directly.


๐Ÿ“„ License

This project is licensed under the Edge Research Personal Use License (ERPUL). The Edge Research Pipeline is free for personal and academic use.
Commercial use requires a license.

๐Ÿ‘‰ See PRICING.md for full license tiers and support options.

  • โœ… Free for personal, student, and academic use (with citation)
  • ๐Ÿ’ผ Commercial use requires approval (temporarily waived)
  • ๐Ÿ”’ No redistribution without permission

See LICENSE for full terms.

License: ERPUL

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

edge_research_pipeline-0.1.8.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edge_research_pipeline-0.1.8-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file edge_research_pipeline-0.1.8.tar.gz.

File metadata

  • Download URL: edge_research_pipeline-0.1.8.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for edge_research_pipeline-0.1.8.tar.gz
Algorithm Hash digest
SHA256 033532cae2012c51aba2c918a694c2d29a8a21269ee9ad72bc96cfab12e1c3d1
MD5 e0ab268c0a8d0a2d7cf4f7acabf3ccd8
BLAKE2b-256 6538b37c68ce65ba71f3ed23ac9ce6e304695160bb50c93903874cd4232efb32

See more details on using hashes here.

File details

Details for the file edge_research_pipeline-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for edge_research_pipeline-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f0a13d6e0c3672cf6f58ed23775b8fbfe7319b92e2babf6c071843e7988a3dcf
MD5 39ac1e7c3d37fc5805531ab739bc1971
BLAKE2b-256 a6a770e2fbaeb28f48c346182cc6b21f4801740310137f9d187c96d878c581b6

See more details on using hashes here.

Supported by

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