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 designed for discovering, validating, and analyzing patterns in tabular datasets. Originally built for quantitative finance, its techniques are broadly applicable to any domain involving structured data and statistical rule discovery.


๐Ÿš€ 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 required dependencies using:

pip install -r ./requirements.txt

Note: Dependencies were generated via pipreqs and may need further validation.


๐Ÿงฉ 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).

  • โœ… 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.2.tar.gz (152.4 kB 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.2-py3-none-any.whl (111.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edge_research_pipeline-0.1.2.tar.gz
  • Upload date:
  • Size: 152.4 kB
  • 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.2.tar.gz
Algorithm Hash digest
SHA256 136e0bffc0cba4d113ec287f623887ddb17e5662e4db4aa84f475e70f9d223d4
MD5 bc4120a647577d8f1f4c6290114c9b79
BLAKE2b-256 316365586773016cbfd94a7f463b6cb08ddb6c46a90b086e7b1ea67e00b47adb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for edge_research_pipeline-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dffc7fbef5dc97fd57f8f67a08241fa5a351e8e39dc9892e3e08d4b7ce7dd060
MD5 039739b81e5f8ff91fb03fcdec9eb962
BLAKE2b-256 6d63dfd65b5d42cc631efaca2f60a6f8a52a4faf5bd4387fb6eda2d765fb8fb1

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