The Prompt Library is an innovative tool offering a curated collection of free text, image, and video prompts across various domains. Designed for seamless execution on generative AI platforms like ChatGPT, Bard, Claude, and others, it’s a go-to resource for enhancing AI interactions and creativity.
Prompt Name | Prompt | Type | Category | Actions |
---|---|---|---|---|
Write Regex | Act as a coder. Write me a regex in Python that [describe regex]. | Text | Regular Expressions, Python | |
Address Imbalance Data | Act as a coder. I have trained a machine learning model on an imbalanced dataset. The predictor variable is the column [Insert column name]. In python, how do I oversample and/or undersample my data? | Text | Imbalanced Data, Machine Learning, Python | |
Visualize Data with Matplotlib | Act as a coder in python. I have a dataset [name] with columns [name]. [Describe graph requirements]. | Text | Data Visualization, Matplotlib, Python | |
Explore Data | Act as a data scientist and code for me. I have a dataset of [describe dataset]. Write code for data visualisation and exploration. | Text | Data Visualization, Data Exploration, Python | |
Generate Data | Act as a fake data generator. I need a dataset that has x rows and y columns: [insert column names]. | Text | Data Generation, Synthetic Data, Python | |
Train Time Series | Act as a data scientist and code for me. I have a time series dataset [describe dataset]. Build a machine learning model that predicts [target variable]. Use [time range] as train and [time range] as validation. | Text | Time Series Analysis, Machine Learning, Python | |
Get Feature Importance | Act as a data scientist and explain the model’s results. I have trained a decision tree model and I would like to find the most important features. Write the code. | Text | Feature Importance, Python, Machine Learning | |
Automatic Machine Learning | Act as an automatic machine learning (AutoML) bot using TPOT for me. I am working on a model that predicts [...]. Write python code to find the best classification model with the highest AUC score on the test set. | Text | AutoML, TPOT, Machine Learning, Python | |
Tune Hyperparameter | Act as a data scientist and code for me. I have trained a [model name]. Write the code to tune the hyperparameters. | Text | Hyperparameter Tuning, Machine Learning, Python | |
Comparing Algorithm Efficiency in Python | Act as a software developer. I would like to compare the efficiency of two algorithms that perform the same task in Python. Write code that helps me run an experiment that can be repeated for 5 times. Output the runtime and other summary statistics of the experiment. [INSERT FUNCTION] | Text | Algorithm Efficiency, Python, Performance Analysis | |
Optimizing Python Pandas Code for Efficiency | Act as a Python code optimizer. Point out what's wrong with the following pandas code and optimize it? [INSERT CODE] | Text | Pandas Optimization, Python, Data Processing | |
Automating Model Selection with TPOT for Prediction | Act as an automatic machine learning (AutoML) bot using TPOT. I am working on a model that predicts [TARGET VARIABLE NAME]. Write Python code to find the best classification model with the highest AUC score on the test set. | Text | AutoML, TPOT, Classification Model | |
Documenting a Python Function | Act as a software developer. Provide documentation for func1 below. [INSERT FUNCTION] | Text | Code Documentation, Programming |