VJyzCELERY
commited on
Commit
·
0c7953e
1
Parent(s):
f7df087
Fixed n_estimator retriever
Browse files
app.py
CHANGED
|
@@ -227,12 +227,12 @@ However, most system only supports the ability to search games by their category
|
|
| 227 |
With that, we wanted to try and make a game recommendation based on description where user can describe the game they are looking for with text and later narrow it down with classification based on their content like genres and price ranges.
|
| 228 |
''')
|
| 229 |
h2("The Model")
|
| 230 |
-
p("""The system consists of three model
|
| 231 |
-
The Language Model will be a classifier based on a Gradient Boosting model called XGBClassifier
|
| 232 |
-
The second model and third model will be the filter model
|
| 233 |
The second model is a collaborative filter model where it will recommend the user a game based on a game that they have liked in the past or a game that they specify similar to the game they are looking for.
|
| 234 |
-
This model will learn based on other user who have reviewed a game and a similar game is the game that said user liked other than the input game. This model will use utility matrix and cosine similarity
|
| 235 |
-
The third model is a content based model where it will recommend user a game based on their content such as Genres, Categories, Price range, Year Release, etc
|
| 236 |
This third model will be a KNeighborsClassifier.""")
|
| 237 |
with gr.Column(elem_id="dataset", elem_classes="content-section", visible=False) as dataset_section:
|
| 238 |
"""
|
|
@@ -601,7 +601,7 @@ classifier.fit(
|
|
| 601 |
)
|
| 602 |
""")
|
| 603 |
history = model.text_based_recommender.history
|
| 604 |
-
n_estimator = len(history['validation_0']['merror'])
|
| 605 |
|
| 606 |
h2('Training vs Validation log loss')
|
| 607 |
results = {
|
|
|
|
| 227 |
With that, we wanted to try and make a game recommendation based on description where user can describe the game they are looking for with text and later narrow it down with classification based on their content like genres and price ranges.
|
| 228 |
''')
|
| 229 |
h2("The Model")
|
| 230 |
+
p("""The system consists of three model :The first one is the Language Model that will learn users review for a game and use that as a way to describe a game.
|
| 231 |
+
The Language Model will be a classifier based on a Gradient Boosting model called XGBClassifier.
|
| 232 |
+
The second model and third model will be the filter model.
|
| 233 |
The second model is a collaborative filter model where it will recommend the user a game based on a game that they have liked in the past or a game that they specify similar to the game they are looking for.
|
| 234 |
+
This model will learn based on other user who have reviewed a game and a similar game is the game that said user liked other than the input game. This model will use utility matrix and cosine similarity.
|
| 235 |
+
The third model is a content based model where it will recommend user a game based on their content such as Genres, Categories, Price range, Year Release, etc.
|
| 236 |
This third model will be a KNeighborsClassifier.""")
|
| 237 |
with gr.Column(elem_id="dataset", elem_classes="content-section", visible=False) as dataset_section:
|
| 238 |
"""
|
|
|
|
| 601 |
)
|
| 602 |
""")
|
| 603 |
history = model.text_based_recommender.history
|
| 604 |
+
n_estimator = np.arange(len(history['validation_0']['merror']))
|
| 605 |
|
| 606 |
h2('Training vs Validation log loss')
|
| 607 |
results = {
|