Install
$ agentstack add skill-aznatkoiny-zai-skills-deep-learning ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ● Dynamic code execution Used
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Deep Learning with Keras 3
Patterns and best practices based on Deep Learning with Python, 2nd Edition by François Chollet, updated for Keras 3 (Multi-Backend).
Core Workflow
- Prepare Data: Normalize, split train/val/test, create
tf.data.Dataset - Build Model: Sequential, Functional, or Subclassing API
- Compile:
model.compile(optimizer, loss, metrics) - Train:
model.fit(data, epochs, validation_data, callbacks) - Evaluate:
model.evaluate(test_data)
Model Building APIs
Sequential - Simple stack of layers:
model = keras.Sequential([
layers.Dense(64, activation="relu"),
layers.Dense(10, activation="softmax")
])
Functional - Multi-input/output, shared layers, non-linear topologies:
inputs = keras.Input(shape=(64,))
x = layers.Dense(64, activation="relu")(inputs)
outputs = layers.Dense(10, activation="softmax")(x)
model = keras.Model(inputs=inputs, outputs=outputs)
Subclassing - Full flexibility with call() method:
class MyModel(keras.Model):
def __init__(self):
super().__init__()
self.dense1 = layers.Dense(64, activation="relu")
self.dense2 = layers.Dense(10, activation="softmax")
def call(self, inputs):
x = self.dense1(inputs)
return self.dense2(x)
Quick Reference: Loss & Optimizer Selection
| Task | Loss | Final Activation | |------|------|------------------| | Binary classification | binary_crossentropy | sigmoid | | Multiclass (one-hot) | categorical_crossentropy | softmax | | Multiclass (integers) | sparse_categorical_crossentropy | softmax | | Regression | mse or mae | None |
Optimizers: rmsprop (default), adam (popular), sgd (with momentum for fine-tuning)
Domain-Specific Guides
| Topic | Reference | When to Use | |-------|-----------|-------------| | Keras 3 Migration | [keras3changes.md](references/keras3changes.md) | START HERE: Multi-backend setup, keras.ops, import keras | | Fundamentals | [basics.md](references/basics.md) | Overfitting, regularization, data prep, K-fold validation | | Keras Deep Dive | [kerasworking.md](references/kerasworking.md) | Custom metrics, callbacks, training loops, tf.function | | Computer Vision | [computervision.md](references/computervision.md) | Convnets, data augmentation, transfer learning | | Advanced CV | [advancedcv.md](references/advancedcv.md) | Segmentation, ResNets, Xception, Grad-CAM | | Time Series | [timeseries.md](references/timeseries.md) | RNNs (LSTM/GRU), 1D convnets, forecasting | | NLP & Transformers | [nlptransformers.md](references/nlptransformers.md) | Text processing, embeddings, Transformer encoder/decoder | | Generative DL | [generativedl.md](references/generativedl.md) | Text generation, VAEs, GANs, style transfer | | Best Practices | [bestpractices.md](references/bestpractices.md) | KerasTuner, mixed precision, multi-GPU, TPU |
Essential Callbacks
callbacks = [
keras.callbacks.EarlyStopping(monitor="val_loss", patience=3),
keras.callbacks.ModelCheckpoint("best.keras", save_best_only=True),
keras.callbacks.TensorBoard(log_dir="./logs")
]
model.fit(..., callbacks=callbacks)
Utility Scripts
| Script | Description | |--------|-------------| | [quicktrain.py](scripts/quicktrain.py) | Reusable training template with standard callbacks and history plotting | | [visualizefilters.py](scripts/visualizefilters.py) | Visualize convnet filter patterns via gradient ascent |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Aznatkoiny
- Source: Aznatkoiny/zAI-Skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.