Consider the following set of data points (Year of experience salary). Find the 2nd order polynomialand using polynomial regression determine the salary w
| Years of Experience (X) | Salary (Y) in Dollar |
| 1 | 50,000 |
| 2 | 55,000 |
| 3 | 65,000 |
| 4 | 80,000 |
| 5 | 110,000 |
| 6 | 150,000 |
| 7 | 200,000 |
hen year of experience is
Using the following training dataset, apply Naïve Bayes classification algorithm to find the class of an unknown sample X = < Rainy, Cool, High, False >
| S. No | Outlook | Temperature | Humidity | Windy | Play Golf/Class |
| 0 | Rainy | Hot | High | False | No |
| 1 | Rainy | Hot | High | True | No |
| 2 | Overcast | Hot | High | False | Yes |
| 3 | Sunny | Mild | High | False | Yes |
| 4 | Sunny | Cool | Normal | False | Yes |
| 5 | Sunny | Cool | Normal | True | No |
| 6 | Overcast | Cool | Normal | True | Yes |
| 7 | Rainy | Mild | High | False | No |
| 8 | Rainy | Cool | Normal | False | Yes |
| 9 | Sunny | Mild | Normal | False | Yes |
| 10 | Rainy | Mild | Normal | True | Yes |
| 11 | Overcast | Mild | High | True | Yes |
| 12 | Overcast | Hot | Normal | False | Yes |
| 13 | Sunny | Mild | High | True | Yes |
Explain K-Nearest Neighbour (K-NN) classification algorithm with the help of a suitable example
See Answer →In a class, three students tossed one coins (one each) for 3 times. Write down all the possible outcomes which can be obtained in this experiment. What is the probability of getting 2 or more than 2 heads at a time? Also find the probability of getting three tails at a time.
See Answer →Define a frame for the entity date which consists of day, month and year. each of which is a number with restrictions which are well-known. Also, a procedure named compute-day-of-week is already defined.
See Answer →Consider the following Minimax game tree search in which root is maximizing node and children are visited from left to right. Find the value of the root node of the game tree?
What are Intelligent agents in AI? Briefly discuss the properties of Agents. Q5: Find the minimum cost path for the 8-puzzle problem, where the start and goal state are given as follows:
| 1 | 2 | 2 |
| 8 | 4 | |
| 7 | 6 | 5 |
Start State
| 2 | 8 | 1 |
| 4 | 3 | |
| 7 | 6 | 5 |
Goal State
See Answer →Compare Artificial Intelligence (AI), Machine Learning (ML), and Deep Learning (DL).
See Answer →
Compare ANI, AGI and ASI, in context of AI. Also, discuss the major applications of AI.
See Answer →
What is the Random Forest algorithm? Explain how it can be applied to classification problems. Write a program in R to implement a Random Forest classifier on a sample dataset and explain its output.
See Answer →Discuss the challenges of online advertising and recommendation systems. Explain the concept of collaborative filtering with an example, and discuss the role of clustering in social network analysis.
See Answer →
What is the PageRank algorithm, and how is it used in link analysis? Describe the concept of “flow of rank” in PageRank. Explain how the PageRank of a web page is calculated using the flow model.
See Answer →
Describe the purpose and functionality of a Bloom filter in data stream processing. How does the Bloom filter efficiently check for element presence? Describe the Flajolet-Martin algorithm for cardinality estimation in data streams.
See Answer →
Compare Apache Spark, Hive, and HBase in terms of functionality, data processing methods, and use cases. When would Spark be preferred over traditional MapReduce, and why?
See Answer →
Explain the Hadoop architecture with a focus on HDFS and the master/slave architecture. How do NameNode and DataNodes work together to store and manage large datasets? Provide a basic example of this storage process.
See Answer →Discuss the 4 Vs of big data (Volume, Velocity, Variety, and Veracity). Provide a real-world example of each, explaining how these characteristics create challenges in big data management.
See Answer →
Describe the role of statistical hypothesis testing in data analysis. What are Type I and Type II errors, and how do they affect decision-making? Provide an example of hypothesis testing in a real-world scenario.
See Answer →