agent-browser
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test w…
Maintainer FreedomIntelligence · Last updated April 1, 2026
Cross-validation, AUC-ROC, calibration, and permutation testing.
Original source
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-machine-learning-model-validation
Skill Snapshot
Source Doc
Simple train/test splits overestimate performance on small omics datasets. Nested CV provides unbiased estimates by separating hyperparameter tuning from performance evaluation.
from sklearn.model_selection import cross_val_score, StratifiedKFold, GridSearchCV
from sklearn.ensemble import RandomForestClassifier
from sklearn.preprocessing import StandardScaler
from sklearn.pipeline import Pipeline
import numpy as np
pipe = Pipeline([
('scaler', StandardScaler()),
('clf', RandomForestClassifier(random_state=42))
])
param_grid = {
'clf__n_estimators': [50, 100, 200],
'clf__max_depth': [5, 10, None]
}
## Stratified K-Fold
```python
from sklearn.model_selection import StratifiedKFold, cross_val_score
Related skills
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test w…
Access 20+ years of global financial data: equities, options, forex, crypto, commodities, economic indicators, and 50+ technical indicators.
Filter alignments by flag, quality, region, or paired status.
Index BAM/CRAM files with samtools index for random access.