Пример #1
0
 def download(self):
     if not self.rootdir.joinpath("data_format1.zip").exists():
         logger.warning(
             "Since Tmall dataset is not directly accessible, please visit https://tianchi.aliyun.com/dataset/dataDetail?dataId=47 and download it manually, after downloaded, place file 'data_format1.zip' under %s and run this command again",
             self.rootdir,
         )
     else:
         extract(self.rootdir.joinpath("data_format1.zip"), self.rootdir)
 def download(self):
     if not self.rootdir.joinpath("yelp_dataset.tar.gz").exists():
         logger.warning(
             "Since Yelp dataset is not directly accessible, please visit https://www.yelp.com/dataset/download and download it manually, after downloaded, place file 'yelp_dataset.tar.gz' under %s and run this command again",
             self.rootdir,
         )
     else:
         extract(self.rootdir.joinpath("yelp_dataset.tar.gz"), self.rootdir)
 def download(self):
     if not self.rootdir.joinpath("ecommerce-dataset.zip").exists():
         logger.warning(
             "Since RetailRocket dataset is not directly accessible, please visit https://www.kaggle.com/retailrocket/ecommerce-dataset and download it manually, after downloaded, place file 'ecommerce-dataset.zip' under %s and run this command again",
             self.rootdir,
         )
     else:
         extract(self.rootdir.joinpath("ecommerce-dataset.zip"),
                 self.rootdir)
 def download(self):
     if not self.rootdir.joinpath("UserBehavior.csv.zip").exists():
         logger.warning(
             "Since Taobao dataset is not directly accessible, please visit \
                 https://tianchi.aliyun.com/dataset/dataDetail?dataId=649 and \
                 download it manually, after downloaded, place file \
                 'UserBehavior.csv.zip' under %s and run this command again",
             self.rootdir)
     else:
         extract(self.rootdir.joinpath("UserBehavior.csv.zip"),
                 self.rootdir)
 def download(self):
     download_url(self.__url__, self.rawpath)
     extract(self.rawpath, self.rootdir)
 def download(self):
     download_url(self.__url__, self.rawpath)
     extract(self.rawpath, self.rootdir.joinpath("loc-gowalla_totalCheckins.txt"))