nandovallec commited on
Commit
68e59ae
1 Parent(s): 1ab13ba
Files changed (1) hide show
  1. recommender.py +0 -14
recommender.py CHANGED
@@ -4,20 +4,6 @@ from scipy.sparse import csr_matrix
4
  import numpy as np
5
  import pandas as pd
6
  from scipy.sparse import vstack
7
- import dataset_url
8
- import huggingface_hub
9
- from huggingface_hub import Repository
10
-
11
-
12
-
13
- def save_train_repo(df):
14
- repo = Repository(
15
- local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
16
- )
17
- df.to_hdf(DATA_FILE, key='abc')
18
- commit_url = repo.push_to_hub()
19
- return
20
-
21
 
22
  def add_row_train(df, list_tid):
23
  new_pid_add = df.iloc[-1].name +1
 
4
  import numpy as np
5
  import pandas as pd
6
  from scipy.sparse import vstack
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  def add_row_train(df, list_tid):
9
  new_pid_add = df.iloc[-1].name +1