xcs

Accuracy-based Learning Classifier Systems (XCS)

https://github.com/hosford42/xcs

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: springer.com
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Accuracy-based Learning Classifier Systems (XCS)

Basic Info
Statistics
  • Stars: 51
  • Watchers: 8
  • Forks: 17
  • Open Issues: 18
  • Releases: 8
Created about 11 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

XCS

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.

Related Projects

Owner

  • Name: Aaron Hosford
  • Login: hosford42
  • Kind: user
  • Location: North Texas

Programming for >30 years, 16 with Python. Love to code & spend all my spare time doing it. Beyond enthusiastic about Machine Learning & AI.

GitHub Events

Total
  • Watch event: 4
  • Fork event: 1
Last Year
  • Watch event: 4
  • Fork event: 1

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 189
  • Total Committers: 1
  • Avg Commits per committer: 189.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Aaron Hosford h****2@g****m 189

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 26
  • Total pull requests: 1
  • Average time to close issues: 4 days
  • Average time to close pull requests: less than a minute
  • Total issue authors: 4
  • Total pull request authors: 1
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • hosford42 (23)
  • Rahul6818 (1)
  • elfcorreia (1)
  • prakashtewari (1)
Pull Request Authors
  • ldacosta (1)
Top Labels
Issue Labels
enhancement (18) help wanted (10)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 79 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 5
    (may contain duplicates)
  • Total versions: 10
  • Total maintainers: 1
pypi.org: xcs

XCS (Accuracy-based Classifier System)

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 58 Last month
  • Docker Downloads: 0
Rankings
Docker downloads count: 3.5%
Forks count: 8.7%
Dependent repos count: 9.0%
Stargazers count: 9.9%
Dependent packages count: 10.1%
Average: 10.6%
Downloads: 22.5%
Maintainers (1)
Last synced: 12 months ago
pypi.org: pheno

Genetic programming for arbitrary domains

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 21 Last month
Rankings
Forks count: 8.7%
Stargazers count: 10.0%
Dependent packages count: 10.1%
Dependent repos count: 11.6%
Average: 23.8%
Downloads: 78.7%
Maintainers (1)
Last synced: 12 months ago

Dependencies

setup.py pypi
  • numpy *