Professional Documents
Culture Documents
Capstone Project
[TTN-652]
Submitted Date:
1. Introduction
1.4. Requirement
Scope
Requirement
The system shall display 20 books with highest rating count including
Technologies to be used
2.1. Dataset
2 2 2
√
d ( x , y )=d ( y , x )= ( x 1− y 1 ) + ( x 2− y 2 ) +…+ ( x n− y n )
n
¿ √∑
i=1
2
( x 1− y 1 ) .
X1 Y1 X2 Y2 X3 Y3 X4 Y4 X5 Y5 X6 Y6 X7 Y7 X8 Y8 Distances
1 5 4 4 3 2 5 3 5 5 2 3 3 5 4 4 4 5.0000
2 4 2 3 4 5 5 5 4 3 5 4 5 4 4 5 3 3.8729
3 5 5 3 5 5 3 4 5 5 4 5 4 3 4 4 4 3.4641
4 4 4 3 5 5 5 4 3 4 4 5 4 4 5 3 5 3.3166
5 3 5 4 4 3 3 4 4 5 5 5 4 5 5 4 4 2.2360
In first step, x values and y values are applied in the above formula and
calculated results are presented in the Distance table.
The results from above table are sorted in ascending order to find out
the nearest distance between user’s data and applied data based on users’
input rating. After sorting has been carried out, it can be seen that no 5 has the
nearest distance therefore UserID 198 is the most similar with new user.
If the system gets the closest user, display books with highest rating(5)
that hasn’t been rated by new user given by UserID 198.
This metric is very simple and it is simply the distance between two points
in the space. For example if we have N dimensional space for users User1(x1,
x2, x3, …xn) and User2(y1, y2,y3, …yn) the distance between them is:
2 2 2
√
d ( p , q )=d ( q , p )= ( q1 −p 1 ) + ( q2 −p 2 ) + …+ ( q n− pn )
n
¿ √ ∑ ( q 1− p1 )2
i=1
4. Design
Table 2 – xxxxxxx
6. Application Configuration
Database MySQL
Language HTML, JSP, servlet
Servlet Apache Tomcat 7.0, Xampp Apache
Webserver
Web Browser Chrome
Documentation Tool Microsoft Word 2016
7. Conclusion
7.1. Limitations
The dataset used for this system has lack of book genres. Therefore,
when user similarities measure, most of the users’ distance are near
because of less rating range.
Figures
Tables
Keywords
No index entries found