Scikit Learn
zLanqing/codex-claude-academic-skills
Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.
A skill your agent uses when building a binary classification model from an expression matrix or other omics feature matrix with LASSO logistic regression, cross-validation, and coefficient path…
$ npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aipoch/medical-research-skills lasso-logistics-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'awesome-med-research-skills/Data Analysis/lasso-logistics-analysis' .claude/skills/lasso-logistics-analysis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "lasso-logistics-analysis" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/awesome-med-research-skills/Data%20Analysis/lasso-logistics-analysis into .claude/skills/lasso-logistics-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lasso-logistics-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aipoch/medical-research-skills/tree/main/awesome-med-research-skills/Data%20Analysis/lasso-logistics-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aipoch/medical-research-skills lasso-logistics-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/'awesome-med-research-skills/Data Analysis/lasso-logistics-analysis' .agents/skills/lasso-logistics-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "lasso-logistics-analysis" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/awesome-med-research-skills/Data%20Analysis/lasso-logistics-analysis into .agents/skills/lasso-logistics-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lasso-logistics-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aipoch/medical-research-skills lasso-logistics-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/'awesome-med-research-skills/Data Analysis/lasso-logistics-analysis' .cursor/skills/lasso-logistics-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "lasso-logistics-analysis" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/awesome-med-research-skills/Data%20Analysis/lasso-logistics-analysis into .cursor/skills/lasso-logistics-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lasso-logistics-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aipoch/medical-research-skills.git --path 'awesome-med-research-skills/Data Analysis/lasso-logistics-analysis'--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aipoch/medical-research-skills lasso-logistics-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/'awesome-med-research-skills/Data Analysis/lasso-logistics-analysis' .gemini/skills/lasso-logistics-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "lasso-logistics-analysis" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/awesome-med-research-skills/Data%20Analysis/lasso-logistics-analysis into .gemini/skills/lasso-logistics-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lasso-logistics-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aipoch/medical-research-skills lasso-logistics-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/'awesome-med-research-skills/Data Analysis/lasso-logistics-analysis' .github/skills/lasso-logistics-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "lasso-logistics-analysis" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/awesome-med-research-skills/Data%20Analysis/lasso-logistics-analysis into .github/skills/lasso-logistics-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lasso-logistics-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aipoch/medical-research-skills lasso-logistics-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/'awesome-med-research-skills/Data Analysis/lasso-logistics-analysis' .opencode/skills/lasso-logistics-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "lasso-logistics-analysis" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/awesome-med-research-skills/Data%20Analysis/lasso-logistics-analysis into .opencode/skills/lasso-logistics-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lasso-logistics-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
lasso-logistics-analysisA skill your agent uses when building a binary classification model from an expression matrix or other omics feature matrix with LASSO logistic regression, cross-validation, and coefficient path…
Lasso Logistics Analysis is an agent skill from aipoch/medical-research-skills. Use when building a binary classification model from an expression matrix or other omics feature matrix with LASSO logistic regression, cross-validation, and coefficient path visualization. NOT for: multiclass classification, survival/Cox models, or ordinary linear regression.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 25 other files, including scripts and reference files (for example `eval_report_lasso-logistics-analysis_result.json`, `references/algorithm.md` and `references/cli-guide.md`).
It sits in Data & Analytics, covering Machine learning. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 8 files in scripts/ (R, from the files we listed), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Lasso Logistics Analysis loads about 2.3k tokens when it runs, and up to ~5.3k if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 799 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 799 words, ~2,256 tokens.
.claude/skills/lasso-logistics-analysis/SKILL.md (or your agent's skills folder). This skill also uses 21 other files; get the full folder from GitHub.| Situation | File to Read | Purpose |
|---|---|---|
| Need algorithm details | references/algorithm.md | LASSO objective function, cross-validation, and interpretation |
| Need to run analysis | scripts/main.R | Execute: Rscript scripts/main.R --input_file ... --group_file ... |
| Encounter errors | references/troubleshooting.md | Common errors and solutions |
| Need CLI examples | references/cli-guide.md | Detailed CLI usage examples |
| Need test data | tests/data/ | Sample input files for testing |
| Need workflow implementation details | scripts/run_analysis.R | Inspect orchestration, outputs, and file-writing behavior |
| Need input-validation or error-handling details | scripts/utils.R, scripts/io.R | Inspect validation, parsing, logging, and standardized safeguards |
Rscript scripts/main.R \
--input_file ./expression_matrix.csv \
--group_file ./groups.csv \
--case_group case \
--control_group control \
--output_dir ./output/ \
--nfolds 10 \
--timeout_seconds 1800 \
--seed 42| Short | Long | Type | Default | Description |
|---|---|---|---|---|
-i | --input_file | character | required | Expression matrix file (features as rows, samples as columns) |
-g | --group_file | character | required | Group file with sample and group columns |
-c | --case_group | character | required | Case class label encoded as 1 |
-t | --control_group | character | required | Control class label encoded as 0 |
-f | --feature | character | NULL | Optional feature list file or comma-separated feature names |
-n | --nfolds | integer | 10 | Cross-validation folds: 3, 5, 7, 10 |
--cv_title | character | "" | Optional title for the cross-validation plot | |
--path_title | character | "" | Optional title for the coefficient path plot | |
--timeout_seconds | integer | 1800 | Maximum elapsed runtime in seconds | |
-o | --output_dir | character | ./output/ | Output directory |
-s | --seed | integer | 42 | Random seed for reproducibility |
input_file)Features as rows, samples as columns, CSV or TSV format with feature IDs in the first column.
,Sample01,Sample02,Sample03
TSPAN6,1.8479,1.8318,3.8276
TNMD,0.0349,0.0533,1.3889group_file)CSV or TSV with sample IDs and binary-group labels.
sample,group
Sample01,case
Sample02,control
Sample03,casefeature)One feature per line, or pass a comma-separated feature list directly on the CLI.
TNMD
DPM1
SCYL3| File | Description |
|---|---|
coefficient.csv | All coefficients at lambda.min |
feature_matrix.csv | Sample-level matrix with original group labels and binary event column |
selected_features.txt | Non-zero features at lambda.min excluding the intercept, when available |
missing_features.txt | Requested features not found in the matrix, when applicable |
lasso_lambda_binary_plot.pdf | Cross-validation curve |
lasso_var_binary_plot.pdf | Coefficient path plot |
session_info.txt | R session and package version info |
WHEN checking validation rules or parsing behavior, READ: scripts/utils.R and scripts/io.R
WHEN checking class encoding or feature filtering behavior, READ: scripts/modeling.R
case_group as 1 and control_group as 0WHEN understanding the statistical method or lambda selection, READ: references/algorithm.md
glmnet model with alpha = 1cv.glmnet to select the optimal lambdalambda.minWHEN checking output generation or plot behavior, READ: scripts/run_analysis.R and scripts/plotting.R
output_dirThe model minimizes binomial deviance with an L1 penalty, shrinking weak coefficients to zero and performing embedded feature selection.
cv.glmnet evaluates candidate lambda values across nfolds folds and reports lambda.min and lambda.1se.
Rscript scripts/main.R \
-i ./expression_matrix.csv \
-g ./groups.csv \
-c case \
-t control \
-o ./outputRscript scripts/main.R \
-i ./expression_matrix.csv \
-g ./groups.csv \
-c case \
-t control \
-f ./genes.txt \
-o ./outputRscript scripts/main.R \
-i ./expression_matrix.csv \
-g ./groups.csv \
-c case \
-t control \
-n 5 \
--timeout_seconds 900 \
-s 123 \
-o ./outputRscript scripts/main.R \
-i ./expression_matrix.csv \
-g ./groups.csv \
-c case \
-t control \
--cv_title "LASSO Cross-Validation" \
--path_title "LASSO Coefficient Paths" \
--timeout_seconds 1200 \
-o ./output| Error | Cause | Solution |
|---|---|---|
SKILL_FILE_NOT_FOUND | Input file does not exist | Check file path |
SKILL_EMPTY_FILE | An input file exists but contains no data | Verify the file is not empty |
SKILL_PARSE_ERROR | The input file cannot be parsed as CSV or TSV | Check delimiters, headers, and encoding |
SKILL_FILE_WRITE_ERROR | The output directory cannot be created or written | Check output path and permissions |
SKILL_EMPTY_DATA | The loaded table has no usable rows or columns | Verify that the input file contains valid data |
SKILL_MISSING_COLUMNS | The group file does not provide the required columns | Provide sample and group columns |
SKILL_INVALID_TYPE | A parameter or data field has the wrong type | Ensure numeric fields are numeric and strings are valid |
SKILL_SAMPLE_MISMATCH | Sample IDs differ between matrix and group file | Make names match exactly |
SKILL_INVALID_GROUP | Case/control labels not found in group file | Check --case_group and --control_group |
SKILL_INVALID_DATA | Too few classes, samples, or valid features | Review input structure and feature list |
SKILL_INVALID_PARAMETER | Unsupported nfolds or empty parameter | Use documented argument values |
SKILL_DEPENDENCY_MISSING | Required R package not installed | Install missing CRAN package |
SKILL_TIMEOUT | Analysis exceeded the configured time limit | Reduce feature count or increase --timeout_seconds |
SKILL_MEMORY_ERROR | The runtime environment cannot allocate enough memory | Reduce matrix size or available workload |
SKILL_RUNTIME_ERROR | An unexpected runtime error occurred | Review the exact console error and retry |
IF error persists, READ: references/troubleshooting.md
# Check help
Rscript scripts/main.R --help
# Run with sample data
Rscript scripts/main.R \
-i tests/data/expression_matrix.csv \
-g tests/data/groups.csv \
-c case \
-t control \
-f tests/data/genes.csv \
--timeout_seconds 1800 \
-o tests/output# Check coefficient output
ls -la tests/output/coefficient.csv
# Check plots exist
ls -la tests/output/lasso_lambda_binary_plot.pdf
ls -la tests/output/lasso_var_binary_plot.pdfoptparseset.seed() for reproducibilityrequireNamespace() dependency checks--timeout_secondsscripts/ directoryreferences/ directoryLast updated: 2026-04-17 | Version: 1.0.0
© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 21 other files (scripts, references) in awesome-med-research-skills/Data Analysis/lasso-logistics-analysis of aipoch/medical-research-skills.
Open the folder on GitHubat commit 686e09d
Lasso Logistics Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Lasso Logistics Analysis this skillaipoch/medical-research-skills | 2k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Scikit LearnzLanqing/codex-claude-academic-skills | 4.7k | 16 repos | ~3.9k | Automated safety check: Pass | BSD-3-Clause | |
| Agentic Kaggle WorkflowFrankS-IntelLab/agentic-kaggle-skill | 188 | — | ~4k | Automated safety check: Pass | MIT | |
| Senior Data ScientistRaidriar7170/hermes-skilleval | 125 | 5 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Geomlitalo-goncalves/geoML | 109 | — | ~4.6k | Automated safety check: Pass | GPL-3.0 | |
| QuantMind Training Config Generatorqusong0627/QuantMind | 1.7k | — | ~1.5k | Automated safety check: Pass | AGPL-3.0 |
zLanqing/codex-claude-academic-skills
Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.
FrankS-IntelLab/agentic-kaggle-skill
Takes a Kaggle competition from rules and validation design through baselines, ensembling and notebook architecture to a scored submission.
Raidriar7170/hermes-skilleval
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics.
italo-goncalves/geoML
Working knowledge of the geoML Python package (github.com/italo-goncalves/geoML): variational Gaussian processes for spatial data, implicit geological modelling, block models, drillhole data…
qusong0627/QuantMind
Turns a plain-language model training request into a validated QuantMind training config file that can be imported from the Model Training page.
liangdabiao/claude-data-analysis-ultra-main
Analyze user retention and churn using survival analysis, cohort analysis, and machine learning.
aipoch/medical-research-skills
Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…
aipoch/medical-research-skills
Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.
aipoch/medical-research-skills
Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.
aipoch/medical-research-skills
A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.
aipoch/medical-research-skills
Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…
aipoch/medical-research-skills
Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.
Categories
A skill your agent uses when building a binary classification model from an expression matrix or other omics feature matrix with LASSO logistic regression, cross-validation, and coefficient path…. Lasso Logistics Analysis is an agent skill from aipoch/medical-research-skills. Use when building a binary classification model from an expression matrix or other omics feature matrix with LASSO logistic regression, cross-validation, and coefficient path visualization.
Lasso Logistics Analysis fits situations like: building a binary classification model from an expression matrix; other omics feature matrix with LASSO logistic regression; cross-validation; coefficient path visualization.
Run `npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a claude-code`. Or copy the skill folder (awesome-med-research-skills/Data Analysis/lasso-logistics-analysis in aipoch/medical-research-skills) into .claude/skills/lasso-logistics-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a codex`. Or copy the skill folder (awesome-med-research-skills/Data Analysis/lasso-logistics-analysis in aipoch/medical-research-skills) into .agents/skills/lasso-logistics-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill lasso-logistics-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lasso-logistics-analysis, .gemini/skills/lasso-logistics-analysis, .github/skills/lasso-logistics-analysis and .opencode/skills/lasso-logistics-analysis in your project.
Going by SKILL.md and its folder, Lasso Logistics Analysis needs R for the scripts in its folder.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Lasso Logistics Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Lasso Logistics Analysis: Scikit Learn (zLanqing/codex-claude-academic-skills, 4.7k stars), Agentic Kaggle Workflow (FrankS-IntelLab/agentic-kaggle-skill, 188 stars), Senior Data Scientist (Raidriar7170/hermes-skilleval, 125 stars) and Geoml (italo-goncalves/geoML, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,978 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.
Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.