Feature for ML - #4
Conversation
…chicalExpertModel
OverviewThis Pull Request introduces the core Machine Learning Expert System for The system automatically identifies empirical sample distributions across 8 candidate laws (Normal, Exponential, Weibull, Uniform, Student, Gamma, Beta, LogNormal) with over 95% accuracy, supporting sample sizes N between 30 and 1000 and location shifts (loc != 0). Architectural Breakdown & Core Components1. 2-Stage Hierarchical Classifier (
|
There was a problem hiding this comment.
Документация же такая же, как в experiment?
| for target in potential_targets: | ||
| if hasattr(self.engine, target): | ||
| setattr(self.engine, target, p_value) | ||
| break |
There was a problem hiding this comment.
Здесь установит первый попавшийся, так и должно быть?
| "lilliefors", | ||
| "cramer_von_mises", | ||
| "gini_index", | ||
| "moran_test", |
There was a problem hiding this comment.
Сунуть в БД в будущем? Если релизить в прод.
| self.stage1_model = RandomForestClassifier( | ||
| n_estimators=200, max_depth=12, random_state=42, n_jobs=2 | ||
| ) | ||
| self.stage1_model.fit(X_df[self.stage1_features], y_families) |
There was a problem hiding this comment.
Кажется, здесь снова обучается на всех данных. Так и должно быть?
|
|
||
|
|
||
| class CVCache: | ||
| """Thread-safe cache for critical values queried from SQLite database. |
There was a problem hiding this comment.
Точно кластеризация следует за цветами на дендрограмме?
1. Mathematical Foundation Expansion
Normal,Exponential,Weibull,Gamma,LogNormal, Student's t,Beta, andUniform2. Update
GenericCriterionscipy.stats(e.g.,shape,mu) to specific engine attributes required by pysatl-criterion (e.g.,a,loc,df) using a comprehensive alias map.inspectmodule, the system now determines if a statistic requirescdf_vals. This allows for Lazy Evaluation, calculating the theoretical CDF only when explicitly requested by the test engine3. Automated Discovery (
DynamicCriterionSelector)pysatl-criterionlibrary at runtime. This eliminates manual class mapping.4. Feature for ML (
FeatureVector)pysatl-criterionlibrary at runtime. This eliminates manual class mapping and allows the system to automatically support new statistical tests as they are added to the external library.-1.0.