arXiv reaDer
PyGAD: 直感的な遺伝的アルゴリズムのためのPythonライブラリ
PyGAD: An Intuitive Genetic Algorithm Python Library
本稿では、遺伝的アルゴリズムを構築するためのオープンソースで使いやすいPythonライブラリであるPyGADを紹介する。PyGADは幅広いパラメータをサポートしており、ユーザーはそのライフサイクルのすべてをコントロールすることができる。これには、母集団、遺伝子の値の範囲、遺伝子のデータタイプ、親の選択、クロスオーバー、突然変異などが含まれるが、これらに限定されません。PyGADは、ユーザーがフィットネス関数をカスタマイズできる、汎用の最適化ライブラリとして設計されている。使い方は、フィットネス関数の構築、pygad.GAクラスのインスタンスの作成、pygad.GA.run()メソッドの呼び出しの3つのステップで構成されている。このライブラリは、PyGAD自身またはKerasやPyTorchなどのフレームワークで作成された深層学習モデルのトレーニングをサポートしている。安定した状態にあるPyGADは、GitHub (https://github.com/ahmedfgad/GeneticAlgorithmPython)に寄せられたユーザーからの要望や機能拡張に対応するため、積極的に開発を行っている。なお、PyGADには、詳細や例を示したドキュメント https://pygad.readthedocs.io が用意されている。
This paper introduces PyGAD, an open-source easy-to-use Python library for building the genetic algorithm. PyGAD supports a wide range of parameters to give the user control over everything in its life cycle. This includes, but is not limited to, population, gene value range, gene data type, parent selection, crossover, and mutation. PyGAD is designed as a general-purpose optimization library that allows the user to customize the fitness function. Its usage consists of 3 main steps: build the fitness function, create an instance of the pygad.GA class, and calling the pygad.GA.run() method. The library supports training deep learning models created either with PyGAD itself or with frameworks like Keras and PyTorch. Given its stable state, PyGAD is also in active development to respond to the user's requested features and enhancement received on GitHub https://github.com/ahmedfgad/GeneticAlgorithmPython. PyGAD comes with documentation https://pygad.readthedocs.io for further details and examples.
updated: Fri Jun 11 2021 04:08:30 GMT+0000 (UTC)
published: Fri Jun 11 2021 04:08:30 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト