tensorcro


Nametensorcro JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/iTzAlver/tensorcro.git
SummaryTensorCRO: A Tensorflow-based implementation of the Coral Reef Optimization algorithm.
upload_time2023-04-21 11:03:11
maintainer
docs_urlNone
authorPalomo-Alonso, Alberto
requires_python>=3.8
license
keywords deeplearning ml api optimization heuristic
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TensorCRO: A Tensorflow-based implementation of the Coral Reef Optimization algorithm.

<p align="center">
    <img src="https://github.com/iTzAlver/TensorCRO/blob/master/multimedia/logo.png" width="400px">
</p>

<p align="center">
    <a href="https://github.com/iTzAlver/TensorCRO/blob/master/LICENSE">
        <img src="https://img.shields.io/github/license/iTzAlver/basenet_api?color=purple&style=plastic" /></a>
    <a href="https://github.com/iTzAlver/TensorCRO/tree/master/test">
        <img src="https://img.shields.io/badge/coverage-100%25-green?color=green&style=plastic" /></a>
    <a href="https://github.com/iTzAlver/TensorCRO/blob/master/build/requirements.txt">
        <img src="https://img.shields.io/badge/requirements-python3.8-red?color=blue&style=plastic" /></a>
    <a href="https://github.com/iTzAlver/TensorCRO/tree/master/multimedia/notebooks">
        <img src="https://img.shields.io/badge/doc-notebook-green?color=orange&style=plastic" /></a>
    <a href="https://github.com/iTzAlver/TensorCRO/releases/tag/TensorCRO-1.2.0">
        <img src="https://img.shields.io/badge/release-1.2.1-white?color=white&style=plastic" /></a>
</p>

<p align="center">
    <a href="https://www.tensorflow.org/">
        <img src="https://img.shields.io/badge/dependencies-tensorflow-red?color=orange&style=for-the-badge" /></a>
    <a href="https://developer.nvidia.com/cuda-downloads">
        <img src="https://img.shields.io/badge/dependencies-CUDA-red?color=green&style=for-the-badge" /></a>
</p>

# Table of contents

