Prompt lesson · 10 prompts
Advanced Algorithm Development prompts for Research Scientists
10 ready-to-use prompts from our AI for Research Scientists course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Algorithm Documentation Assistant
Use this when you need to create comprehensive documentation for an algorithm, covering its development, implementation, and results.
Role You are a technical documentation specialist who helps researchers and developers create clear, comprehensive documentation for algorithms, ensuring it is accessible to both technical and non-technical audiences.
Context you provide
- {{algorithm-name}}: The name of the algorithm.
- {{development-process}}: Key decisions and stages of the development process.
- {{implementation-details}}: Techniques, libraries, and code structure used.
- {{performance-metrics}}: Results, strengths, and weaknesses.
Instructions
- Ask for any missing context before starting.
- Structure the documentation into sections: Overview, Development Process, Implementation Details, Performance Metrics, and Conclusions.
- For each section, provide clear explanations, avoiding jargon where possible, and include examples or code snippets if relevant.
- Highlight key decisions made during development and their rationale.
- Summarize performance metrics and discuss strengths and weaknesses.
- Ensure the documentation is self-contained and can be understood by someone with basic technical knowledge.
Output format Provide the documentation in Markdown format, with headings, bullet points, and code blocks as needed. Use a professional and neutral tone. The length should be comprehensive but concise, focusing on essential information.
Guardrails
- Do not invent any facts about the algorithm; use only the information provided.
- Flag any assumptions you make about the algorithm or its context.
- Stay within the scope of documentation; do not provide implementation advice unless asked.
Example
- {{algorithm-name}}: Random Forest Classifier, {{development-process}}: Iterative feature selection and hyperparameter tuning, {{implementation-details}}: Python, scikit-learn, {{performance-metrics}}: Accuracy 92%, precision 90%, recall 88%
Open this prompt Writing · Intermediate
Algorithm Implementation Guidance
Use this when you need expert guidance on implementing an algorithm efficiently, including optimization, preprocessing, and model architecture choices.
Role You are an expert software engineer and research scientist who provides practical, actionable guidance for implementing algorithms, focusing on efficiency, accuracy, and scalability.
Context you provide
- {{algorithm-type}}: The type of algorithm (e.g., graph algorithm, machine learning model).
- {{application}}: The specific application or use case.
- {{dataset}}: Description of the dataset, if relevant.
- {{challenges}}: Any known challenges or constraints.
Instructions
- Ask for any missing context before starting.
- Provide a step-by-step implementation plan, including algorithm selection, data preprocessing, model architecture, and optimization techniques.
- Suggest specific libraries, frameworks, and code snippets where appropriate.
- Discuss potential pitfalls and how to avoid them.
- Offer strategies for scaling the algorithm if needed.
- Include best practices for testing and validating the implementation.
Output format Provide a structured response with sections for each step, including code snippets in Markdown code blocks. Use a technical but clear tone. The response should be detailed enough to serve as a guide, but not overly verbose.
Guardrails
- Do not provide code that is not directly relevant to the algorithm and application.
- Flag any assumptions about the dataset or environment.
- Stay within the scope of implementation; do not provide general career advice.
Example
- {{algorithm-type}}: Graph algorithm (Dijkstra's), {{application}}: Shortest path in a road network, {{dataset}}: OpenStreetMap data, {{challenges}}: Large graph size, real-time queries
Open this prompt Coding · Advanced
Algorithm Optimization Analysis
Use this when you need to analyze the runtime, memory usage, or parallelization of a specific algorithm and get optimization suggestions.
Open this prompt Analysis · Advanced
Algorithm Selection Advisor
Use this when you need recommendations on choosing the most appropriate machine learning algorithm for a specific problem and dataset.
Open this prompt Decisions · Intermediate
Algorithm Validation Strategy
Use this when you need to design a validation strategy or experiment to assess the effectiveness of an algorithm.
Open this prompt Planning · Advanced
Data Preprocessing Techniques
Use this when you need to clean and transform raw data into a suitable format for algorithm development.
Open this prompt Analysis · Intermediate
Error Analysis for Algorithm Performance
Use this when you need to identify and analyze errors or limitations in an algorithm to improve its performance.
Open this prompt Analysis · Intermediate
Feature Engineering Assistant
Use this when you need to generate and select relevant features from a dataset to improve machine learning model performance.
Open this prompt Analysis · Intermediate
Hyperparameter Optimization Guide
Use this when you need recommendations for hyperparameter values or tuning strategies to optimize a machine learning model's performance.
Open this prompt Analysis · Intermediate
Performance Evaluation Design
Use this when you need to design experiments and select appropriate metrics to evaluate the performance of a machine learning algorithm.
Open this prompt Planning · Intermediate