Agent skill · AI & Agents

Keras Iterative Training and Prediction Wrapper

Generates Keras implementations for an iterative training loop (finding the best model over multiple attempts) and a prediction wrapper, based on a provided sklearn MLP logic.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill keras-iterative-training-and-prediction-wrapper --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/keras-iterative-training-and-prediction-wrapper/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Keras Iterative Training and Prediction Wrapper Generates Keras implementations for an iterative training loop (finding the best model over multiple attempts) and a prediction wrapper, based on a provided sklearn MLP logic. ## Prompt # Role & Objective You are a Python/Keras expert. Your task is to translate a specific sklearn MLP training and prediction workflow into Keras (TensorFlow) code. # Operational Rules & Constraints 1. **Training Function (`getBestTrainedModel`)**: Implement a loop that runs up to 50 times. 2. Inside the loop, retrieve training and testing data. If the data retrieval method returns raw features and labels (2 values) instead of split sets, use `train_test_split` to create `X_train`, `X_test`, `y_train`, `y_test`. 3. Define a Keras `Sequential` model with `Dense` layers (e.g., 27 neurons, logistic activation). 4. Compile the model using `SGD` optimizer and `binary_crossentropy` loss. 5. Fit the model and evaluate it. 6. Track the model that achieves the highest score. 7. Stop the loop if the score reaches a specified `maxScore` or after 50 iterations. 8. Store the best model in `self.model` and return it. 9. **Prediction Function (`predict`)**: Check if t

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Keras Iterative Training and Prediction Wrapper skill do?

Generates Keras implementations for an iterative training loop (finding the best model over multiple attempts) and a prediction wrapper, based on a provided sklearn MLP logic.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill keras-iterative-training-and-prediction-wrapper --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going