0
$\begingroup$

Let's say a person picked up a fruit and wanted to identify it.

The person knows certain features about the fruit, such as its color and where it was plucked from, but not its name. They also have knowledge that's relevant for identifying the fruit, but they're not aware that it's relevant (such as the color of the soil below them).

What algorithm could you use to narrow the space of possible answers, such that you could identify the fruit with questions and facts alone?

For an example of how an algorithm/software might work:

Question One

"Is this fruit red?"

Yes / No

Question Two

"Did you find this fruit in May?"

Yes / No

Question Three

"Does this fruit taste sour?"

Yes / No

Question Four

"Does the fruit feel hard?"

Yes / No

A bit like the game of 20 Questions, except in this case, the person does not know what the answer may be—only certain characteristics of the answer.

Is there any algorithm or approach that might work to solve this problem in this particular way?

asked Apr 23, 2020 at 18:55
$\endgroup$
3
  • $\begingroup$ I thought about decision trees. Do you think something like that might work? Or did you try something but got stuck? $\endgroup$ Commented Apr 23, 2020 at 18:59
  • $\begingroup$ I haven't tried decision trees yet, but I have read briefly about them. I'm a novice and unfamiliar with algorithms in general, so I wasn't sure whether it was a good approach for this kind of problem, but I'm willing to try if that's where I should start. $\endgroup$ Commented Apr 23, 2020 at 19:04
  • $\begingroup$ @Dante I am specifically thinking of dichotomous trees (usually used in biology). It's pretty much a specialized decision tree. $\endgroup$ Commented Apr 23, 2020 at 19:16

1 Answer 1

1
$\begingroup$

Have a look at decision trees.

You might rather quickly see a connection to your problem: think about what you should have at each node of the tree and what at each edge. Then think about what should be at the leaves (or very bottom) of the tree and how that might answer your problem.

answered Apr 23, 2020 at 19:09
$\endgroup$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.