Page 1 of 1

Given the following training data containing:14 samples Hours # 10 28 38 48 58 248 128 248 240 128 68 Division Northa So

Posted: Fri May 20, 2022 10:27 am
by answerhappygod
Given The Following Training Data Containing 14 Samples Hours 10 28 38 48 58 248 128 248 240 128 68 Division Northa So 1
Given The Following Training Data Containing 14 Samples Hours 10 28 38 48 58 248 128 248 240 128 68 Division Northa So 1 (44.69 KiB) Viewed 43 times
Given the following training data containing:14 samples Hours # 10 28 38 48 58 248 128 248 240 128 68 Division Northa South Easto West North South Easta Wests North South Easta Westa Northa South 78 Products Producer Producer Producer Producer Beverages Beverages Beverages Beveragesa Cannede Cannede Cannede Canneda Beverages Cannede 128 120 Profita High High Higha Highs Lowg Lowa Lowa High High High Lowa Lowa Lowa Highe 88 12 0019 98 o 100 110 120 130 140 128 128 248 248 248 128 1 Test Samples: 1 • Division="East”.&-Products="'Beverages”.& Hours=“24”. Division="North”.&-Products="'Produce”.& Hours=“12”. Knowing that the class attribute is“Profit”, apply the following: 1. Use-the-Bayesian-Classification to predict-the-"Profit”-for-the-above two-test- samples, by calculating the prior and the required-conditional probabilities (avoid. 0-probability if needed). 2. Use-K-Nearest-Neighbor-Classification-(K=5) to predict-the-class-attribute-for: the given test-samples. 3. Compare the two results from the above classification algorithms.