https://repl.it/repls/WorriedNeglectedTelephones
Code: Select all
from np.random import choice as choose
available_choices = ['coffee', 'tea', 'milk']
for _ in range(30):
print(choose(available_choices))
What is missing from your idea is the notion of a 'weighted choice' where some choices are more likely to be made than others.
Say I like coffee way more than tea or milk.
https://repl.it/repls/RequiredFarWorkers
Code: Select all
from np.random import choice as choose
available_choices = ['coffee', 'tea', 'milk']
weight = [ 0.9, 0.05, 0.05 ]
for _ in range(30):
print(choose(available_choices, p=weight))
And so for the sake of philosophical disagreement one could simply point out that while you are clearly able to choose between coffee, tea and milk, are you really able to choose which one you choose more frequently?
Are you free to choose your weighting function? It's the same as asking 'are you able to change your preferences?'