Question: Problem statement 2 : Logic The figure below is a Decision Tree created to predict which water resource a location is most suitable to utilize.
Problem statement : Logic
The figure below is a Decision Tree created to predict which water resource a location is most
suitable to utilize. For example, if there is a case where a location has features: onth
rainfall, sandy aquifer, km away from the perennial river, km away from the lake, and
km away from the beach, could you decide which water resource suitable for the community
to take from, rainfall, river water, lake, or groundwater? Use the below decision tree and create
Prolog rules to predict which water source is best for the community under the given
conditions. Take the attribute values from user by giving suitable user prompts and predict the
water source.
write a complete code with dynamic input
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
