Logo: Ml Project

Ml Project

Communautéit
arsenyinfo
ml-project

Guidelines for ML projects. Use when training or evaluating models, building ML pipelines, running experiments, or working with datasets/parquet files and CatBoost/PyTorch/Polars code.

Iwwersiicht

Editeurarsenyinfo
Repositoryskills
Skill-Nummml-project
Stären
29
Forks
1
Matgeliwwert Dateien
3
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    arsenyinfo huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ml Project an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/arsenyinfo/skills/tree/main/skills/ml-project
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arsenyinfo/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/ml-project .claude/skills/ml-project
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ml Project an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ml Project automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ml Project net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

ML Project Guidelines

Philosophy

  • Validation is king - always define clear train/val/test splits before training
  • Error analysis is queen - understand failures, not just metrics
  • No mocks - test with real data and objects
  • Raw over abstraction - YAML configs, tensorboard, raw plots. No MLflow/W&B complexity
  • Hyperparam tuning is overrated - usually low-hanging fruit elsewhere: features, data, target. Highly tuned models are brittle
  • Simple ensembles only - if needed, blend linear model + CatBoost. No stacking towers
  • Too good = suspicious - great results warrant paranoid leakage checks before celebration
  • Apples to apples - always compare full baseline vs full experiment on the same data. No cherrypicked subsamples
  • Hypotheses need origins - every experiment starts with "why". No random fishing expeditions
  • No hardcoded paths - paths live in config

Default Workflow

  1. Inspect the project first: data shape, target definition, existing metrics, existing split, and current baseline.
  2. Define or verify train/val/test before training anything. For time-series, use chronological splits by default.
  3. Write the hypothesis before the experiment: what should improve, why, and which metric should move.
  4. Run the simplest baseline that answers the question, then compare the full baseline and full experiment on identical splits.
  5. Save the frozen config, metrics, predictions, model artifact, and any feature importance or plots into the run directory.
  6. Do error analysis before declaring success: inspect false positives/negatives, high-loss examples, calibration, slices, and date/entity drift.
  7. If results look very strong, assume leakage until checked.
  8. Write a short memo with hypothesis, setup, results, conclusion, and next step.

Proportionality: throwaway exploration (quick plots, sanity checks) needs no run dir and no memo — do it in temp/ or experimental/. The full hypothesis → frozen config → run dir → memo ceremony is for tracked experiments. The moment you are about to compare results or make a decision on them, it is a tracked experiment — promote it.

When it goes wrong

  • A failed hypothesis still gets a memo with the negative result. Most common outcome, most commonly unwritten.
  • Diverging or NaN loss: check data and targets before touching the learning rate.
  • Baseline cannot be reproduced: stop. Every comparison is blocked until it can.

Stack

PurposeTool
Tabular MLCatBoost
Deep LearningPyTorch
DataFramesPolars, never pandas
Loggingcoloredlogs + logging.getLogger(__name__), never print
CLIfire, e.g. fire.Fire({"train": train, "evaluate": evaluate})
Configdataclass + YAML
Plotsmatplotlib, raw
Trackingtensorboard + memos/
PerformanceRust via maturin, when needed

Project Structure

project/
├── core/               # metrics, validation, shared utils
├── pipeline/           # production baseline code
├── experimental/       # exp_name/ subdirs for throwaway code
│   └── exp_name/       # migrate to pipeline/ if works
├── features/           # feature engineering modules
├── data/
│   ├── raw/            # immutable source data
│   └── processed/      # transformed data
├── memos/              # experiment results, markdown
├── configs/            # YAML job configs
├── experiments/        # timestamped run outputs
├── tests/              # pytest tests
└── temp/               # validation scripts, clean up after

Leakage Checks

Always verify:

  • Features are available at prediction time
  • Aggregations and normalizers are fit on train only
  • No target, future, backtest, or execution columns enter features
  • Entity duplicates do not cross splits unless that is intentional
  • Time-series tasks use chronological splits, and embargo gaps where labels overlap windows
  • A too-good metric is reproduced on a fresh holdout before it is trusted

References

  • references/config-and-tracking.md — open when setting up configs, run dirs, memos, logging, or reproducibility.
  • references/data-and-validation.md — open when writing splits, feature selection, or data loading code.
  • references/modeling.md — open when writing CatBoost or PyTorch training code.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ml Project?

Guidelines for ML projects. Use when training or evaluating models, building ML pipelines, running experiments, or working with datasets/parquet files and CatBoost/PyTorch/Polars code.

Firwat Ml Project op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ml Project besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ml Project an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/arsenyinfo/skills/tree/main/skills/ml-project an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ml Project benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ml Project benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ml Project domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ml Project gratis?

arsenyinfo huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