# Framework3
Framework3 is an innovative platform designed to simplify and accelerate the development of machine learning models. It provides data scientists and machine learning engineers with a flexible and powerful tool to create, experiment with, and deploy models efficiently and in a structured manner. [https://manucouto1.github.io/framework3](https://manucouto1.github.io/framework3)
## Key Features
- Modular and flexible architecture
- Customizable pipelines for ML workflows
- Extensible plugin system for filters, metrics, and storage
- Support for distributed processing with MapReduce
- Integrated model evaluation and optimization tools
## Prerequisites
Before installing Framework3, ensure you have the following prerequisites:
1. Python 3.11 or higher
2. pip (Python package installer)
## Installation Options
You have two options to install Framework3:
### Option 1: Install from PyPI
The easiest way to install Framework3 is directly from PyPI using pip:
```bash
pip install framework3
```
This will install the latest stable version of Framework3 and its dependencies.
### Option 2: Install from Source
2. Clone the repository:
```
git clone https://github.com/manucouto1/framework3.git
```
3. Navigate to the project directory:
```
cd framework3
```
4. Install the dependencies using pip:
```
pip install -r requirements.txt
```
## Basic Usage
Here's a basic example of how to use Framework3:
```python
from framework3.plugins.pipelines import F3Pipeline
from framework3.plugins.filters import KnnFilter
from framework3.plugins.metrics import F1, Precision, Recall
# Create a pipeline
pipeline = F3Pipeline(
plugins=[KnnFilter()],
metrics=[F1(), Precision(), Recall()]
)
# Fit the model
pipeline.fit(X_train, y_train)
# Make predictions
predictions = pipeline.predict(X_test)
# Evaluate the model
evaluation = pipeline.evaluate(X_test, y_test, y_pred=predictions)
print(evaluation)
```
## Documentation
For more detailed information on how to use Framework3, check out our complete documentation at:
[https://manucouto1.github.io/framework3](https://manucouto1.github.io/framework3)
## Contributing
Contributions are welcome. Please read our contribution guidelines before submitting pull requests.
## License
This project is licensed under the AGPL-3.0 license. See the `LICENSE` file for more details.
## Contact
If you have any questions or suggestions, don't hesitate to open an issue in this repository or contact the development team.
---
Thank you for your interest in Framework3! We hope this tool will be useful in your machine learning projects.
Raw data
{
"_id": null,
"home_page": null,
"name": "framework3",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": "machine learning, framework, pipeline, ML, AI, data science",
"author": "Manuel Couto Pintos",
"author_email": "manuel.couto.pintos@usc.es",
"download_url": "https://files.pythonhosted.org/packages/1f/0b/738b2111c4e8fca101338e68ebe3bd8ffc21229d0d62a2071d894d7ade83/framework3-1.0.8.tar.gz",
"platform": null,
"description": "# Framework3\n\nFramework3 is an innovative platform designed to simplify and accelerate the development of machine learning models. It provides data scientists and machine learning engineers with a flexible and powerful tool to create, experiment with, and deploy models efficiently and in a structured manner. [https://manucouto1.github.io/framework3](https://manucouto1.github.io/framework3)\n\n## Key Features\n\n- Modular and flexible architecture\n- Customizable pipelines for ML workflows\n- Extensible plugin system for filters, metrics, and storage\n- Support for distributed processing with MapReduce\n- Integrated model evaluation and optimization tools\n\n## Prerequisites\n\nBefore installing Framework3, ensure you have the following prerequisites:\n\n1. Python 3.11 or higher\n2. pip (Python package installer)\n\n## Installation Options\n\nYou have two options to install Framework3:\n\n### Option 1: Install from PyPI\n\nThe easiest way to install Framework3 is directly from PyPI using pip:\n\n```bash\npip install framework3\n```\n\nThis will install the latest stable version of Framework3 and its dependencies.\n\n### Option 2: Install from Source\n\n2. Clone the repository:\n ```\n git clone https://github.com/manucouto1/framework3.git\n ```\n\n3. Navigate to the project directory:\n ```\n cd framework3\n ```\n\n4. Install the dependencies using pip:\n ```\n pip install -r requirements.txt\n ```\n\n## Basic Usage\n\nHere's a basic example of how to use Framework3:\n\n```python\nfrom framework3.plugins.pipelines import F3Pipeline\nfrom framework3.plugins.filters import KnnFilter\nfrom framework3.plugins.metrics import F1, Precision, Recall\n\n# Create a pipeline\npipeline = F3Pipeline(\n plugins=[KnnFilter()],\n metrics=[F1(), Precision(), Recall()]\n)\n\n# Fit the model\npipeline.fit(X_train, y_train)\n\n# Make predictions\npredictions = pipeline.predict(X_test)\n\n# Evaluate the model\nevaluation = pipeline.evaluate(X_test, y_test, y_pred=predictions)\nprint(evaluation)\n```\n\n## Documentation\n\nFor more detailed information on how to use Framework3, check out our complete documentation at:\n\n[https://manucouto1.github.io/framework3](https://manucouto1.github.io/framework3)\n\n## Contributing\n\nContributions are welcome. Please read our contribution guidelines before submitting pull requests.\n\n## License\n\nThis project is licensed under the AGPL-3.0 license. See the `LICENSE` file for more details.\n\n## Contact\n\nIf you have any questions or suggestions, don't hesitate to open an issue in this repository or contact the development team.\n\n---\n\nThank you for your interest in Framework3! We hope this tool will be useful in your machine learning projects.\n",
"bugtrack_url": null,
"license": "AGPL-3.0-or-later",
"summary": "A flexible framework for machine learning pipelines",
"version": "1.0.8",
"project_urls": {
"Documentation": "https://manucouto1.github.io/framework3/",
"Homepage": "https://github.com/manucouto1/framework3",
"Repository": "https://github.com/manucouto1/framework3.git"
},
"split_keywords": [
"machine learning",
" framework",
" pipeline",
" ml",
" ai",
" data science"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eb1200efe1920b4aebfd9390a0bbf553e44b13205b3c4fb6d8eaf5e10bb4bcce",
"md5": "ba5355b5df46e6308677dec9e3f0816e",
"sha256": "e493bffefd342c298f26e4d6bff9d23a2b5aecfd7b5a117edf3b1b363da8a079"
},
"downloads": -1,
"filename": "framework3-1.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ba5355b5df46e6308677dec9e3f0816e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 73475,
"upload_time": "2024-12-19T15:38:58",
"upload_time_iso_8601": "2024-12-19T15:38:58.392716Z",
"url": "https://files.pythonhosted.org/packages/eb/12/00efe1920b4aebfd9390a0bbf553e44b13205b3c4fb6d8eaf5e10bb4bcce/framework3-1.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1f0b738b2111c4e8fca101338e68ebe3bd8ffc21229d0d62a2071d894d7ade83",
"md5": "208e96cf44650df14eceefcb9c1335f1",
"sha256": "4b1d3c7283ddcd4605b5a807edf534f1cbe42e84845f36a590e0a4f3bfbb0613"
},
"downloads": -1,
"filename": "framework3-1.0.8.tar.gz",
"has_sig": false,
"md5_digest": "208e96cf44650df14eceefcb9c1335f1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 52364,
"upload_time": "2024-12-19T15:38:59",
"upload_time_iso_8601": "2024-12-19T15:38:59.611381Z",
"url": "https://files.pythonhosted.org/packages/1f/0b/738b2111c4e8fca101338e68ebe3bd8ffc21229d0d62a2071d894d7ade83/framework3-1.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-19 15:38:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "manucouto1",
"github_project": "framework3",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "typeguard",
"specs": [
[
"==",
"4.4.1"
]
]
},
{
"name": "multimethod",
"specs": [
[
"==",
"1.12"
]
]
},
{
"name": "pyspark",
"specs": [
[
"==",
"3.5.3"
]
]
},
{
"name": "fastapi",
"specs": [
[
"==",
"0.115.5"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"2.2.3"
]
]
},
{
"name": "torch",
"specs": [
[
"==",
"2.5.1"
]
]
},
{
"name": "scipy",
"specs": [
[
"==",
"1.13.1"
]
]
},
{
"name": "rich",
"specs": [
[
"==",
"13.9.4"
]
]
},
{
"name": "boto3",
"specs": [
[
"==",
"1.35.73"
]
]
},
{
"name": "scikit-learn",
"specs": [
[
"==",
"1.5.2"
]
]
},
{
"name": "cloudpickle",
"specs": [
[
"==",
"3.1.0"
]
]
},
{
"name": "tqdm",
"specs": [
[
"==",
"4.67.1"
]
]
},
{
"name": "nltk",
"specs": [
[
"==",
"3.9.1"
]
]
},
{
"name": "transformers",
"specs": [
[
"==",
"4.46.3"
]
]
},
{
"name": "gensim",
"specs": [
[
"==",
"4.3.3"
]
]
},
{
"name": "wandb",
"specs": [
[
"==",
"0.18.7"
]
]
}
],
"lcname": "framework3"
}