Шукаєте відповіді та рішення тестів для CMP6238 Applied AI for Cyber Security A S1 2026/7? Перегляньте нашу велику колекцію перевірених відповідей для CMP6238 Applied AI for Cyber Security A S1 2026/7 в moodle.bcu.ac.uk.
Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!
Discuss the differences between labelled and unlabelled data, focusing on their roles in supervised and unsupervised machine learning. Provide examples of applications in cybersecurity where each type is used, and explain the challenges associated with labelling data in this field.
Given a cybersecurity dataset with an imbalance ratio of 95:5 (normal activity to attack data).
1. Assume the dataset initially has 95,000 samples of normal activity. Calculate how many synthetic attack samples are needed to achieve a balanced dataset (ratio of 50:50).
2. Explain how balancing the dataset might impact the model's performance.
You are training a linear regression model to predict a continuous target variable yy from a single feature xx. The model has the form:
y=w⋅x+by = w \cdot x + bwhere:
Suppose you have a dataset with two points: (x1,y1)=(2,4)(x_1, y_1) = (2, 4) and (x2,y2)=(3,7)(x_2, y_2) = (3, 7). Find the values of ww and bb that minimize the mean squared error for this dataset.
Which of the following are examples of categorical data?
A company wants to analyse customer behaviour to identify potential segments for targeted marketing. They have a labeled dataset with customer purchase history, demographics, and customer satisfaction ratings. However, they also want to discover unknown patterns within the data for future strategies. Which of the following approaches would best meet both objectives?
In Pandas, if you want to select all rows where the values in the column 'A' are greater than the mean value of that column, which of the following statements is correct?
If you have a NumPy array arr with shape (100, 1) and want to reshape it to a shape that matches (10, 10), which statement is true?
Describe the role of data preprocessing steps in machine learning workflows, and explain how improper preprocessing can lead to biases in model performance, particularly in high-stakes applications like spam detection or intrusion detection.
Which of the following is NOT a correct way to handle missing data in a Pandas DataFrame?
How would you access the second element of the first row in a 2D NumPy array called array_2d?