Algorithm produces a list of the recommended parks for each user, it takes the list of parks from the database and the current user login type (guest/registered user) as parameters. The algorithm works as follows: Case 1: if the user has records in the visit history, we get the facilities of each visited park and keep a counter of each facility in order to determine its frequency. Using each facility collected from the visited parks list, we will create a list of the preferred facilities by adding only facilities with frequencies equal to or greater than 3 Case 2: if the user has no records, we will generate the list of the user’s preferred facilities using the user’s preferences in the user’s profile. 1.2 Create a park preference counter for each park and compare the preferred facilities list with the facilities list of all parks, if a match is found for a facility in the park’s list of facilities, increment the park’s preference counter 1.3 Now that we have a list of parks with their preference counter, sort the list of parks according to the preference counter, having parks of the highest preference counter at the top of the list.
recommendationsystem-firebase's Introduction
recommendationsystem-firebase's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.