Page 362 - AI Computer 10
P. 362
Portfolio/Project Work
Portfolio/Project Work
A. You are the president of the AI Club of your school. The Principal assigned you the task to develop a
chatbot for the school website that helps students and parents find information about school timings,
exam schedules, and fee details.
(a) Define the purposes/intents and all involved in the development of the chatbot.
(b) Create sample training data (about 5 user queries per intent).
(c) Design the dialogue flow for:
(i) School timings inquiry (ii) Exam schedule inquiry (iii) Fee payment details
B. You are the coach of the National Hockey team of India. Create a confusion matrix for a prediction
model for team winning the Hockey World Cup. Populate the confusion matrix with suitable data.
Keep the total number of cases equal to 200. Calculate Accuracy, Error, Precision, Recall, and F1 score
for the created confusion matrix.
C. Given a corpus containing the following documents:
• D1: "I love machine learning." • D2: "Machine learning is fun."
• D3: "Deep learning is a part of machine learning."
a. Perform the steps for Text Normalisation on the corpus.
b. Apply the Bag of Words algorithm on the normalised corpus to create individual document vectors
and vector for all the documents in the corpus.
c. Perform TF-IDF analysis to compute the value of each word in the corpus.
D. An IT company has developed an AI model to streamline its hiring process. The model analyses resumes,
candidate interactions, and social media profiles of the applicants to identify the best candidates for
job openings. Concerning the various ethical issues surrounding use of AI, the company wants to
develop a model that adheres to an ethical framework and provides accurate and reliable results.
Outline the various practices that the company should implement in the AI model to ensure adherence
to AI ethics on the following parameters:
• Respect for Autonomy • Maximum Benefit (Beneficence)
• Do Not Harm (Non-maleficence) • Justice
E. Create the following programs in Python (Jupyter Notebook). Write the code and the output obtained
in your program file.
• Write a program to input a string and display the count of vowels and consonants in the string.
• Write a program to find the factorial of the entered number.
• Write a program to input two numbers and display the HCF of the numbers.
• Write a program to add the elements of the two lists.
• Write a program to accept 10 numbers from the user and calculate their mean, median and mode
using Numpy.
• Write a program to display a line chart from (2,5) to (9,10).
• Write a program to display a scatter chart for the following points (2,5), (9,10),(8,3),(5,7),(6,18).
• Write a program to read csv file saved in your system and display first 10 rows.
• Write a program to read csv file saved in your system and display its information.
• Write a program to read an image and display it using Python.
• Write a program to read an image and identify its shape using Python.
228
228