{ "info": { "author": "Raphael Patrick Prager", "author_email": "raphael.prager@gmx.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# pflacco: A Python Interface of the R Package flacco\nFor people who are not comfortable with R.\n\n## Summary\nFeature-based landscape analysis of continuous and constrained optimization problems is now available in Python as well.\nThis package provides a python interface to the R package [flacco](https://github.com/kerschke/flacco) by Pascal Kerschke.\nThe following is the description of the original flacco package:\n> flacco is a collection of features for Explorative Landscape Analysis (ELA) of single-objective, continuous (Black-Box-)Optimization Problems. It allows the user to quantify characteristics of an (unknown) optimization problem's landscape.\n>\n> Features, which used to be spread over different packages and platforms (R, Matlab, python, etc.), are now combined within this single package. Amongst others, this package contains feature sets, such as ELA, Information Content, Dispersion, (General) Cell Mapping or Barrier Trees.\n>\n> Furthermore, the package provides a unified interface for all features -- using a so-called feature object and (if required) control arguments. In total, the current release (1.7) consists of 17 different feature sets, which sum up to approximately 300 features.\n>\n> In addition to the features themselves, this package also provides visualizations, e.g. of the cell mappings, barrier trees or information content\n\nThe calculation procedure and further background information of ELA features is given in [Comprehensive Feature-Based Landscape Analysis of Continuous and Constrained Optimization Problems Using the R-Package flacco](https://arxiv.org/abs/1708.05258).\n## Prerequisites\nFor a stable (and tested) outcome, pflacco requires at least [Python>=3.6.4](https://www.python.org/downloads/release/python-364/) and [R>=3.6.1](https://cran.uni-muenster.de)\n\n## Setup\nEasy as it usually is in Python:\n```bash\npython -m pip install flacco\n```\n\n## Quickstart\n```python\nfrom pflacco.pflacco import create_initial_sample, create_feature_object, calculate_feature_set, calculate_features\n\n# Arbitrary objective function\ndef objective_function(x, dim):\n return [entry[0]**2 - entry[1]**2 for entry in x]\n\n\n# Create inital sample using latin hyper cube sampling\nsample = create_initial_sample(100, 2, type = 'lhs')\n# Calculate the objective values of the initial sample using an arbitrary objective function (here y = x1^2 - x2^2)\nobj_values = objective_function(sample, 2)\n# Create feature object\nfeat_object = create_feature_object(sample, obj_values, blocks=3)\n\n# Calculate a single feature set\ncm_angle_features = calculate_feature_set(feat_object, 'cm_angle')\nprint(cm_angle_features)\n\n# Calculate all features\nela_features = calculate_features(feat_object)\nprint(ela_features)\n```\n\n## Contact\nI endorse and appreciate every comment and participation. Feel free to contact me under raphael.prager@uni-muenster.de\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/javatechy/dokr", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pflacco", "package_url": "https://pypi.org/project/pflacco/", "platform": "", "project_url": "https://pypi.org/project/pflacco/", "project_urls": { "Homepage": "https://github.com/javatechy/dokr" }, "release_url": "https://pypi.org/project/pflacco/0.4/", "requires_dist": [ "rpy2 (>=3.0.5)", "numpy (>=1.17.0)" ], "requires_python": "", "summary": "An python interface to the R package flacco for computing ELA features.", "version": "0.4" }, "last_serial": 5885065, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5469cf5102a8ddd977a0a0f33a61c3ac", "sha256": "91846cdefe1d8dd1c5cdca16485955bf435991c194f3ab96940b0508c12b40aa" }, "downloads": -1, "filename": "pflacco-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5469cf5102a8ddd977a0a0f33a61c3ac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5613, "upload_time": "2019-08-15T14:37:09", "url": "https://files.pythonhosted.org/packages/b7/8e/162724083ffb8185f0121e4108245252bbe163da2d7988c48866279cee7c/pflacco-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f972cbea2b029b6ca10de8600086037", "sha256": "1e888abb2e2e7ba29b53ea5844def3f8b4c6230adb1ef81cb967e41f179d0ae1" }, "downloads": -1, "filename": "pflacco-0.1.tar.gz", "has_sig": false, "md5_digest": "7f972cbea2b029b6ca10de8600086037", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4236, "upload_time": "2019-08-15T14:37:12", "url": "https://files.pythonhosted.org/packages/11/d3/98a1a330b6cea461317100328ce743a876e193d309b3cbd2544f354ad24e/pflacco-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "ab6d50b57c8ccc7bb9f613c360a4b9d0", "sha256": "e1e7e53db10a75d2ee8ec33322e2f1f84af870bc77fb49fb69f71694134af0a8" }, "downloads": -1, "filename": "pflacco-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ab6d50b57c8ccc7bb9f613c360a4b9d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5662, "upload_time": "2019-08-15T14:46:24", "url": "https://files.pythonhosted.org/packages/9c/29/38efe8d2c33e42d8af4bb77f251f284d7cf3f277ebb4aa036030aba1c124/pflacco-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d21b53b8cf4478b9161c7746e8a25098", "sha256": "a5f272cc93ec9cd6a2fba4a0dbf655ca15fe41b7372b44989dc8abe828b38032" }, "downloads": -1, "filename": "pflacco-0.2.tar.gz", "has_sig": false, "md5_digest": "d21b53b8cf4478b9161c7746e8a25098", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4302, "upload_time": "2019-08-15T14:46:26", "url": "https://files.pythonhosted.org/packages/29/7e/a6174cea493bc1d4867f5ce242f7c2b0d51e852cba6d2b38dd8fc5aee01f/pflacco-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "79492354dc21b9d5cf27f626044bd6c4", "sha256": "ed31c2e9f7c114eca044ea13be5043b9162962aaa12abcafaa3975c4b8e974db" }, "downloads": -1, "filename": "pflacco-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "79492354dc21b9d5cf27f626044bd6c4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5670, "upload_time": "2019-08-15T15:04:54", "url": "https://files.pythonhosted.org/packages/5e/64/96f523f767bb9b3be018a995aab8622dd4c449e8e83bf4317d7664a735e8/pflacco-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de3b0473d1f120f82612e7db31e0f153", "sha256": "188e77b677bfa74a567d0bb707fd9c3f681f61d256c647ccc78969266900a177" }, "downloads": -1, "filename": "pflacco-0.3.tar.gz", "has_sig": false, "md5_digest": "de3b0473d1f120f82612e7db31e0f153", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4313, "upload_time": "2019-08-15T15:04:56", "url": "https://files.pythonhosted.org/packages/1e/17/69e00271fa90dc4e788853088e4427fd35672f4f906a2dee68585ba00c6a/pflacco-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "cf2bff3422bbccee4489d53e043e56cb", "sha256": "f17a1822c86924a442ec7d31a5f2fcc8c69b4837be5ecb81fefb7538cd1dba7a" }, "downloads": -1, "filename": "pflacco-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "cf2bff3422bbccee4489d53e043e56cb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5874, "upload_time": "2019-09-25T12:37:50", "url": "https://files.pythonhosted.org/packages/95/f9/943a26e3112249c3c10034ffb7931adc2cc08a85054328c761c3839da5bb/pflacco-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b73d25379c3afa035a0de6706aa53a05", "sha256": "e57aabea59eecbf918fcb6a61f193bed1068347090d2ab6e48be3dc9652e10ce" }, "downloads": -1, "filename": "pflacco-0.4.tar.gz", "has_sig": false, "md5_digest": "b73d25379c3afa035a0de6706aa53a05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4513, "upload_time": "2019-09-25T12:37:52", "url": "https://files.pythonhosted.org/packages/7e/bd/bce3d1ad4f068e5291e3862c3dabb28e0f576cde4365048168a7eaba0dc5/pflacco-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cf2bff3422bbccee4489d53e043e56cb", "sha256": "f17a1822c86924a442ec7d31a5f2fcc8c69b4837be5ecb81fefb7538cd1dba7a" }, "downloads": -1, "filename": "pflacco-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "cf2bff3422bbccee4489d53e043e56cb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5874, "upload_time": "2019-09-25T12:37:50", "url": "https://files.pythonhosted.org/packages/95/f9/943a26e3112249c3c10034ffb7931adc2cc08a85054328c761c3839da5bb/pflacco-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b73d25379c3afa035a0de6706aa53a05", "sha256": "e57aabea59eecbf918fcb6a61f193bed1068347090d2ab6e48be3dc9652e10ce" }, "downloads": -1, "filename": "pflacco-0.4.tar.gz", "has_sig": false, "md5_digest": "b73d25379c3afa035a0de6706aa53a05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4513, "upload_time": "2019-09-25T12:37:52", "url": "https://files.pythonhosted.org/packages/7e/bd/bce3d1ad4f068e5291e3862c3dabb28e0f576cde4365048168a7eaba0dc5/pflacco-0.4.tar.gz" } ] }