@astermind/astermind-pro
Version:
Astermind Pro - Premium ML Toolkit with Advanced RAG, Reranking, Summarization, and Information Flow Analysis
462 lines (367 loc) • 17.6 kB
Markdown
# Astermind ELM vs Astermind Pro
**Choose the Right Edition for Your Needs**
## Quick Comparison
| Feature | Astermind ELM<br/>(Community Edition) | Astermind Pro<br/>(Premium Edition) |
|---------|--------------------------------------|-------------------------------------|
| **License** | MIT (Free, Open Source) | Proprietary (Paid) |
| **Price** | Free Forever | Contact for Pricing |
| **Core ML Models** | ✅ 4 Models | ✅ 4 Models + Premium Systems |
| **RAG Systems** | ❌ | ✅ Complete Omega RAG Pipeline |
| **Reranking** | ❌ | ✅ Production-Grade OmegaRR |
| **Summarization** | ❌ | ✅ Intent-Aware OmegaSumDet |
| **Information Flow Analysis** | ❌ | ✅ Transfer Entropy + PWS |
| **Advanced Math** | Basic | ✅ Production-Grade (KRR, RFF, OnlineRidge) |
| **Hybrid Retrieval** | Basic EmbeddingStore | ✅ Sparse + Dense Hybrid |
| **Auto-Tuning** | ❌ | ✅ Automated Hyperparameter Optimization |
| **Tree-Aware Parsing** | ❌ | ✅ Hierarchical Markdown Processing |
| **Workers** | Basic ELMWorker | ✅ Dev + Production Workers |
| **Astermind Synth** | ❌ | ✅ **Included** - Synthetic Data Generator |
| **Documentation** | Basic | ✅ 2,300+ Lines Comprehensive Guide |
| **Support** | Community (GitHub) | ✅ Professional Support |
## Detailed Feature Comparison
### 🧠 Core Machine Learning
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **ELM (Extreme Learning Machine)** | ✅ | ✅ |
| **OnlineELM** | ✅ | ✅ |
| **KernelELM** | ✅ | ✅ |
| **DeepELM** | ✅ Basic | ✅ **DeepELMPro** (Enhanced) |
| **DeepELM Pretraining** | ❌ | ✅ Autoencoder pretraining |
| **DeepELM Training Modes** | ✅ Joint only | ✅ Layer-wise or Joint |
| **DeepELM Regularization** | ❌ | ✅ L1/L2/Elastic Net |
| **DeepELM Batch Norm** | ❌ | ✅ Optional |
| **DeepELM Dropout** | ❌ | ✅ Optional |
| **Multi-Kernel ELM** | ❌ | ✅ Combines multiple kernels |
| **Online Kernel ELM** | ❌ | ✅ Streaming updates |
| **Multi-Task ELM** | ❌ | ✅ Joint task learning |
| **Sparse ELM** | ❌ | ✅ Regularization & sparsity |
| **Classification** | ✅ | ✅ |
| **Regression** | ✅ | ✅ |
| **Batch Training** | ✅ | ✅ |
| **Incremental Learning** | ✅ | ✅ |
| **Online Learning** | ✅ | ✅ |
| **Activation Functions** | ✅ 7 Types | ✅ 7 Types |
| **Kernel Types** | ✅ 5 Types | ✅ 5 Types + RFF Approximation |
| **Weight Initializers** | ✅ 3 Types | ✅ 3 Types + Advanced |
**Verdict:** Both editions include the same core ML models. Pro adds **DeepELMPro** (improved DeepELM with pretraining, regularization, batch norm, and dropout) plus 4 additional advanced ELM variants (Multi-Kernel, Online Kernel, Multi-Task, Sparse) not available in base ELM.
### 📝 Text Processing & Encoding
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **UniversalEncoder** | ✅ Basic | ✅ Advanced |
| **TF-IDF Vectorization** | ✅ | ✅ Enhanced |
| **Tokenization** | ✅ Basic | ✅ Advanced with Stemming |
| **Text Encoding** | ✅ | ✅ |
| **Embeddings** | ✅ | ✅ |
| **Tree-Aware Markdown Parsing** | ❌ | ✅ Hierarchical Section Extraction |
| **Code-Aware Processing** | ❌ | ✅ Atomic Code Block Handling |
| **Query Expansion** | ❌ | ✅ Domain-Specific Expansion |
| **Stemming** | ❌ | ✅ Rule-Based Stemming |
| **Heading Alignment** | ❌ | ✅ Stemmed Dice Coefficient |
**Verdict:** ELM has basic text processing. Pro adds tree-aware parsing, code awareness, and advanced preprocessing.
### 🔍 Retrieval & Search
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **EmbeddingStore** | ✅ Basic Vector Search | ✅ Enhanced |
| **Sparse Retrieval (TF-IDF)** | ✅ Basic | ✅ Advanced with Heading Weights |
| **Dense Retrieval** | ✅ Embeddings | ✅ Nyström + Kernel Methods |
| **Hybrid Retrieval** | ❌ | ✅ Sparse + Dense Combination |
| **Standalone Retrieval Modules** | ❌ | ✅ buildIndex(), hybridRetrieve() - Use outside workers! |
| **Standalone Auto-Tuning** | ❌ | ✅ autoTune() - Use outside workers! |
| **Model Serialization** | ❌ | ✅ exportModel(), importModel() - Use outside workers! |
| **Nyström Approximation** | ❌ | ✅ Efficient Kernel Computation |
| **Multiple Kernel Types** | ❌ | ✅ RBF, Cosine, Polynomial |
| **Ridge-Regularized Hybrid** | ❌ | ✅ Optimized Scoring |
| **Query-Aligned Scoring** | ❌ | ✅ Cosine Similarity + Lexical Bonus |
**Verdict:** ELM provides basic vector search. Pro adds sophisticated hybrid retrieval with multiple strategies.
### 🎯 Reranking & Ranking
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **Basic Ranking** | ✅ Simple Scoring | ✅ Enhanced |
| **OmegaRR Reranking** | ❌ | ✅ Production-Grade System |
| **Feature Engineering** | ❌ | ✅ 10+ Engineered Features |
| **TF-IDF Similarity** | ❌ | ✅ Sparse Similarity Scores |
| **BM25 Scoring** | ❌ | ✅ BM25 Sparse Similarity |
| **Heading-Query Matching** | ❌ | ✅ Structural Signal Detection |
| **Jaccard Token Overlap** | ❌ | ✅ Token Overlap Metrics |
| **Code Block Detection** | ❌ | ✅ Structural Flags |
| **Random Projection Dense Hints** | ❌ | ✅ Dense Feature Signals |
| **Weak Supervision** | ❌ | ✅ Automatic Label Generation |
| **Per-Query Training** | ❌ | ✅ On-the-Fly Ridge Models |
| **MMR Filtering** | ❌ | ✅ Diversity-Aware Selection |
| **Character Budget Constraints** | ❌ | ✅ Coverage Optimization |
| **Feature Export** | ❌ | ✅ Diagnostic Feature Vectors |
| **Relevance Probability** | ❌ | ✅ Probabilistic Scoring |
**Verdict:** ELM has no reranking. Pro includes a complete production-grade reranking system with rich feature engineering.
### 📄 RAG & Summarization
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **RAG Systems** | ❌ | ✅ Complete Omega RAG Pipeline |
| **Recursive Compression** | ❌ | ✅ Multi-Round Summarization |
| **Query-Aligned Selection** | ❌ | ✅ Intelligent Sentence Scoring |
| **Personality Modes** | ❌ | ✅ Neutral/Teacher/Scientist |
| **Context-Locked Generation** | ❌ | ✅ Deterministic, No Leakage |
| **OmegaSumDet Summarization** | ❌ | ✅ Intent-Aware Summarization |
| **Intent Detection** | ❌ | ✅ Function/Variable/Code Detection |
| **Code-Aware Processing** | ❌ | ✅ Atomic Code Block Handling |
| **Heading Alignment** | ❌ | ✅ Stemmed Dice Coefficient |
| **Deduplication** | ❌ | ✅ Jaccard-Based Dedup |
| **Deterministic Scoring** | ❌ | ✅ Explicit Tie-Breakers |
| **Citation Generation** | ❌ | ✅ Source Attribution |
| **Bullet Point Formatting** | ❌ | ✅ Structured Output |
**Verdict:** ELM has no RAG or summarization. Pro includes a complete RAG pipeline with advanced summarization.
### 📊 Information Flow & Monitoring
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **Transfer Entropy** | ❌ | ✅ Streaming TE Estimation |
| **PWS Variant** | ❌ | ✅ Phase-Weighted Stacking |
| **Importance Sampling** | ❌ | ✅ Rare Event Detection |
| **KDE-Based Estimation** | ❌ | ✅ Kernel Density Estimation |
| **InfoFlow Graphs** | ❌ | ✅ Multi-Channel Monitoring |
| **Closed-Loop Control** | ❌ | ✅ Adaptive Parameter Tuning |
| **TE Controller** | ❌ | ✅ Automatic Optimization |
| **Target Band Management** | ❌ | ✅ Configurable TE Targets |
| **EMA Smoothing** | ❌ | ✅ Exponential Moving Average |
| **Pipeline QA** | ❌ | ✅ System Health Monitoring |
| **Information Leakage Detection** | ❌ | ✅ Automatic Detection |
**Verdict:** ELM has no information flow analysis. Pro includes comprehensive Transfer Entropy analysis and adaptive control.
### 🔢 Numerical Methods & Math
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **Basic Math Operations** | ✅ Standard | ✅ Production-Grade |
| **KRR Solver** | ❌ | ✅ Cholesky + CG Fallback |
| **RFF Approximation** | ❌ | ✅ Random Fourier Features |
| **OnlineRidge** | ❌ | ✅ Rank-1 Updates |
| **Overflow-Safe Operations** | ❌ | ✅ Safe exp/log/sigmoid |
| **Stable Algorithms** | ❌ | ✅ Log-Sum-Exp Trick |
| **Matrix Validation** | ❌ | ✅ NaN/Inf Detection |
| **Abort Signal Support** | ❌ | ✅ Cancellation Support |
| **Comprehensive Diagnostics** | ❌ | ✅ Full Error Reporting |
| **Hyperbolic Distance** | ❌ | ✅ Distance Proxies |
| **Vector Normalization** | ❌ | ✅ Advanced Normalization |
| **Statistical Functions** | ❌ | ✅ Mean, Variance, Standardization |
| **Top-K Selection** | ❌ | ✅ Optimized Selection |
**Verdict:** ELM has basic math. Pro includes production-grade numerical methods with stability guarantees.
### ⚙️ Auto-Tuning & Optimization
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **Manual Configuration** | ✅ | ✅ |
| **Auto-Tuning** | ❌ | ✅ Automated Optimization |
| **Random Search** | ❌ | ✅ Random + Refinement |
| **Parameter Exploration** | ❌ | ✅ Ridge-Aware Search |
| **Evaluation Metrics** | ❌ | ✅ Jaccard-Based Scoring |
| **Progress Tracking** | ❌ | ✅ Real-Time Updates |
| **Caching** | ❌ | ✅ Efficiency Optimization |
| **Penalty Functions** | ❌ | ✅ Complexity Penalties |
| **Hyperparameter Optimization** | ❌ | ✅ 15+ Parameters Tuned |
**Parameters Auto-Tuned in Pro:**
- Alpha (sparse/dense mix)
- Beta (keyword bonus)
- Sigma (kernel bandwidth)
- Kernel type
- Vocabulary size
- Landmark count
- Prefilter size
- Top-K selection
- Heading weights
- Chunk/overlap sizes
- Ridge regularization
- And more...
**Verdict:** ELM requires manual tuning. Pro includes automated hyperparameter optimization.
### 👷 Workers & Deployment
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **ELMWorker** | ✅ Basic Worker | ✅ Enhanced |
| **Development Worker** | ❌ | ✅ Full Training Pipeline |
| **Production Worker** | ❌ | ✅ Inference-Only Optimized |
| **Model Export** | ✅ JSON Format | ✅ JSON + SerializedModel |
| **Model Import** | ✅ JSON Format | ✅ Full State Restoration |
| **Version Tracking** | ❌ | ✅ Model Versioning |
| **Checksum Generation** | ❌ | ✅ Integrity Verification |
| **Settings Snapshot** | ❌ | ✅ Complete State Capture |
| **Vocabulary Preservation** | ❌ | ✅ Full Vocabulary + IDF |
| **Nyström Landmark Storage** | ❌ | ✅ Landmark Persistence |
| **Chunk Metadata** | ❌ | ✅ Metadata Retention |
| **Progress Reporting** | Basic | ✅ Comprehensive |
| **Error Handling** | Basic | ✅ Production-Grade |
**Verdict:** ELM has basic workers. Pro includes separate dev and production workers with advanced model persistence.
### 📚 Documentation & Support
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **Basic README** | ✅ | ✅ |
| **API Documentation** | ✅ | ✅ Enhanced |
| **Developer Guide** | Basic | ✅ 1,657 Lines |
| **Code Examples** | Basic | ✅ 15+ Examples (432 Lines) |
| **Quick Reference** | ❌ | ✅ 206 Lines |
| **Premium Features Guide** | ❌ | ✅ Complete Feature Docs |
| **Real-World Use Cases** | ❌ | ✅ Comprehensive Examples |
| **Integration Examples** | ❌ | ✅ Step-by-Step Guides |
| **Performance Optimization** | ❌ | ✅ Optimization Guides |
| **Community Support** | ✅ GitHub | ✅ GitHub |
| **Professional Support** | ❌ | ✅ Direct Support Channels |
| **Priority Assistance** | ❌ | ✅ Priority Support |
| **Enterprise Support** | ❌ | ✅ Enterprise Options |
**Verdict:** ELM has basic documentation. Pro includes comprehensive documentation (2,300+ lines) and professional support.
### 🎁 Astermind Synth (Synthetic Data Generator)
| Feature | Astermind ELM | Astermind Pro |
|---------|---------------|---------------|
| **Synthetic Data Generation** | ❌ | ✅ 5 Generation Modes |
| **Pretrained Models** | ❌ | ✅ Ready-to-Use Generators |
| **Label-Conditioned Generation** | ❌ | ✅ Category-Specific Data |
| **Pattern Correction** | ❌ | ✅ Format Accuracy |
| **ELM Training Integration** | ❌ | ✅ Direct ELM Training |
| **High Realism** | ❌ | ✅ 56%+ Realism Scores |
| **Bootstrap Projects** | ❌ | ✅ Start in Minutes |
| **Rare Scenario Simulation** | ❌ | ✅ Generate Rare Cases |
**Pretrained Labels in Synth:**
- Names (first_name, last_name)
- Contact (phone_number, email)
- Address (street_address, city, state, country)
- Business (company_name, job_title, product_name)
- And more...
**Verdict:** ELM has no synthetic data generation. Pro includes Astermind Synth for rapid prototyping and data generation.
## Feature Count Summary
### Astermind ELM (Community Edition)
- **4** Core ML Models
- **9** Prebuilt Task Modules
- **7** Activation Functions
- **5** Kernel Types
- **3** Weight Initializers
- **10+** Evaluation Metrics
- **1** Worker Type
- **Basic** Documentation
- **MIT License** (Free Forever)
### Astermind Pro (Premium Edition)
- **4** Core ML Models + **3** Premium Systems
- **9** Prebuilt Modules + **3** Premium Modules
- **7** Activation Functions + **Advanced Math**
- **5** Kernel Types + **RFF Approximation**
- **3** Weight Initializers + **OnlineRidge**
- **10+** Metrics + **Transfer Entropy Metrics**
- **2** Worker Types (Dev + Prod)
- **2,300+ Lines** of Documentation
- **Proprietary License** (Paid)
- **Astermind Synth** Included
## Use Case Recommendations
### Choose Astermind ELM If:
- ✅ You're learning machine learning
- ✅ Building prototypes or proof-of-concepts
- ✅ Working on open source projects
- ✅ Small-scale applications
- ✅ Basic ML needs (classification, regression)
- ✅ Budget-conscious projects
- ✅ Educational purposes
- ✅ Personal projects
**Best For:** Learning, prototyping, open source, education
### Choose Astermind Pro If:
- ✅ Production applications
- ✅ Enterprise deployments
- ✅ Advanced RAG systems
- ✅ Search engine optimization
- ✅ Legal/medical applications
- ✅ Large-scale systems
- ✅ Professional services
- ✅ Commercial products
- ✅ Need premium features
- ✅ Require professional support
- ✅ Want automated optimization
- ✅ Need information flow monitoring
**Best For:** Production, enterprise, professional services, commercial products
## Performance Comparison
| Metric | Astermind ELM | Astermind Pro |
|--------|---------------|---------------|
| **Training Speed** | Milliseconds | Milliseconds (Optimized) |
| **Inference Latency** | Microseconds | Microseconds (Optimized) |
| **Model Size** | KB | KB (With Advanced Features) |
| **Retrieval Quality** | Good | Excellent (With Reranking) |
| **Summarization** | ❌ Not Available | ✅ Advanced |
| **Information Flow** | ❌ Not Available | ✅ Monitored |
| **Auto-Tuning** | ❌ Manual Only | ✅ Automated |
| **Production Optimization** | Basic | ✅ Production-Grade |
## Migration Path
### From ELM to Pro
**Easy Migration:**
- ✅ Pro extends ELM - all ELM features work in Pro
- ✅ Same API patterns - familiar development experience
- ✅ Import ELM models - backward compatible
- ✅ Gradual adoption - use premium features as needed
**Upgrade Benefits:**
- ✅ Keep all ELM features
- ✅ Add premium capabilities
- ✅ Access professional support
- ✅ Get production optimizations
- ✅ Receive Astermind Synth included
## Pricing & Licensing
### Astermind ELM (Community Edition)
- **License:** MIT (Free, Open Source)
- **Price:** Free Forever
- **Commercial Use:** ✅ Allowed
- **Unlimited Usage:** ✅ Yes
- **Source Code:** ✅ Available
### Astermind Pro (Premium Edition)
- **License:** Proprietary (Paid)
- **Price:** Contact for Pricing
- **Commercial Use:** ✅ Included
- **Unlimited Usage:** ✅ Yes
- **Source Code:** ✅ Available
- **Astermind Synth:** ✅ Included
- **Professional Support:** ✅ Included
- **Priority Updates:** ✅ Included
## Installation
### Astermind ELM
```bash
npm install @astermind/astermind-elm
```
### Astermind Pro
```bash
npm install @astermind/astermind-pro @astermind/astermind-elm
```
**Note:** Astermind Pro requires Astermind ELM as a peer dependency.
## Summary
**Astermind ELM** = Powerful, free ML toolkit for everyone
**Astermind Pro** = ELM + Premium features + Professional support + Astermind Synth
Both editions are production-ready. Choose based on your needs:
- **Learning/Prototyping** → Astermind ELM
- **Production/Enterprise** → Astermind Pro
## Quick Decision Guide
| Need | Recommendation |
|------|----------------|
| Learning ML | ✅ Astermind ELM |
| Building Prototypes | ✅ Astermind ELM |
| Open Source Projects | ✅ Astermind ELM |
| Production RAG Systems | ✅ Astermind Pro |
| Search Engine Optimization | ✅ Astermind Pro |
| Enterprise Deployments | ✅ Astermind Pro |
| Professional Services | ✅ Astermind Pro |
| Automated Optimization | ✅ Astermind Pro |
| Information Flow Monitoring | ✅ Astermind Pro |
| Synthetic Data Generation | ✅ Astermind Pro |
| Professional Support | ✅ Astermind Pro |
## Contact
**Astermind ELM Support:** [GitHub Issues](#)
**Astermind Pro Sales:** [Contact Sales](#)
**Enterprise Inquiries:** [Enterprise Contact](#)
*Last Updated: 2025-01-16*
**Astermind - ML for Everyone, Pro Features for Professionals**