junshan-kit 1.2.4__py2.py3-none-any.whl → 2.1.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
junshan_kit/datahub.py CHANGED
@@ -22,7 +22,7 @@ class kaggle_data:
22
22
  # example: list_user_datasets()
23
23
 
24
24
  #---------------------------------------------------------------
25
- def read_data(self, data_name = 'evpd-test', copy_path = None):
25
+ def read_data(self, data_name = 'w8a-libsvm', copy_path = None):
26
26
  path = kagglehub.dataset_download(f'junshan888/{data_name}')
27
27
  # print("Downloaded to:", path)
28
28
  if copy_path is not None:
@@ -39,4 +39,8 @@ class kaggle_data:
39
39
  if __name__ == "__main__":
40
40
  # Your code here
41
41
  data = kaggle_data()
42
- data.read_data(copy_path='./exp_data/w')
42
+ # Example usage
43
+ print('Available datasets:')
44
+ data.list_user_datasets()
45
+ data.read_data(data_name='w8a-libsvm', copy_path='./exp_data/w')
46
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: junshan_kit
3
- Version: 1.2.4
3
+ Version: 2.1.1
4
4
  Summary: This is an optimization tool.
5
5
  Author-email: Junshan Yin <junshanyin@163.com>
6
6
  Requires-Dist: kaggle==1.7.4.5
@@ -9,7 +9,9 @@ Requires-Dist: numpy==2.2.6
9
9
  Requires-Dist: scikit-learn==1.7.1
10
10
  Description-Content-Type: text/markdown
11
11
 
12
- We consider that \(f(x)\)
12
+ - For class kaggle_data in datahub
13
+ - We need to set API of kaggle.
14
+
13
15
 
14
16
 
15
17
 
@@ -0,0 +1,6 @@
1
+ junshan_kit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ junshan_kit/datahub.py,sha256=jWQSlJOtpaosgoDExx3-UODJBj1-GX1f1TQPEHrCwTU,1448
3
+ junshan_kit/kaggle_hub.py,sha256=RYUuUtSY6NgNd0iV8kH5Uxn-eLaJSgUFmi6r33NHPmc,1093
4
+ junshan_kit-2.1.1.dist-info/METADATA,sha256=L6QIVQ8TCHZOyKk5gpxtjBFIV5nl8w13ZIrkxUBPBlQ,388
5
+ junshan_kit-2.1.1.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
6
+ junshan_kit-2.1.1.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- junshan_kit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- junshan_kit/datahub.py,sha256=dtPRvEIMOrCcnA_Kob5OnGRQcBEkPHp7pGQ3NqpdOns,1339
3
- junshan_kit/kaggle_hub.py,sha256=RYUuUtSY6NgNd0iV8kH5Uxn-eLaJSgUFmi6r33NHPmc,1093
4
- junshan_kit-1.2.4.dist-info/METADATA,sha256=XRUXTt78NCb_G3A3YwCrtDosTj1tw6rJfSKL6LfyNyQ,344
5
- junshan_kit-1.2.4.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
6
- junshan_kit-1.2.4.dist-info/RECORD,,