Scikit Learn
K-DenseCommunityCreated by K-Dense Inc.
- Skill
- Tool integration
- Data and AI
- MIT
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured approach to implementing machine learning models using scikit-learn (version 1.9.1). It covers the full lifecycle of a machine learning project, including data preprocessing, supervised and unsupervised learning, model evaluation, and hyperparameter tuning. The skill emphasizes best practices such as using pipelines to prevent data leakage and ensuring reproducible results through proper cross-validation and random state management.
What it does
- Provides templates for classification, regression, clustering, and dimensionality reduction.
- Demonstrates how to build robust ML pipelines using Pipeline and ColumnTransformer.
- Offers guidance on data preprocessing, including scaling, encoding, and imputation.
- Includes methods for hyperparameter optimization using grid and random search.
- Supplies evaluation metrics for classification, regression, and clustering tasks.
- Provides executable scripts for end-to-end classification and clustering workflows.
When to use it
- When building classical machine learning models in Python.
- When you need to perform exploratory data analysis or pattern discovery on unlabeled data.
- When creating production-ready ML pipelines that require consistent preprocessing.
- When you need to compare multiple algorithms or tune model hyperparameters.
- When working with structured or tabular datasets.
Advantages
- Promotes industry-standard best practices to avoid common pitfalls like data leakage.
- Facilitates reproducible research through structured pipeline and cross-validation patterns.
- Supports a wide range of algorithms for both supervised and unsupervised learning.
- Provides clear, modular code examples for complex tasks like mixed-data preprocessing.
- Includes troubleshooting guidance for common issues like convergence warnings and memory errors.
Usage examples
- “How do I build a classification pipeline for a dataset with both numeric and categorical features?”
- The agent will provide a code example using ColumnTransformer to apply different preprocessing steps (e.g., StandardScaler for numbers, OneHotEncoder for categories) before feeding the data into a classifier.
- “Help me perform clustering analysis on my dataset and find the optimal number of clusters.”
- The agent will guide you through scaling your data, iterating through a range of cluster counts, calculating silhouette scores, and visualizing the results using PCA.
- “How can I tune the hyperparameters of my Random Forest model while preventing data leakage?”
- The agent will show you how to wrap your preprocessing and model in a Pipeline and pass it to GridSearchCV, ensuring that scaling and transformations are refit on each cross-validation fold.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/k-dense-ai/scikit-learn/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip scikit-learn.zip -d .agents/skills
Documentation by K-Dense Inc.
Scikit-learn
Overview
This skill provides comprehensive guidance for machine learning tasks using scikit-learn, the industry-standard Python library for classical machine learning. Use this skill for classification, regression, clustering, dimensionality reduction, preprocessing, model evaluation, and building production-ready ML pipelines.
Installation
Targets scikit-learn 1.9.1, verified with Python 3.13. The release requires Python 3.11+; use its published wheels for your interpreter/platform. See the 1.9 release notes. The bundled scripts and regression tests are executable examples. Reference snippets using caller-provided X, y, columns, or placeholders are illustrative adaptations, not complete standalone programs.
Install the PyPI package scikit-learn (not the deprecated sklearn package on PyPI). Import in code as sklearn.
# Install scikit-learn using uv
uv pip install "scikit-learn==1.9.1"
# Optional: plotting utilities and bundled script dependencies
uv pip install "scikit-learn[plots]==1.9.1" matplotlib pandas
# Commonly used with
uv pip install pandas numpyCheck your version:
import sklearn
print(sklearn.__version__)When to Use This Skill
Use the scikit-learn skill when:
Building classification or regression models
Performing clustering or dimensionality reduction
Preprocessing and transforming data for machine learning
Evaluating model performance with cross-validation
Tuning hyperparameters with grid or random search
Creating ML pipelines for production workflows
Comparing different algorithms for a task
Working with both structured (tabular) and text data
Need interpretable, classical machine learning approaches
Quick Start
Classification Example
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import classification_report
# Split data
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=0.2, stratify=y, random_state=42
)
# Preprocess
scaler = StandardScaler()
X_train_scaled = scaler.fit_transform(X_train)
X_test_scaled = scaler.transform(X_test)
# Train model
model = RandomForestClassifier(n_estimators=100, random_state=42)
model.fit(X_train_scaled, y_train)
# Evaluate
y_pred = model.predict(X_test_scaled)
print(classification_report(y_test, y_pred))Complete Pipeline with Mixed Data
from sklearn.pipeline import Pipeline
from sklearn.compose import ColumnTransformer
from sklearn.preprocessing import StandardScaler, OneHotEncoder
from sklearn.impute import SimpleImputer
from sklearn.ensemble import GradientBoostingClassifier
# Define feature types
numeric_features = ['age', 'income']
categorical_features = ['gender', 'occupation']
# Create preprocessing pipelines
numeric_transformer = Pipeline([
('imputer', SimpleImputer(strategy='median')),
('scaler', StandardScaler())
])
categorical_transformer = Pipeline([
('imputer', SimpleImputer(strategy='most_frequent')),
('onehot', OneHotEncoder(handle_unknown='ignore'))
])
# Combine transformers
preprocessor = ColumnTransformer([
('num', numeric_transformer, numeric_features),
('cat', categorical_transformer, categorical_features)
])
# Full pipeline
model = Pipeline([
('preprocessor', preprocessor),
('classifier', GradientBoostingClassifier(random_state=42))
])
# Fit and predict
model.fit(X_train, y_train)
y_pred = model.predict(X_test)Core Capabilities
Five capability areas are documented in references/core_capabilities.md, with per-topic detail in references/supervised_learning.md, references/unsupervised_learning.md, references/model_evaluation.md, references/preprocessing.md, and references/pipelines_and_composition.md:
Supervised learning — classification and regression estimator families.
Unsupervised learning — clustering, decomposition, and manifold learning.
Model evaluation and selection — metrics, cross-validation, and hyperparameter search.
Data preprocessing — scaling, encoding, imputation, and feature selection.
Pipelines and composition —
PipelineandColumnTransformer.
Always fit preprocessing inside a Pipeline so it is refit per cross-validation fold;
scaling or imputing before splitting leaks test information into training.
Two worked workflows are in references/common_workflows.md.
Example Scripts
Run these commands from this skill directory; the clustering demo writes PNGs into the working directory. Its synthetic noise is seeded. The classification script assumes independent rows with enough observations per class for stratified CV; adapt both splits for grouped or temporal data.
Classification Pipeline
Run a complete classification workflow with preprocessing, model comparison, hyperparameter tuning, and evaluation:
uv run --no-project --with scikit-learn==1.9.1 --with pandas --with matplotlib python scripts/classification_pipeline.pyThis script demonstrates:
Handling mixed data types (numeric and categorical)
Model comparison using stratified cross-validation and balanced accuracy by default
Hyperparameter tuning with GridSearchCV
Comprehensive evaluation with multiple metrics
Impurity feature importances, with their high-cardinality bias made explicit
Clustering Analysis
Perform clustering analysis with algorithm comparison and visualization:
uv run --no-project --with scikit-learn==1.9.1 --with pandas --with matplotlib python scripts/clustering_analysis.pyThis script demonstrates:
Exploring candidate cluster counts (inertia/elbow and silhouette analysis)
Comparing multiple clustering algorithms (K-Means, DBSCAN, Agglomerative, Gaussian Mixture)
Reporting undefined metrics for degenerate clusterings and DBSCAN noise coverage
Assessing internal geometry without treating it as proof of scientific clusters
Visualizing results with PCA projection
Reference Documentation
This skill includes comprehensive reference files for deep dives into specific topics:
Quick Reference
File: references/quick_reference.md
Common import patterns and installation instructions
Quick workflow templates for common tasks
Algorithm selection cheat sheets
Common patterns and gotchas
Performance optimization tips
Supervised Learning
File: references/supervised_learning.md
Linear models (regression and classification)
Support Vector Machines
Decision Trees and ensemble methods
K-Nearest Neighbors, Naive Bayes, Neural Networks
Algorithm selection guide
Unsupervised Learning
File: references/unsupervised_learning.md
All clustering algorithms with parameters and use cases
Dimensionality reduction techniques
Outlier and novelty detection
Gaussian Mixture Models
Method selection guide
Model Evaluation
File: references/model_evaluation.md
Cross-validation strategies
Hyperparameter tuning methods
Classification, regression, and clustering metrics
Learning and validation curves
Best practices for model selection
Preprocessing
File: references/preprocessing.md
Feature scaling and normalization
Encoding categorical variables
Missing value imputation
Feature engineering techniques
Custom transformers
Pipelines and Composition
File: references/pipelines_and_composition.md
Pipeline construction and usage
ColumnTransformer for mixed data types
FeatureUnion for parallel transformations
Complete end-to-end examples
Best practices
Best Practices
Always Use Pipelines
Pipelines prevent data leakage and ensure consistency:
# Good: Preprocessing in pipeline
pipeline = Pipeline([
('scaler', StandardScaler()),
('model', LogisticRegression())
])
# Bad: Preprocessing outside (can leak information)
X_scaled = StandardScaler().fit_transform(X)Fit on Training Data Only
Never fit on test data:
# Good
scaler = StandardScaler()
X_train_scaled = scaler.fit_transform(X_train)
X_test_scaled = scaler.transform(X_test) # Only transform
# Bad
scaler = StandardScaler()
X_all_scaled = scaler.fit_transform(np.vstack([X_train, X_test]))Match the Split to the Independent Unit
For independent classification rows, preserve class distribution as below. For repeated patients, specimens, sites, or related molecules, keep each group entirely in one partition using GroupKFold or StratifiedGroupKFold; class stratification alone does not prevent group leakage. For future prediction, use a chronological split and exclude features unavailable at prediction time. Apply the same grouping/time rule to both inner tuning and outer evaluation. See the cross-validation guide.
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=0.2, stratify=y, random_state=42
)Set Random State for Reproducibility
model = RandomForestClassifier(n_estimators=100, random_state=42)Choose Appropriate Metrics
Balanced data: Accuracy, F1-score
Imbalanced data: Per-class Precision/Recall, Average Precision, Balanced Accuracy; include prevalence and threshold
Cost-sensitive: Define custom scorer
Scale Features When Appropriate
Algorithms commonly sensitive to feature scale (scaling changes the modeled geometry):
SVM, KNN, Neural Networks
PCA, Linear/Logistic Regression with regularization
K-Means clustering
Algorithms not requiring scaling:
Tree-based models (Decision Trees, Random Forest, Gradient Boosting)
Gaussian Naive Bayes; preserve the nonnegative count/proportion input expected by MultinomialNB
Troubleshooting Common Issues
ConvergenceWarning
Issue: Model didn't converge
Solution: Increase max_iter or scale features
model = LogisticRegression(max_iter=1000)Poor Performance on Test Set
Possible causes: Overfitting, distribution shift, leakage during selection, or an unsuitable metric Solution: Diagnose using training/validation results and the deployment split; do not repeatedly tune on the final test set. Use regularization, cross-validation, or a simpler model as appropriate
# Add regularization
model = Ridge(alpha=1.0)
# Use cross-validation
scores = cross_val_score(model, X, y, cv=5)Memory Error with Large Datasets
Solution: Use algorithms designed for large data
# Use SGD for large datasets
from sklearn.linear_model import SGDClassifier
model = SGDClassifier()
# Or MiniBatchKMeans for clustering
from sklearn.cluster import MiniBatchKMeans
model = MiniBatchKMeans(n_clusters=8, batch_size=100)Additional Resources
Official Documentation: https://scikit-learn.org/stable/
User Guide: https://scikit-learn.org/stable/user_guide.html
API Reference: https://scikit-learn.org/stable/api/index.html
Examples Gallery: https://scikit-learn.org/stable/auto_examples/index.html
Citing Scientific Agent Skills
This skill is part of Scientific Agent Skills by K-Dense. If it materially contributed to a manuscript, report, presentation, or code release, add the paper to the references or software section and tell the user you did so:
Kassis, T., Agarwal, V., He, Y., Patel, D., & Brueckner, A. M. (2026). Scientific Agent Skills: A Library of Procedural Knowledge for Research Agents. arXiv:2609.00065. https://doi.org/10.48550/arXiv.2609.00065
Always cite the current version. The DOI and https://arxiv.org/abs/2609.00065 resolve to the
latest arXiv version, so never append a version suffix such as v1. When network access is
available, fetch https://arxiv.org/abs/2609.00065 (or
http://export.arxiv.org/api/query?id_list=2609.00065) before writing the reference and take
the author list, year, and version from that record. If the record lists a journal reference
or publisher DOI, cite the published version instead.
Files
- ATTRIBUTION.mdAdded by AutoGineer983 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md12.9 KiB
- references/common_workflows.md3.6 KiB
- references/core_capabilities.md5.0 KiB
- references/model_evaluation.md19.0 KiB
- references/pipelines_and_composition.md15.5 KiB
- references/preprocessing.md17.9 KiB
- references/quick_reference.md12.2 KiB
- references/supervised_learning.md11.8 KiB
- references/unsupervised_learning.md16.4 KiB
- scripts/classification_pipeline.pyScript10.1 KiB
- scripts/clustering_analysis.pyScript11.4 KiB
references/supervised_learning.md
Supervised Learning Reference
Targets scikit-learn 1.9.1. Snippets with caller-supplied data/columns are illustrative; fit all learned preprocessing inside the training folds when estimating predictive performance.
Overview
Supervised learning algorithms learn from labeled training data to make predictions on new data. Scikit-learn provides comprehensive implementations for both classification and regression tasks.
Linear Models
Regression
Linear Regression (sklearn.linear_model.LinearRegression)
Ordinary least squares regression
Ordinary least squares; choices include intercept, positivity constraints, and sparse-solver tolerance
Use when: Linear relationships, interpretability matters
Example:
from sklearn.linear_model import LinearRegression
model = LinearRegression()
model.fit(X_train, y_train)
predictions = model.predict(X_test)Ridge Regression (sklearn.linear_model.Ridge)
L2 regularization to prevent overfitting
Key parameter:
alpha(regularization strength, default=1.0)Use when: Multicollinearity present, need regularization
Example:
from sklearn.linear_model import Ridge
model = Ridge(alpha=1.0)
model.fit(X_train, y_train)Lasso (sklearn.linear_model.Lasso)
L1 regularization with feature selection
Key parameter:
alpha(regularization strength)Use when: Want sparse models, feature selection
Can reduce some coefficients to exactly zero
Example:
from sklearn.linear_model import Lasso
model = Lasso(alpha=0.1)
model.fit(X_train, y_train)
# Check which features were selected
print(f"Non-zero coefficients: {sum(model.coef_ != 0)}")ElasticNet (sklearn.linear_model.ElasticNet)
Combines L1 and L2 regularization
Key parameters:
alpha,l1_ratio(0=Ridge, 1=Lasso)Use when: Need both feature selection and regularization
Example:
from sklearn.linear_model import ElasticNet
model = ElasticNet(alpha=0.1, l1_ratio=0.5)
model.fit(X_train, y_train)Classification
Logistic Regression (sklearn.linear_model.LogisticRegression)
Binary and multiclass classification
Key parameters:
C(inverse regularization),l1_ratio(0=L2, 1=L1, between for elastic net)Returns probability estimates
Use when: Need probabilistic predictions, interpretability
penaltyis deprecated since 1.8; usel1_ratio.lbfgssupports only L2 (l1_ratio=0); usesagafor elastic net. UseC=np.inffor no regularizationExample:
from sklearn.linear_model import LogisticRegression
model = LogisticRegression(C=1.0, l1_ratio=0.0, max_iter=1000)
model.fit(X_train, y_train)
probas = model.predict_proba(X_test)Stochastic Gradient Descent (SGD)
SGDClassifier,SGDRegressorEfficient for large-scale learning
Key parameters:
loss,penalty,alpha,learning_rateUse when: Very large datasets (>10^4 samples)
Example:
from sklearn.linear_model import SGDClassifier
model = SGDClassifier(loss='log_loss', max_iter=1000, tol=1e-3)
model.fit(X_train, y_train)Support Vector Machines
SVC (sklearn.svm.SVC)
Classification with kernel methods
Key parameters:
C,kernel('linear', 'rbf', 'poly'),gammaUse when: Small to medium datasets, complex decision boundaries
Note: Does not scale well to large datasets
Example:
from sklearn.svm import SVC
# Linear kernel for linearly separable data
model_linear = SVC(kernel='linear', C=1.0)
# RBF kernel for non-linear data
model_rbf = SVC(kernel='rbf', C=1.0, gamma='scale')
model_rbf.fit(X_train, y_train)SVR (sklearn.svm.SVR)
Regression with kernel methods
Similar parameters to SVC
Additional parameter:
epsilon(tube width)Example:
from sklearn.svm import SVR
model = SVR(kernel='rbf', C=1.0, epsilon=0.1)
model.fit(X_train, y_train)Decision Trees
DecisionTreeClassifier / DecisionTreeRegressor
Non-parametric model learning decision rules
Key parameters:
max_depth: Maximum tree depth (prevents overfitting)min_samples_split: Minimum samples to split a nodemin_samples_leaf: Minimum samples in leafcriterion: 'gini', 'entropy' for classification; 'squared_error', 'absolute_error' for regression
Use when: Need interpretable model, non-linear relationships, mixed feature types
Prone to overfitting - use ensembles or pruning
Example:
from sklearn.tree import DecisionTreeClassifier
model = DecisionTreeClassifier(
max_depth=5,
min_samples_split=20,
min_samples_leaf=10,
criterion='gini'
)
model.fit(X_train, y_train)
# Visualize the tree
from sklearn.tree import plot_tree
plot_tree(model, feature_names=feature_names, class_names=class_names)Ensemble Methods
Random Forests
RandomForestClassifier / RandomForestRegressor
Ensemble of decision trees with bagging
Key parameters:
n_estimators: Number of trees (default=100)max_depth: Maximum tree depthmax_features: Features to consider for splits ('sqrt', 'log2', or int)min_samples_split,min_samples_leaf: Control tree growth
Use when: High accuracy needed, can afford computation
Provides impurity importance, which favors high-cardinality features; use held-out permutation importance to assess predictive contribution, not causality
Example:
from sklearn.ensemble import RandomForestClassifier
model = RandomForestClassifier(
n_estimators=100,
max_depth=10,
max_features='sqrt',
n_jobs=-1 # Use all CPU cores
)
model.fit(X_train, y_train)
# Feature importance
importances = model.feature_importances_Gradient Boosting
GradientBoostingClassifier / GradientBoostingRegressor
Sequential ensemble building trees on residuals
Key parameters:
n_estimators: Number of boosting stageslearning_rate: Shrinks contribution of each treemax_depth: Depth of individual trees (typically 3-5)subsample: Fraction of samples for training each tree
Use when: Need high accuracy, can afford training time
Compare on a held-out design; no estimator is universally best
Example:
from sklearn.ensemble import GradientBoostingClassifier
model = GradientBoostingClassifier(
n_estimators=100,
learning_rate=0.1,
max_depth=3,
subsample=0.8
)
model.fit(X_train, y_train)HistGradientBoostingClassifier / HistGradientBoostingRegressor
Faster gradient boosting with histogram-based algorithm
Native support for missing values and categorical features
Uses
max_iterrather thann_estimators.from_dtypedetects pandas categorical dtype, not arbitrary strings; each categorical feature must fit themax_binscardinality limitUse when: Large datasets, need faster training
Example:
from sklearn.ensemble import HistGradientBoostingClassifier
model = HistGradientBoostingClassifier(
max_iter=100,
learning_rate=0.1,
max_depth=None, # No limit by default
categorical_features='from_dtype' # Auto-detect categorical
)
model.fit(X_train, y_train)Other Ensemble Methods
AdaBoost
Adaptive boosting focusing on misclassified samples
Key parameters:
n_estimators,learning_rate,estimator(base estimator)Use when: Simple boosting approach needed
Example:
from sklearn.ensemble import AdaBoostClassifier
model = AdaBoostClassifier(n_estimators=50, learning_rate=1.0)
model.fit(X_train, y_train)Voting Classifier / Regressor
Combines predictions from multiple models
Types: 'hard' (majority vote) or 'soft' (average probabilities)
Use when: Want to ensemble different model types
Example:
from sklearn.ensemble import VotingClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.tree import DecisionTreeClassifier
from sklearn.svm import SVC
model = VotingClassifier(
estimators=[
('lr', LogisticRegression()),
('dt', DecisionTreeClassifier()),
('svc', SVC(probability=True))
],
voting='soft'
)
model.fit(X_train, y_train)Stacking Classifier / Regressor
Trains a meta-model on predictions from base models
More sophisticated than voting
Key parameter:
final_estimator(meta-learner)Example:
from sklearn.ensemble import StackingClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.tree import DecisionTreeClassifier
from sklearn.svm import SVC
model = StackingClassifier(
estimators=[
('dt', DecisionTreeClassifier()),
('svc', SVC())
],
final_estimator=LogisticRegression()
)
model.fit(X_train, y_train)K-Nearest Neighbors
KNeighborsClassifier / KNeighborsRegressor
Non-parametric method based on distance
Key parameters:
n_neighbors: Number of neighbors (default=5)weights: 'uniform' or 'distance'metric: Distance metric ('euclidean', 'manhattan', etc.)
Use when: Small dataset, simple baseline needed
Slow prediction on large datasets
Example:
from sklearn.neighbors import KNeighborsClassifier
model = KNeighborsClassifier(n_neighbors=5, weights='distance')
model.fit(X_train, y_train)Naive Bayes
GaussianNB, MultinomialNB, BernoulliNB
Probabilistic classifiers based on Bayes' theorem
Fast training and prediction
GaussianNB: Continuous features (assumes Gaussian distribution)
MultinomialNB: Count features (text classification)
BernoulliNB: Binary features
Use when: Text classification, fast baseline, probabilistic predictions
Example:
from sklearn.naive_bayes import GaussianNB, MultinomialNB
# For continuous features
model_gaussian = GaussianNB()
# For text/count data
model_multinomial = MultinomialNB(alpha=1.0) # alpha is smoothing parameter
model_multinomial.fit(X_train, y_train)Neural Networks
MLPClassifier / MLPRegressor
Multi-layer perceptron (feedforward neural network)
Key parameters:
hidden_layer_sizes: Tuple of hidden layer sizes, e.g., (100, 50)activation: 'relu', 'tanh', 'logistic'solver: 'adam', 'sgd', 'lbfgs'alpha: L2 regularization parameterlearning_rate: 'constant', 'adaptive'
Use when: Complex non-linear patterns, large datasets
Requires feature scaling
Example:
from sklearn.neural_network import MLPClassifier
from sklearn.preprocessing import StandardScaler
# Scale features first
scaler = StandardScaler()
X_train_scaled = scaler.fit_transform(X_train)
model = MLPClassifier(
hidden_layer_sizes=(100, 50),
activation='relu',
solver='adam',
alpha=0.0001,
max_iter=1000
)
model.fit(X_train_scaled, y_train)Algorithm Selection Guide
Choose based on:
Dataset size:
Small (<1k samples): KNN, SVM, Decision Trees
Medium (1k-100k): Random Forest, Gradient Boosting, Linear Models
Large (>100k): SGD, Linear Models, HistGradientBoosting
Interpretability:
High: Linear Models, Decision Trees
Medium: Random Forest (feature importance)
Low: SVM with RBF kernel, Neural Networks
Accuracy vs Speed:
Fast training: Naive Bayes, Linear Models, KNN
High accuracy: Gradient Boosting, Random Forest, Stacking
Fast prediction: Linear Models, Naive Bayes
Slow prediction: KNN (on large datasets), SVM
Feature types:
Continuous: Most algorithms work well
Categorical: Encode for ordinary trees/forests; HistGradientBoosting supports explicitly declared categoricals
Mixed: Use ColumnTransformer or correctly declared histogram-boosting categoricals
Text: Naive Bayes, Linear Models with TF-IDF
Common starting points:
Logistic Regression (classification) / Linear Regression (regression) - fast baseline
Random Forest - good default choice
Gradient Boosting - compare and tune within the same evaluation design
Upstream references
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Declares allowed tools, Needs network access, Needs Python
The author says: Requires Python 3.11+ and scikit-learn 1.9.1. NumPy, SciPy, and joblib are dependencies; bundled scripts also require pandas and matplotlib. Installation needs network access; bundled examples use local datasets without credentials.
Security
What our scanner noticed· Low risk
- Instructions that use the network
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- K-Dense Inc.
- Publisher
- K-Dense (Community)
- Source
- K-Dense-AI/scientific-agent-skills · skills/scikit-learn · commit a25cf9e
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE.md)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by K-Dense Inc. or K-Dense.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download scikit-learn.zip