Skip to main content

star AI: Tools for decision-making and NLP.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

star AI is a Python package that bridges decision-making and natural language processing, inspired by intelligent behavior.

Features

  • Decision-Making Models - Game-theoretic strategies (e.g., tit-for-tat). - Multi-agent simulations. - Reinforcement learning agents.

  • Natural Language Processing - Sentiment analysis. - Tokenization and text similarity. - Language evolution simulation.

Installation

You can install the package via pip:

pip install star

Quick Start

Example usage:

# Decision Agent
from star.decision.agent import DecisionAgent
agent = DecisionAgent(strategy="tit_for_tat")
decision = agent.decide(opponent_action="cooperate")
print(f"Agent decided to: {decision}")

# Sentiment Analysis
from star.nlp.sentiment import SentimentAnalyzer
analyzer = SentimentAnalyzer()
print(analyzer.analyze("I love bananas!"))  # Output: "positive"

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cogentrl-0.2.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cogentrl-0.2.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file cogentrl-0.2.0.tar.gz.

File metadata

  • Download URL: cogentrl-0.2.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for cogentrl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 357a59f2871d02fc45abcfa3c7e9de992f25eddac7d13ce8a3f49c21d7fa71f6
MD5 ccf39a8b22de80fbda76c9d1b39b3318
BLAKE2b-256 9d1d184f91b2e58c22a4c6a37833592e7cba2f3eb53bb814d1f67baa3574a2a9

See more details on using hashes here.

File details

Details for the file cogentrl-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cogentrl-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for cogentrl-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a3b69981a7a60825ef5475cff83549bc1d620c1738d817573701d181b0e160f
MD5 da6d9b90ed0109e65f8883f68a3f5ed5
BLAKE2b-256 b8d844e88abbe1127e5e168739e4a070ce759e94bb1b1bfb70b25918a9863ab7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page