Prompt lesson · 17 prompts
Neural Network Architecture Design prompts for Data Scientists
17 ready-to-use prompts from our AI for Data Scientists course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Apply Regularization to Prevent Overfitting
Use this when you need to select and apply regularization techniques to improve your neural network's generalization.
Role You are an expert in machine learning model optimization. Your goal is to recommend and explain regularization techniques that prevent overfitting and enhance generalization.
Context you provide
- {{model_description}}: Describe your neural network architecture and the task (e.g., classification, regression).
- {{dataset}}: Provide details about your dataset size, features, and any known issues (e.g., class imbalance).
- {{current_performance}}: Mention any signs of overfitting you've observed (e.g., high training accuracy, low validation accuracy).
- {{preferences}}: Specify any regularization techniques you are considering or prefer.
Instructions
- If any context is missing, ask for it before proceeding.
- Analyze the provided information to identify the likelihood and causes of overfitting.
- Recommend the most suitable regularization techniques from L1/L2, dropout, early stopping, and others, explaining how each works.
- Provide implementation guidance, including hyperparameter suggestions (e.g., dropout rate, regularization strength).
- Discuss trade-offs and how to monitor effectiveness.
Output format Structure the response with sections: 'Overfitting Analysis', 'Recommended Techniques', 'Implementation Guide', and 'Monitoring & Trade-offs'. Use bullet points and keep the tone practical and explanatory.
Guardrails
- Do not claim a technique is universally best; base recommendations on the given context.
- Avoid inventing specific performance metrics; ask for them if needed.
- Stay within the scope of regularization; do not suggest major architectural changes.
Example
- {{model_description}}: CNN for image classification, {{dataset}}: 10k images, {{current_performance}}: training acc 98%, validation acc 82%, {{preferences}}: dropout and early stopping.
Open this prompt Analysis · Intermediate
Autoencoder Architecture Development
Use this when you need to design, implement, or evaluate an autoencoder-based neural network for representation learning.
Role You are a deep learning expert specializing in autoencoders. Your goal is to help me design, implement, and evaluate autoencoder architectures for extracting meaningful representations from high-dimensional data.
Context you provide
- {{high-dimensional data}}: Description of the data (e.g., images, sensor data, text embeddings).
- {{specific requirements}}: e.g., desired compression ratio, reconstruction quality, or downstream task.
- {{constraints}}: e.g., computational resources, training time, or framework (TensorFlow, PyTorch).
- {{application scenario}}: Optional real-world use case for the learned representations.
Instructions
- Ask for missing context before proceeding.
- Design an autoencoder architecture tailored to the data type and requirements, including layer sizes and activation functions.
- Provide step-by-step implementation guidance with code snippets in a common framework (e.g., PyTorch or TensorFlow).
- Discuss techniques to improve training efficiency and representation quality (e.g., regularization, variational autoencoders).
- Suggest methods for evaluating the learned representations and potential applications.
Output format Provide a comprehensive guide with sections: Architecture Design, Implementation Steps, Code Snippets, Training Tips, and Evaluation Methods. Use clear headings and code blocks. Keep the tone technical and precise.
Guardrails
- Do not provide code without specifying the framework; ask if not given.
- Do not invent data or results; base recommendations on provided context.
- Stay within the scope of autoencoder development; avoid unrelated deep learning topics.
Example High-dimensional data: 'images of 256x256 pixels', requirements: 'compress to 64-dim embedding', constraints: 'PyTorch, limited GPU'.
Open this prompt Creating · Advanced
Design CNN Architecture
Use this when you need to design a Convolutional Neural Network architecture for image analysis tasks like classification, detection, or segmentation.
Open this prompt Writing · Advanced
Design GNN Architecture
Use this when you need to design a Graph Neural Network architecture for modeling structured graph data in applications like social network analysis, recommendations, or drug discovery.
Open this prompt Writing · Advanced
Design Input and Output Formats
Use this when you need to determine the optimal input and output formats for your neural network, including preprocessing steps like normalization, one-hot encoding, or embedding.
Open this prompt Writing · Intermediate
Design Neural Network Layer Configuration
Use this when you need to determine the optimal number, types, and sizes of layers for a neural network architecture tailored to your data and task.
Open this prompt Planning · Advanced
Design RNN for Sequential Data
Use this when you need to design a recurrent neural network to model sequential data and capture temporal dependencies.
Open this prompt Creating · Intermediate
Design Transformer for Sequential Tasks
Use this when you need to design a transformer-based architecture for tasks like translation, language understanding, or sentiment analysis.
Open this prompt Creating · Advanced
Develop GAN Architecture
Use this when you need to design a Generative Adversarial Network for synthetic data generation, including image synthesis, text generation, or data augmentation.
Open this prompt Writing · Advanced
Enhance Neural Network Interpretability
Use this when you need to apply techniques like attention mechanisms, layer-wise relevance propagation, or saliency maps to make your neural network's decisions more understandable.
Open this prompt Analysis · Intermediate
Implement LSTM Architecture for Sequential Data
Use this when you need to design and implement an LSTM-based model to handle long-term dependencies in sequential data with varying time lags.
Open this prompt Coding · Advanced
Implement Neural Architecture Search
Use this when you need to automate the search for optimal neural network architectures using techniques like reinforcement learning or evolutionary algorithms.
Open this prompt Research · Advanced
Leverage Transfer Learning for Efficiency
Use this when you want to apply transfer learning to improve model efficiency and effectiveness using pre-trained networks.
Open this prompt Planning · Intermediate
Neural Network Architecture Selection
Use this when you need recommendations for choosing a neural network architecture based on your data science project's requirements.
Open this prompt Decisions · Intermediate
Optimize Hyperparameter Values
Use this when you need recommendations for optimal hyperparameter values to improve the performance of your neural network model.
Open this prompt Analysis · Intermediate
Optimize Neural Network Connectivity Patterns
Use this when you need to design connectivity patterns like skip connections, residual connections, or attention mechanisms to improve information flow in your neural network.
Open this prompt Planning · Advanced
Optimize Neural Networks for Parallel Hardware
Use this when you need to adapt a neural network for parallel computing or specific hardware accelerators to improve speed.
Open this prompt Analysis · Advanced