-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
75 lines (72 loc) · 1.84 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<body>
<H1>Get Critic Similarity Ranking</H1>
<form action="" method="get">
<div>
<input type="hidden" name="func" value="criticSimilarity">
<select name="criticToCompare">
<option value="Lisa Rose">Lisa Rose</option>
<option value="Gene Seymour">Gene Seymour</option>
<option value="Michael Phillips">Michael Phillips</option>
<option value="Mick LaSalle">Mick LaSalle</option>
<option value="Jack Matthews">Jack Matthews</option>
<option value="Toby">Toby</option>
<option value="Bob">Bob</option>
<option value="Larry">Larry</option>
<option value="Samantha">Samantha</option>
</select>
</div>
<input type="submit" value="Compare">
</form>
<P>
<H1>Get Movie Recommendations</H1>
<form action="" method="get">
<input type="hidden" name="func" value="getRecommendation">
<input type="text" name="criticToGetRecommendations" placeholder="Lisa Rose" />
<input type="submit" value="Get Recommendations">
</form>
<p>
<H1>Get Similar Movies</H1>
<form action="" method="get">
<input type="hidden" name="func" value="getSimilarMovies">
<input type="text" name="movieToGetSimilar" placeholder="Superman Returns" />
<input type="submit" value="Get Similar Movies">
</form>
<p>
<table>
<TR>
<TD>
Euclidean Results:
{% autoescape false %}
{{ resultEuclidean }}
{% endautoescape %}
</TD>
<TD>
Pearson Results:
{% autoescape false %}
{{ resultPearson }}
{% endautoescape %}
</TD>
<TD>
Ext Jaccard Results:
{% autoescape false %}
{{ resultExtJaccard }}
{% endautoescape %}
</TD>
<TD>
Cosine Results:
{% autoescape false %}
{{ resultCosine }}
{% endautoescape %}
</TD>
</TR>
</table>
<p>
<p>
Formatted Data:
{% autoescape false %}
{{ formatted_data }}
{% endautoescape %}
</body>
</html>