Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OLEG
moscowhack
backend
Commits
76072570
Commit
76072570
authored
Jun 12, 2022
by
ArAZimin
Browse files
Update recomendation_system.py
parent
29c9277f
Changes
1
Hide whitespace changes
Inline
Side-by-side
recomendation_system.py
View file @
76072570
...
...
@@ -90,6 +90,9 @@ def calc_recomendation_by_location(user_data, all_data, tags_recomendation):
for
x
in
result_id
:
if
result_id
.
count
(
x
)
>
1
:
result_id
.
remove
(
x
)
for
index
in
list
(
all_data
.
keys
()):
if
index
not
in
result_id
:
result_id
.
insert
(
x
,
index
)
return
result_id
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment