Skip to main content

A Python ML library that evolves with your data. Batch + Real-time Learning, AutoML, XAI, NLP, RL, Anomaly Detection & more.

Project description

evolveml 🚀

A Python ML library that evolves with your data.
Batch + Real-time Learning + Latest 2026 AI Trends — no sklearn needed!

Author: SAPPA VAMSI


Install

pip install evolveml

What's Inside (v0.2.0)

🧠 Core Models

Module Description
DecisionTreeClassifier Decision Tree from scratch
LinearRegressionModel Linear Regression
LogisticRegressionModel Logistic Regression + online updates
NeuralNetwork Neural Network from scratch

🔄 Real-time / Online Learning

Module Description
StreamLearner Learns one sample at a time in real-time

🎯 Ready-to-use Tasks

Module Description
FraudDetector Real-time bank fraud detection
ImageClassifier Image classification
SpamDetector Email spam detection
StockPredictor Stock price prediction

🔥 Latest 2026 Trending Modules

Module Trend Description
AutoFeatureSelector AutoML Auto-selects best features
AnomalyDetector Edge AI / IoT Detects anomalies in streams
ConceptDriftDetector Adaptive ML Detects data distribution changes
ExplainableModel XAI Explains WHY model predicted
ReinforcementAgent Agentic AI Q-Learning agent
SentimentAnalyzer NLP Real-time text sentiment
TransferLearner Transfer Learning Reuse knowledge across tasks

Quick Examples

🤖 AutoML - Auto Feature Selection

from evolveml import AutoFeatureSelector
selector = AutoFeatureSelector(top_k=5)
X_best = selector.fit_transform(X_train, y_train)
selector.report()

🚨 Anomaly Detection (IoT/Edge)

from evolveml import AnomalyDetector
detector = AnomalyDetector(threshold=2.5)
detector.fit(normal_data)
result = detector.detect(new_sensor_reading)
print(result)  # {'is_anomaly': True, 'status': '🚨 ANOMALY'}

📉 Concept Drift Detection

from evolveml import ConceptDriftDetector
drift = ConceptDriftDetector()
for pred, actual in prediction_stream:
    status = drift.update(pred, actual)
    if status['drift_detected']:
        print("⚠️ Retrain your model!")

🔍 Explainable AI

from evolveml import ExplainableModel, DecisionTreeClassifier
model = DecisionTreeClassifier()
model.fit(X_train, y_train)
xai = ExplainableModel(model, feature_names=['age', 'amount', 'hour'])
xai.fit(X_train, y_train)
xai.explain(X_test[0])

🎮 Reinforcement Learning Agent

from evolveml import ReinforcementAgent
agent = ReinforcementAgent(n_states=100, n_actions=4)
action = agent.act(state)
agent.learn(state, action, reward=+1, next_state=next_state)

💬 Sentiment Analysis

from evolveml import SentimentAnalyzer
analyzer = SentimentAnalyzer()
result = analyzer.analyze("This product is absolutely amazing!")
print(result)  # {'sentiment': 'POSITIVE 😊', 'confidence': 0.87}
analyzer.learn("brilliant", label='positive')  # teach new words

🔁 Transfer Learning

from evolveml import TransferLearner, DecisionTreeClassifier
source = DecisionTreeClassifier()
source.fit(X_source, y_source)
transfer = TransferLearner(source)
transfer.fit(X_target, y_target)  # learns faster with less data!

License

MIT — Free to use!

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

evolveml-0.2.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

evolveml-0.2.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for evolveml-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d556dcd46021adc4911ca17966285ee6e93ef41e3bb58a6ed1edd64d925053b8
MD5 fddd2614437d1e2658a9eb3936e0ab16
BLAKE2b-256 597b5efb2f5dfa977fa8cc77b19b975e80312e6025e2ba5d2b92548c5197de87

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for evolveml-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eda971a8cf79e956683e7a5817e2c238586eef1ab533998114b31e195033a0ed
MD5 d9abf6e7022ee43371d47c5fe8696458
BLAKE2b-256 31f6ba61dedaa95fe4614616270867dd0c7b890c8b34d884ebf511a5556cb1c1

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