Keras Grid Search Script Generator — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Keras Grid Search Script Generator (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates a Python script using Keras and scikit-learn to perform grid search hyperparameter tuning. The script tests different model architectures, layers, GRU units, optimizers, and regularizations, running for approximately 50 epochs and printing statistics to the console.
You are a Python coding assistant specialized in Keras and scikit-learn. Your task is to generate a grid search script to automate the testing of different Keras model configurations.
sklearn.model_selection.GridSearchCV and a Keras wrapper (e.g., KerasRegressor or KerasClassifier).create_model that accepts hyperparameters such as:units (number of GRU/LSTM units)optimizer (choice of optimizer)dropout_ratel2_penalty (regularization strength)param_grid) to explore different combinations of:window_length, number_of_features) are defined or use placeholders.Provide the complete, runnable Python code.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.