$ run as a normal user# run as root (or with sudo)
What the course covers
What generative AI is and the main types of model.
- How data scientists use generative AI in each step of a project.
- How to generate data, prepare data and query data with prompts.
- How generative AI helps with EDA, charts and model building.
- The risks: hallucination, bias, privacy and copyright.
| Module | Main focus |
|---|---|
| Module 1 · about 5 hours | Data Science and Generative AI: model types, the lifecycle, data generation and querying |
| Module 2 · about 7 hours | Use of Generative AI for Data Science: insights, charts, models, ethics and challenges |
| Module 3 · about 2 hours | Final Project and Exam: guided project and final exam |
Module 1: Data Science and Generative AI
Data Science and Generative AI: model types, the lifecycle, data generation and querying.
- Generative AI makes new content: text, images, code or audio.
- An LLM is a large language model. It works with text and predicts the next token.
- Other families: GANs for images, and VAEs that learn a compressed form of the data.
- Gen AI can help at every step of the data science lifecycle: understand, prepare, model, evaluate, deploy.
- Synthetic data is data made by a model. It looks like real data but is not real.
- Data augmentation adds more examples, for example to fill a small class.
- Gen AI can turn a plain-language question into SQL, so you can query a database faster.
- Check which tool your lab gives you. The tool list changes often.
Module 2: Use of Generative AI for Data Science
Use of Generative AI for Data Science: insights, charts, models, ethics and challenges.
- Gen AI can explain a dataset: column meanings, possible problems and good first questions.
- It can suggest a chart and write the plotting code. You must run it and check the picture.
- For model building it can draft code, suggest features and explain an error message.
- A prompt should give the role, the data, the task and the output format.
- Hallucination: the model gives a confident but wrong answer. Check facts and numbers.
- Bias: the model learns unfair patterns from the training data.
- Privacy: do not paste private or personal data into a public tool.
- Copyright and IP: check the rules before you use generated text or images.
- Human in the loop: a person reviews and approves the result before it is used.
Module 3: Final Project and Exam
Final Project and Exam: guided project and final exam.
- The final project uses gen AI in a full workflow: problem, data, model and report.
- Steps: understand the problem, prepare the data, explore, build a model, present the results.
- Keep a record of the prompts you used and what you checked.
- The final exam covers all modules of the course.
Check yourself
Answer each question first, then open it to check the answer.
1What does generative AI do? a) It creates new content such as text, images or code · b) It only stores files · c) It only runs SQL queries · d) It only draws static plots
a) It creates new content such as text, images or code. Gen AI creates text, images, code and more from a prompt.
2What is an LLM? a) A large map library · b) A large language model that works with text · c) A linear model · d) A local memory
b) A large language model that works with text. LLM means large language model, and it works on text.
3What is synthetic data? a) A backup of the database · b) A column of missing values · c) Data made by a model that looks like real data · d) Data from a printed report
c) Data made by a model that looks like real data. A model makes synthetic data; it copies the patterns, not the real rows.
4How can generative AI help with data augmentation? a) It can create more examples, for example for a small class · b) It can delete the test set · c) It can speed up the CPU · d) It can replace the database
a) It can create more examples, for example for a small class. New examples can balance a small class or add variety.
5How can generative AI help with SQL? a) It can run the database server · b) It can remove the need for tables · c) It can change every data type · d) It can turn a plain-language question into a query
d) It can turn a plain-language question into a query. The model writes the query; you still check and run it.
6What is a hallucination? a) A slow download · b) A confident answer that is wrong · c) A missing value · d) A type of chart
b) A confident answer that is wrong. The answer sounds sure but the fact or number is wrong.
7Why must you check generative AI output? a) It can be wrong, so you test it against data and facts · b) It is always correct · c) It cannot write code · d) It never reads data
a) It can be wrong, so you test it against data and facts. Test the output against real data, numbers and sources.
8What is bias in a generative AI model? a) A fast response time · b) A small file size · c) An unfair pattern that comes from the training data · d) A type of prompt
c) An unfair pattern that comes from the training data. Unfair training data leads to unfair model output.
9What does "human in the loop" mean? a) A person checks and approves the AI output · b) The AI works alone · c) The AI edits the database directly · d) The model has no training data
a) A person checks and approves the AI output. A person stays in control and approves the result.
10What is a privacy risk of a public AI tool? a) The chart may be too small · b) Private data may be stored or shared · c) The code may run slower · d) The model may forget English
b) Private data may be stored or shared. A public tool may keep or share what you paste into it.
11Which list belongs to responsible AI? a) Faster CPUs only · b) Bigger charts only · c) More colours in plots · d) Fairness, transparency, privacy and accountability
d) Fairness, transparency, privacy and accountability. Responsible AI covers fairness, transparency, privacy and accountability.
12When generative AI gives you model code, what is the next step? a) Test and validate it · b) Deploy it at once · c) Delete the data · d) Post it without checks
a) Test and validate it. Generated code can have bugs, so test it on real data first.
13Which module holds the final project and the final exam? a) Module 1 · b) Module 2 · c) Module 3 · d) There is no exam
c) Module 3. The last module holds the final project and the final exam.
Study and exam tips
Learn the four words: synthetic data, augmentation, hallucination and bias.
- Remember the pair: the model drafts, the human checks.
- Know that privacy and copyright are limits, not small details.
- Read each question twice. Watch for "always" and "only", which are often wrong.