Spaces:
Runtime error
Runtime error
nandovallec
commited on
Commit
•
4da8e4d
1
Parent(s):
a21e7dd
Add library
Browse files- app.py +1 -0
- recommender.py +2 -0
app.py
CHANGED
@@ -19,6 +19,7 @@ from scipy.sparse import csr_matrix
|
|
19 |
import numpy as np
|
20 |
import pandas as pd
|
21 |
import os
|
|
|
22 |
from recommender import *
|
23 |
|
24 |
|
|
|
19 |
import numpy as np
|
20 |
import pandas as pd
|
21 |
import os
|
22 |
+
from scipy.sparse import vstack
|
23 |
from recommender import *
|
24 |
|
25 |
|
recommender.py
CHANGED
@@ -3,6 +3,8 @@ import sklearn.preprocessing as pp
|
|
3 |
from scipy.sparse import csr_matrix
|
4 |
import numpy as np
|
5 |
import pandas as pd
|
|
|
|
|
6 |
|
7 |
|
8 |
def add_row_train(df, list_tid):
|
|
|
3 |
from scipy.sparse import csr_matrix
|
4 |
import numpy as np
|
5 |
import pandas as pd
|
6 |
+
from scipy.sparse import vstack
|
7 |
+
|
8 |
|
9 |
|
10 |
def add_row_train(df, list_tid):
|