aminian commited on
Commit
3a862f4
1 Parent(s): 6d3c853

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +155 -0
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+
3
+ tags:
4
+
5
+ - code
6
+
7
+ license: mit
8
+
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ This model recommends movies to users based on the movies they have voted for.
14
+
15
+ # Model Details
16
+
17
+ The model consists of three parts
18
+
19
+ - Content-based filtering
20
+
21
+ - Collaborative filtering
22
+
23
+ - Ensemble model
24
+
25
+ ## Model Description
26
+
27
+ Content-based filtering is used for recommending movies based on the content of their previously voted movies. e.g. genre, actors, ...
28
+
29
+ By using collaborative filtering, similar interests are found and movies that have been voted for by some users are recommended to users who have not voted for them. It doesn't depend on the content and doesn't need domain knowledge.
30
+
31
+ The ensemble model is created by combining the last two methods to give better recommendations. The algorithm finds similar people and then recommends films based on their votes, filtering them based on content preferences.
32
+
33
+ - Developed by: Aida Aminian, Mohammadreza Mohammadzadeh Asl
34
+
35
+ <!--- Shared by [optional]: [More Information Needed]-->
36
+
37
+ - Model type: content-based filtering and collaborative and an ensemble model of these two model
38
+
39
+ - Language(s) (NLP): not used, only TFIDF for keywords is used
40
+
41
+ - License: MIT License
42
+
43
+ ## Model Sources
44
+
45
+ MovieLens dataset
46
+
47
+ # Uses
48
+
49
+ Building recommendation systems
50
+
51
+ ## Direct Use
52
+
53
+ Movie recommendations based on content and other similar people.
54
+
55
+ <!-- ## Out-of-Scope Use -->
56
+
57
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
58
+
59
+ <!-- [More Information Needed] -->
60
+
61
+ # Bias, Risks, and Limitations
62
+
63
+ This ML model is based on an IMDB movie dataset. The dataset may have more focus on English movies.
64
+
65
+ ## Recommendations
66
+
67
+ Add other metrics to model
68
+
69
+ ## How to Get Started with the Model
70
+
71
+ Install the sklearn, pandas and numpy libraries for python. Download the MovieLens dataset and put that in the 'content/IMDB' path in the project directory. Use python interpreter to run the code.
72
+
73
+ # Training Details
74
+
75
+ ## Training Data
76
+
77
+ IMDB Movies
78
+
79
+ ### Preprocessing
80
+
81
+ Extracting features from keywords.
82
+
83
+ <!-- ### Speeds, Sizes, Times -->
84
+
85
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
86
+
87
+ <!-- [More Information Needed] -->
88
+
89
+ # Evaluation
90
+
91
+ <!-- This section describes the evaluation protocols and provides the results. -->
92
+
93
+ <!-- ## Testing Data, Factors & Metrics -->
94
+
95
+ <!-- ### Testing Data -->
96
+
97
+ <!-- This should link to a Data Card if possible. -->
98
+
99
+ <!-- [More Information Needed] -->
100
+
101
+ ### Factors
102
+
103
+ We've removed some of the wrong rows in the dataset.
104
+
105
+ <!-- [More Information Needed] -->
106
+
107
+ ### Metrics
108
+
109
+ percision@k and recall@k
110
+
111
+ <!-- [More Information Needed] -->
112
+
113
+ <!-- ## Results -->
114
+
115
+ <!-- [More Information Needed] -->
116
+
117
+ ### Summary
118
+
119
+ <!-- # Environmental Impact
120
+
121
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
122
+
123
+ <!-- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). -->
124
+
125
+ <!-- - Hardware Type: [More Information Needed] -->
126
+
127
+ <!-- - Hours used: [More Information Needed] -->
128
+
129
+ <!-- - Cloud Provider: [More Information Needed] -->
130
+
131
+ <!-- - Compute Region: [More Information Needed] -->
132
+
133
+ <!-- - Carbon Emitted: [More Information Needed] -->
134
+
135
+ # Technical Specifications
136
+
137
+ ## Model Architecture and Objective
138
+
139
+ Content-based filtering.
140
+
141
+ <!-- ## Compute Infrastructure -->
142
+
143
+ <!-- [More Information Needed] -->
144
+
145
+ ### Hardware
146
+
147
+ Works fine on google colab
148
+
149
+ ### Software
150
+
151
+ python, sklearn, numpy, pandas
152
+
153
+ <!-- # Model Card Contact -->
154
+
155
+ <!-- [More Information Needed] -->