Code deployed at
https://www.pythonanywhere.com/user/petersteiglechner/files/home/petersteiglechner/mysite/
Website: http://petersteiglechner.pythonanywhere.com/
The tool is designed to suggest a bar/café from a pre-defined set taking the users' preferences into account, but maintaining some degree of randomness to foster exploration.
The
where
- create a new "User" ✔️
- store user ratings.
- enable user selection and load their stored ratings.
- make ratings adjustable ✔️
- create a tickbox behind each bar/café to enable manual selection or exclusion of certain bars/cafés.
- enable to switch between "cafés" and "bars" with a simple click.
- enable to switch between "cafés" and "bars" with a simple click.
- Instead of ranking the bars from 1 to n, one could give scores from 0 to 10.
- enable the possibility to assign no rating to a bar
$r_i = NA$ . The probability needs to be adjusted somehow.
- slider from "secure choice" to "experimental choice" --> parameter
$f$ in the range from 0 to a large value.
The new decision function is:
For
- Alternative: slider "min rating" from 1 to n --> parameter
$r_{min}$ . All bars with any rating$r_i < r_{min}$ are excluded (and the normalisation is adjusted accordingly).