1. [About](#about)
2. [What's new?](#whats-new)
3. [Install](#install)
4. [Usage](#usage)

## About ##
    

```biblitex
Implementation author:     A.Palomo-Alonso (alberto.palomo@uah.es) 
Original Algorithm author: S.Salcedo-Sanz  (sancho.salcedo@uah.es)
Universidad de Alcalá (Madrid - Spain). Escuela Politécnica Superior
Signal Processing and Communications Department (TDSC)
```

This is a Tensorflow-based implementation of the Coral Reef Optimization algorithm. The algorithm is implemented
as a Tensorflow graph, which allows to run it in GPU and TPU. The algorithm is implemented as a set of substrate layers
that can be combined with other algorithms such as Differential Evolution, Harmony Search and Random Search. The
framework also allows to implement crossover operators as blxalpha, gaussian, uniform, masked and multipoint.

The framework also includes a Jupyter Notebook with an example of use of the algorithm.

## What's new?

### 1.0.0
1. First release.
2. CRO-SL: Coral Reef Optimization algorithm with substrate layers.
3. GPU runnable: The algorithm can be run in GPU and TPU as a graph, with +``x2` speed-up over the conventional implementations.
4. Substrate crossovers: The framework allows to implement crossover operators as blxalpha, gaussian, uniform, 
masked and multipoint.
5. Algorithms: The framework allows to implement algorithms as substrate layers such as Differential Evolution,
Harmony Search and Random Search.
6. Watch Replay: The algorithm also allows to watch the replay of the solutions found in the training process, with
an interactive GUI.
7. Jupyter Notebook: The framework includes a Jupyter Notebook with example of use for the Max-Ones-From-Zeros problem.

### 1.2.0
1. Progress bar: The framework now also includes a progress bar to monitor the training process.
2. Minor bug fixing.
3. Jupyter Notebook: The framework includes a Jupyter Notebook with example of use for the Max-Ones-From-Zeros problem.

### 1.2.1
1. Major bug fixing.
2. Auto-format of parameter specs.

## Install

To install it you must install the dependencies. Then, you can install the package with the following command
using PIP:

```bash
pip install tensorcro
```

Or you can clone the repository and install it with the following commands
using Git:

```bash
git clone https://github.com.iTzAlver/TensorCRO.git
cd TensorCRO/dist/
pip install ./tensorcro-1.2.0-py3-none-any.whl
```

### Requirements

* Python 3.6 or higher
* Tensorflow 2.0 or higher
* Numpy 1.18.1 or higher
* Matplotlib 3.1.3 or higher
* Pandas 1.0.1 or higher
* CUDA for GPU support (optional but strongly recommended)

# Usage:

We have a JuPyter Notebook with an example of use of the algorithm. You can find it in the folder `/multimedia/notebooks` 
of the repository.

# Cite:

If you use this code, please cite the following paper:

```bibtex
@inproceedings{palomo2022tensorcro,
  title={TensorCRO: A Tensorflow-based implementation of the Coral Reef Optimization algorithm},
  author={Palomo-Alonso, A and Salcedo-Sanz, S},
  journal={arXiv preprint arXiv:X.Y},
  year={2022}
}
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/iTzAlver/tensorcro.git",
    "name": "tensorcro",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "deeplearning,ml,api,optimization,heuristic",
    "author": "Palomo-Alonso, Alberto",
    "author_email": "a.palomo@edu.uah",
    "download_url": "https://files.pythonhosted.org/packages/a8/23/4b43a69bd7aaa86eeabb294b381ffa73ff81d526b8335760b5c0d8a5e165/tensorcro-1.2.1.tar.gz",
    "platform": null,
    "description": "# TensorCRO: A Tensorflow-based implementation of the Coral Reef Optimization algorithm.\n\n<p align=\"center\">\n    <img src=\"https://github.com/iTzAlver/TensorCRO/blob/master/multimedia/logo.png\" width=\"400px\">\n</p>\n\n<p align=\"center\">\n    <a href=\"https://github.com/iTzAlver/TensorCRO/blob/master/LICENSE\">\n        <img src=\"https://img.shields.io/github/license/iTzAlver/basenet_api?color=purple&style=plastic\" /></a>\n    <a href=\"https://github.com/iTzAlver/TensorCRO/tree/master/test\">\n        <img src=\"https://img.shields.io/badge/coverage-100%25-green?color=green&style=plastic\" /></a>\n    <a href=\"https://github.com/iTzAlver/TensorCRO/blob/master/build/requirements.txt\">\n        <img src=\"https://img.shields.io/badge/requirements-python3.8-red?color=blue&style=plastic\" /></a>\n    <a href=\"https://github.com/iTzAlver/TensorCRO/tree/master/multimedia/notebooks\">\n        <img src=\"https://img.shields.io/badge/doc-notebook-green?color=orange&style=plastic\" /></a>\n    <a href=\"https://github.com/iTzAlver/TensorCRO/releases/tag/TensorCRO-1.2.0\">\n        <img src=\"https://img.shields.io/badge/release-1.2.1-white?color=white&style=plastic\" /></a>\n</p>\n\n<p align=\"center\">\n    <a href=\"https://www.tensorflow.org/\">\n        <img src=\"https://img.shields.io/badge/dependencies-tensorflow-red?color=orange&style=for-the-badge\" /></a>\n    <a href=\"https://developer.nvidia.com/cuda-downloads\">\n        <img src=\"https://img.shields.io/badge/dependencies-CUDA-red?color=green&style=for-the-badge\" /></a>\n</p>\n\n# Table of contents\n\n1. [About](#about)\n2. [What's new?](#whats-new)\n3. [Install](#install)\n4. [Usage](#usage)\n\n## About ##\n    \n\n```biblitex\nImplementation author:     A.Palomo-Alonso (alberto.palomo@uah.es) \nOriginal Algorithm author: S.Salcedo-Sanz  (sancho.salcedo@uah.es)\nUniversidad de Alcal\u00e1 (Madrid - Spain). Escuela Polit\u00e9cnica Superior\nSignal Processing and Communications Department (TDSC)\n```\n\nThis is a Tensorflow-based implementation of the Coral Reef Optimization algorithm. The algorithm is implemented\nas a Tensorflow graph, which allows to run it in GPU and TPU. The algorithm is implemented as a set of substrate layers\nthat can be combined with other algorithms such as Differential Evolution, Harmony Search and Random Search. The\nframework also allows to implement crossover operators as blxalpha, gaussian, uniform, masked and multipoint.\n\nThe framework also includes a Jupyter Notebook with an example of use of the algorithm.\n\n## What's new?\n\n### 1.0.0\n1. First release.\n2. CRO-SL: Coral Reef Optimization algorithm with substrate layers.\n3. GPU runnable: The algorithm can be run in GPU and TPU as a graph, with +``x2` speed-up over the conventional implementations.\n4. Substrate crossovers: The framework allows to implement crossover operators as blxalpha, gaussian, uniform, \nmasked and multipoint.\n5. Algorithms: The framework allows to implement algorithms as substrate layers such as Differential Evolution,\nHarmony Search and Random Search.\n6. Watch Replay: The algorithm also allows to watch the replay of the solutions found in the training process, with\nan interactive GUI.\n7. Jupyter Notebook: The framework includes a Jupyter Notebook with example of use for the Max-Ones-From-Zeros problem.\n\n### 1.2.0\n1. Progress bar: The framework now also includes a progress bar to monitor the training process.\n2. Minor bug fixing.\n3. Jupyter Notebook: The framework includes a Jupyter Notebook with example of use for the Max-Ones-From-Zeros problem.\n\n### 1.2.1\n1. Major bug fixing.\n2. Auto-format of parameter specs.\n\n## Install\n\nTo install it you must install the dependencies. Then, you can install the package with the following command\nusing PIP:\n\n```bash\npip install tensorcro\n```\n\nOr you can clone the repository and install it with the following commands\nusing Git:\n\n```bash\ngit clone https://github.com.iTzAlver/TensorCRO.git\ncd TensorCRO/dist/\npip install ./tensorcro-1.2.0-py3-none-any.whl\n```\n\n### Requirements\n\n* Python 3.6 or higher\n* Tensorflow 2.0 or higher\n* Numpy 1.18.1 or higher\n* Matplotlib 3.1.3 or higher\n* Pandas 1.0.1 or higher\n* CUDA for GPU support (optional but strongly recommended)\n\n# Usage:\n\nWe have a JuPyter Notebook with an example of use of the algorithm. You can find it in the folder `/multimedia/notebooks` \nof the repository.\n\n# Cite:\n\nIf you use this code, please cite the following paper:\n\n```bibtex\n@inproceedings{palomo2022tensorcro,\n  title={TensorCRO: A Tensorflow-based implementation of the Coral Reef Optimization algorithm},\n  author={Palomo-Alonso, A and Salcedo-Sanz, S},\n  journal={arXiv preprint arXiv:X.Y},\n  year={2022}\n}\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "TensorCRO: A Tensorflow-based implementation of the Coral Reef Optimization algorithm.",
    "version": "1.2.1",
    "split_keywords": [
        "deeplearning",
        "ml",
        "api",
        "optimization",
        "heuristic"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "93321e4518652e240b94e14009c22a9d4fe71d12270ca6bdb41caef2fcc97218",
                "md5": "7b05f53c23903a2cee6286e11f9789a3",
                "sha256": "d596f3dfc995101226f6b6d2186fd39f005362bf34c844708fcf98c0621b243b"
            },
            "downloads": -1,
            "filename": "tensorcro-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7b05f53c23903a2cee6286e11f9789a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 21331,
            "upload_time": "2023-04-21T11:03:09",
            "upload_time_iso_8601": "2023-04-21T11:03:09.652150Z",
            "url": "https://files.pythonhosted.org/packages/93/32/1e4518652e240b94e14009c22a9d4fe71d12270ca6bdb41caef2fcc97218/tensorcro-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8234b43a69bd7aaa86eeabb294b381ffa73ff81d526b8335760b5c0d8a5e165",
                "md5": "b155acf241b94bb552346d8126c635ef",
                "sha256": "fec1ba303643c9809df2e0a850cf3370647b65d4fdd3e28191bfc7fe9844d731"
            },
            "downloads": -1,
            "filename": "tensorcro-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b155acf241b94bb552346d8126c635ef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 15968,
            "upload_time": "2023-04-21T11:03:11",
            "upload_time_iso_8601": "2023-04-21T11:03:11.923932Z",
            "url": "https://files.pythonhosted.org/packages/a8/23/4b43a69bd7aaa86eeabb294b381ffa73ff81d526b8335760b5c0d8a5e165/tensorcro-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-21 11:03:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "iTzAlver",
    "github_project": "tensorcro.git",
    "lcname": "tensorcro"
}
        
Elapsed time: 0.05958s