Discover the full potential of ChatGPT for data science. Learn top techniques, explore plugins, custom instructions, and code interpretation.

By Gencay

Published: 2023-09-14

URL: https://www.learnwithmeai.com/p/how-to-become-a-chatgpt-pro-top-techniques


\Created with Leonardo.ai\

There is no doubt that the data science world is in constant evolution, and staying ahead means being adaptable with the latest tools. And ChatGPT is becoming the number one priority in the realm of data science.

With ChatGPT, it’s not just about asking questions and getting responses; it’s more about discovering. Now, you might be wondering, “What are these functionalities, and how can I use them to my advantage?” Ah, patience, we’re getting to that!

In the coming sections, we’ll be shedding light on the mysteries of the ChatGPT cosmos, exploring topics ranging from the right plugins to suit your data science tasks to selecting the perfect prompt and crafting custom instructions.

Which ChatGPT Plug-ins are Fit for Your Task — If There is Any?

\SS From ChatGPT\

In the dynamic field of ChatGPT plug-ins, staying ahead involves leveraging the right tools to enhance your efficiency, in plain english, this plug-ins, offering functionalities that can put you ahead of most of data scientists.

AskYourPDF

\AskYourPDF in Plugin store —Reference\

Let’s say you need to read a book to cover some Python libraries, to solve your problem in your environment. But that might become really time-consuming, right?

No worries, just load AskYourPDF, upload your document here, collect the doc\_id, and use the following prompt structure; ( and thank me by sending a bunch of claps.)


Here is my doc_id {}
Can you tell me, what this book about?

To read more about this plug-in, read this one.

How to Choose the Perfect ChatGPT Prompt?

\Image by Author\

To achieve optimal results from your ChatGPT prompts, I found a great way to structure your prompt by following this 5-step formula, which ensures that your prompt will be both well-structured and clear.

1. Context

Give the context.

You are a data scientist with expertise in machine learning and artificial intelligence. You have a deep understanding of algorithms and are proficient in Python programming.

2. Task

Here, define the task clearly.

Your task is to assist in the development of a machine learning model
for a new AI application, guiding through the selection of the most suitable
algorithms and helping fine-tune the model parameters for optimal performance.

3. Instruct

It is time to give instructions.

I will supply you with a dataset and a detailed description of the problem we aim to solve. Your role is to analyze the data, select the right features, and propose a machine learning model, including the necessary preprocessing steps.

4. Clarify

Can ChatGPT understand correctly? Make sure of it.

Do you understand your role and the expectations in this project?

5. Refine

Now it is time to do refinement.

Please provide clear and concise responses, illustrating your suggestions with real-world examples and, where possible, Python code snippets to demonstrate the implementation of the proposed solutions.”

Full prompt at the end

\Image by Author\

If you have struggled with grasping which sentences served to which part, you can check the graph above. (1. Context, 2. Task, 3 . Instruct, 4 .Clarify, 5.Refine) You can copy the whole prompt below.


Imagine you are a data scientist with a rich background in machine learning
and artificial intelligence, proficient in Python programming.
Your task is to assist in the development of a machine learning model
for a new AI application, guiding through the selection of the most suitable
algorithms and helping fine-tune the model parameters for optimal performance.
I will supply you with a dataset and a detailed description of the problem we aim to solve. Your role is to analyze the data, select the right features, and propose a machine learning model, including the necessary preprocessing steps.
Do you understand your role and the expectations in this project?
Please provide clear and concise responses, illustrating your suggestions with real-world examples and, where possible, Python code snippets to demonstrate the implementation of the proposed solutions."

Are You Making the Most of ChatGPT’s Advanced Analysis Features? ( Old Code Interpreter)

\SS From ChatGPT\

You can read this one to see how ChatGPT Code Interpreter, or with its new name, Advanced Analysis, can be used in Machine Learning. Here is one example prompt of mine and its answer to that.


Can you write a python script, that will apply 6 different regression algorithms and
evaluate them by adding end results to the eval df, with MSE and r2 score metrics?
Use dataset that I uploaded, and compare the end results in eval df,
by using bar graphs.

\SS of ChatGPT\

\Bar Graphs, that did A/B testing on ML Algos\

Now, you can see a really good example of data analysis, by Justin below.

Or analyzing Bitcoin dataset ;

Custom Instructions: Your Secret Weapon for Efficient ChatGPT Use

\SS From ChatGPT\

OpenAI once introduced a feature for ChatGPT called “custom instructions.” This feature is designed to enhance your interaction with ChatGPT by allowing you to set preferences. Let’s see why and how.

Why should you use Custom Instructions?

Because they are akin to introducing yourself to a new friend. You provide ChatGPT with information about yourself, which it retains to provide more tailored and intuitive conversations in the future.

Let’s Set Up the Custom Instructions

In this article, I deeply covered custom instructions by starting how and where to activate it. After activation, you will be prompted to answer two questions to help ChatGPT understand you better.

\SS From ChatGPT\

The first question(above) encourages you to share details about yourself, with a generous limit of 1500 words. Here, you can share your location, job, hobbies, interests, and goals.

Important Note : Be sure the information is consistent to avoid contradictions.

\SS from ChatGPT\

The second question allows you to define how you want ChatGPT to respond to you. You can set specific templates for prompts, such as asking ChatGPT to explain concepts in a manner suitable for a 9th-grade level.


The responses should be brief but high level.
Please note that English is my second language,
so the sentences in the responses should be short, but fulfilled.
ChatGPT's outputs should meet a 9th-grade reading level.

I am using the above prompt when I want ChatGPT to explain something to me. Here you can revise both sections to fulfill your tasks when you need.

Final Thoughts

In this article, we discover the tools and techniques to enhance your data science projects using ChatGPT, delving into plug-ins, prompt selection, custom instructions, and advanced analysis functionalities.