Skip to main content

FAMLAFL Aren’t Machine Learning And Financial Laboratory

Project description

FAMLAFL: FAMLAFL Aren’t Machine Learning And Financial Laboratory

Installation

For users:

pip install famlafl

Or with poetry:

poetry add famlafl

Project Structure

famlafl/
├── backtest_statistics/    # Backtesting tools and statistics
├── bet_sizing/            # Position sizing and bet sizing tools
├── clustering/            # Clustering algorithms for financial data
├── codependence/          # Codependence and correlation metrics
├── cross_validation/      # Cross-validation for financial data
├── data_structures/       # Financial data structures
├── datasets/              # Sample datasets and loaders
├── ensemble/              # Ensemble methods
├── feature_importance/    # Feature importance analysis
├── features/             # Feature engineering tools
├── filters/              # Financial data filters
├── labeling/             # Financial data labeling tools
├── microstructural_features/  # Market microstructure features
├── multi_product/        # Multi-product analysis
├── online_portfolio_selection/  # Online portfolio selection
├── portfolio_optimization/  # Portfolio optimization tools
├── sample_weights/       # Sample weight generation
├── sampling/             # Financial data sampling
├── structural_breaks/    # Structural break detection
└── tests/               # Unit tests

Development

Running Tests

# Run all tests
poetry run pytest

# Run tests with coverage
poetry run pytest --cov=famlafl --cov-report=html --cov-report=term

# Run specific test file
poetry run pytest famlafl/tests/test_specific_file.py

Contributing

We welcome contributions from the community! Please see our Contributing Guidelines for more details on how to get involved.

License

This is a fork of mlfinlab (ArbitrageLab), developed by Hudson & Thames Quantitative Research.

Important

  • All mlfinlab-derived code here remains under Hudson & Thames’s “all rights reserved” license.
  • Any new or original code that I (Vadim Surin) wrote from scratch (and does not derive from mlfinlab code) is released under the BSD-3-Clause License. However, usage in combination with mlfinlab code is still governed by Hudson & Thames’s restrictions.

Licensing Overview

  1. Hudson & Thames License (All Rights Reserved)
    The original mlfinlab portion of this repository is subject to the Hudson & Thames license (or see the license text included in this repo’s LICENSE file).

    Their license overrides any open-source terms with respect to the mlfinlab files.

  2. BSD-3-Clause (for My Independent Code)
    Purely original files that do not include or derive from mlfinlab logic can be used under BSD-3-Clause terms.

    Note: If these files are used in conjunction with mlfinlab code, the combined work is effectively subject to Hudson & Thames’s license to the extent of mlfinlab’s portion.

Usage

Feel free to experiment with my additions, but remember mlfinlab’s license requires you to comply with Hudson & Thames’s terms for the original (and derived) code.

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

famlafl-0.1.9.tar.gz (745.5 kB view details)

Uploaded Source

Built Distribution

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

famlafl-0.1.9-py3-none-any.whl (859.9 kB view details)

Uploaded Python 3

File details

Details for the file famlafl-0.1.9.tar.gz.

File metadata

  • Download URL: famlafl-0.1.9.tar.gz
  • Upload date:
  • Size: 745.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.11.11 Linux/6.8.0-1017-azure

File hashes

Hashes for famlafl-0.1.9.tar.gz
Algorithm Hash digest
SHA256 bcbb40136c529642a59e2c86fbf49c8e0edbb0a4c821df3fe6062a3e30a44aad
MD5 808d57aa4da1e267ce2209ffe8720a19
BLAKE2b-256 eb6088419334c93a38f1ac3705a4cbe2ee3d184a5f12e16f6c3a8468c760f06d

See more details on using hashes here.

File details

Details for the file famlafl-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: famlafl-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 859.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.11.11 Linux/6.8.0-1017-azure

File hashes

Hashes for famlafl-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fa503b1c15856f9714fb55cd81cc38b007f779bacd0ffdedd944b94dccdafa22
MD5 b025dd174a00c2ba71f8a59404e8d1a1
BLAKE2b-256 8a8ab931b1f7ec24fa94ef583f902d877841c53637dab895d0b52e2a7bd35437

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