XCS (Accuracy-based Classifier System)
Project description
Accuracy-based Learning Classifier Systems for Python 3
Links
The package is available for download under the permissive Revised BSD License.
Description
XCS is a Python 3 implementation of the XCS algorithm as described in the 2001 paper, An Algorithmic Description of XCS, by Martin Butz and Stewart Wilson. XCS is a type of Learning Classifier System (LCS), a machine learning algorithm that utilizes a genetic algorithm acting on a rule-based system, to solve a reinforcement learning problem.
In its canonical form, XCS accepts a fixed-width string of bits as its input, and attempts to select the best action from a predetermined list of choices using an evolving set of rules that match inputs and offer appropriate suggestions. It then receives a reward signal indicating the quality of its decision, which it uses to adjust the rule set that was used to make the decision. This process is subsequently repeated, allowing the algorithm to evaluate the changes it has already made and further refine the rule set.
A key feature of XCS is that, unlike many other machine learning algorithms, it not only learns the optimal input/output mapping, but also produces a minimal set of rules for describing that mapping. This is a big advantage over other learning algorithms such as neural networks whose models are largely opaque to human analysis, making XCS an important tool in any data scientist’s tool belt.
The XCS library provides not only an implementation of the standard XCS algorithm, but a set of interfaces which together constitute a framework for implementing and experimenting with other LCS variants. Future plans for the XCS library include continued expansion of the tool set with additional algorithms, and refinement of the interface to support reinforcement learning algorithms in general.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xcs-1.0.0.zip
.
File metadata
- Download URL: xcs-1.0.0.zip
- Upload date:
- Size: 121.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a21b2787ca6c3aa30c7f016403e81c456537f6b4f8c65a57f9a3866d69b779 |
|
MD5 | 713e06dc39a95889d42f3b8cede007d0 |
|
BLAKE2b-256 | 70b1f360d661d4058b4f1efeda358b3312595d7be5cfedc3f8349c88c5711677 |
File details
Details for the file xcs-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: xcs-1.0.0-py3-none-any.whl
- Upload date:
- Size: 53.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1254131b1b65dab81e7f076f3750c62b9b4bf0045250c008c4999b535824c12f |
|
MD5 | 84b0dc55ef59ab4497e67ed07265aebf |
|
BLAKE2b-256 | fca53f3ef5be95e94eb44cc00be66073624bb468290432690cfca19b7b999fb0 |