# FAMLAFL: FAMLAFL Aren’t Machine Learning And Financial Laboratory
## Installation
For users:
```bash
pip install famlafl
```
Or with poetry:
```bash
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
```bash
# 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](CONTRIBUTING.md) for more details on how to get involved.
## License
This is a **fork** of [mlfinlab (ArbitrageLab)](https://github.com/hudson-and-thames/mlfinlab),
developed by Hudson & Thames Quantitative Research.
> **Important**
> - All mlfinlab-derived code here remains under Hudson & Thames’s
> [“all rights reserved” license](https://github.com/hudson-and-thames/mlfinlab#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](./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](https://github.com/hudson-and-thames/mlfinlab#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.
Raw data
{
"_id": null,
"home_page": "https://github.com/7uperior/famlafl",
"name": "famlafl",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "machinelearning, finance, investment, education",
"author": "Vadim Surin",
"author_email": "vdmsurin@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/eb/60/88419334c93a38f1ac3705a4cbe2ee3d184a5f12e16f6c3a8468c760f06d/famlafl-0.1.9.tar.gz",
"platform": null,
"description": "# FAMLAFL: FAMLAFL Aren\u2019t Machine Learning And Financial Laboratory\n\n\n## Installation\n\nFor users:\n```bash\npip install famlafl\n```\n\nOr with poetry:\n```bash\npoetry add famlafl\n```\n\n## Project Structure\n\n```\nfamlafl/\n\u251c\u2500\u2500 backtest_statistics/ # Backtesting tools and statistics\n\u251c\u2500\u2500 bet_sizing/ # Position sizing and bet sizing tools\n\u251c\u2500\u2500 clustering/ # Clustering algorithms for financial data\n\u251c\u2500\u2500 codependence/ # Codependence and correlation metrics\n\u251c\u2500\u2500 cross_validation/ # Cross-validation for financial data\n\u251c\u2500\u2500 data_structures/ # Financial data structures\n\u251c\u2500\u2500 datasets/ # Sample datasets and loaders\n\u251c\u2500\u2500 ensemble/ # Ensemble methods\n\u251c\u2500\u2500 feature_importance/ # Feature importance analysis\n\u251c\u2500\u2500 features/ # Feature engineering tools\n\u251c\u2500\u2500 filters/ # Financial data filters\n\u251c\u2500\u2500 labeling/ # Financial data labeling tools\n\u251c\u2500\u2500 microstructural_features/ # Market microstructure features\n\u251c\u2500\u2500 multi_product/ # Multi-product analysis\n\u251c\u2500\u2500 online_portfolio_selection/ # Online portfolio selection\n\u251c\u2500\u2500 portfolio_optimization/ # Portfolio optimization tools\n\u251c\u2500\u2500 sample_weights/ # Sample weight generation\n\u251c\u2500\u2500 sampling/ # Financial data sampling\n\u251c\u2500\u2500 structural_breaks/ # Structural break detection\n\u2514\u2500\u2500 tests/ # Unit tests\n```\n\n## Development\n\n### Running Tests\n\n```bash\n# Run all tests\npoetry run pytest\n\n# Run tests with coverage\npoetry run pytest --cov=famlafl --cov-report=html --cov-report=term\n\n# Run specific test file\npoetry run pytest famlafl/tests/test_specific_file.py\n```\n\n\n## Contributing\nWe welcome contributions from the community! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more details on how to get involved.\n\n## License\nThis is a **fork** of [mlfinlab (ArbitrageLab)](https://github.com/hudson-and-thames/mlfinlab), \ndeveloped by Hudson & Thames Quantitative Research.\n\n> **Important** \n> - All mlfinlab-derived code here remains under Hudson & Thames\u2019s \n> [\u201call rights reserved\u201d license](https://github.com/hudson-and-thames/mlfinlab#license).\n> - Any new or original code that I (Vadim Surin) wrote **from scratch** (and **does not** derive from mlfinlab code) \n> is released under the [BSD-3-Clause License](./LICENSE). \n> However, usage in combination with mlfinlab code is still governed by Hudson & Thames\u2019s restrictions.\n\n### Licensing Overview\n\n1. **Hudson & Thames License (All Rights Reserved)** \n The original mlfinlab portion of this repository is subject to the \n [Hudson & Thames license](https://github.com/hudson-and-thames/mlfinlab#license) \n (or see the license text included in this repo\u2019s `LICENSE` file). \n \n Their license **overrides** any open-source terms with respect to the mlfinlab files.\n\n2. **BSD-3-Clause (for My Independent Code)** \n Purely original files that do not include or derive from mlfinlab \n logic can be used under BSD-3-Clause terms. \n \n > **Note**: If these files are used in conjunction with mlfinlab code, \n > the combined work is effectively subject to Hudson & Thames\u2019s license \n > to the extent of mlfinlab\u2019s portion.\n\n### Usage\n\nFeel free to experiment with my additions, but remember mlfinlab\u2019s license \nrequires you to comply with Hudson & Thames\u2019s terms for the original \n(and derived) code.\n",
"bugtrack_url": null,
"license": "Proprietary",
"summary": "FAMLAFL Aren\u2019t Machine Learning And Financial Laboratory",
"version": "0.1.9",
"project_urls": {
"Homepage": "https://github.com/7uperior/famlafl",
"Repository": "https://github.com/7uperior/famlafl"
},
"split_keywords": [
"machinelearning",
" finance",
" investment",
" education"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8a8ab931b1f7ec24fa94ef583f902d877841c53637dab895d0b52e2a7bd35437",
"md5": "b025dd174a00c2ba71f8a59404e8d1a1",
"sha256": "fa503b1c15856f9714fb55cd81cc38b007f779bacd0ffdedd944b94dccdafa22"
},
"downloads": -1,
"filename": "famlafl-0.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b025dd174a00c2ba71f8a59404e8d1a1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 859934,
"upload_time": "2025-01-08T15:54:54",
"upload_time_iso_8601": "2025-01-08T15:54:54.715300Z",
"url": "https://files.pythonhosted.org/packages/8a/8a/b931b1f7ec24fa94ef583f902d877841c53637dab895d0b52e2a7bd35437/famlafl-0.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eb6088419334c93a38f1ac3705a4cbe2ee3d184a5f12e16f6c3a8468c760f06d",
"md5": "808d57aa4da1e267ce2209ffe8720a19",
"sha256": "bcbb40136c529642a59e2c86fbf49c8e0edbb0a4c821df3fe6062a3e30a44aad"
},
"downloads": -1,
"filename": "famlafl-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "808d57aa4da1e267ce2209ffe8720a19",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 745530,
"upload_time": "2025-01-08T15:54:57",
"upload_time_iso_8601": "2025-01-08T15:54:57.414624Z",
"url": "https://files.pythonhosted.org/packages/eb/60/88419334c93a38f1ac3705a4cbe2ee3d184a5f12e16f6c3a8468c760f06d/famlafl-0.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-08 15:54:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "7uperior",
"github_project": "famlafl",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "famlafl"
}