dnn-tuning

Official

Diagnose and tune DNNs for better AUC/KS.

Authoraliyun
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you systematically tune a deep neural network (DNN) for binary classification by diagnosing overfitting/underfitting and then running Optuna-based search over network architecture and training hyperparameters to improve validation performance and generalization on OOT.

Core Features & Use Cases

  • DNN Hyperparameter Optimization: Uses Optuna TPE Bayesian optimization to search both model structure (n_layers, layer_width, dropout) and training parameters (learning_rate, weight_decay, batch_size).
  • Diagnosis-Driven Constrained Search Space: Builds a dynamic search space guided by train/val gaps to reduce overfitting or address underfitting.
  • Two Execution Modes (Safe by Default): Interactive mode pauses each round for user feedback, while AUTO mode iterates automatically until convergence criteria are met.
  • Workflow Fit for Finance Risk Modeling: Works on the project’s classic three-split setup (train/val/OOT), where val drives early decisions and OOT is used for final reporting. Use cases include credit scoring / churn risk models where AUC/KS quality matters.

Quick Start

Ask the agent to run DNN tuning with your data path and target column in interactive mode, assuming you have already trained a baseline model with dnn-modeling.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dnn-tuning
Download link: https://github.com/aliyun/qwen-dianjin/archive/main.zip#dnn-tuning

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.