eduvedras commited on
Commit
1eb887a
·
1 Parent(s): 5e2ffdd

Added splits

Browse files
Files changed (5) hide show
  1. VQG.py +12 -2
  2. metadata.csv +0 -95
  3. metadata_test.csv +0 -0
  4. metadata_train.csv +0 -0
  5. metadata_validation.csv +0 -0
VQG.py CHANGED
@@ -47,6 +47,12 @@ Visual questions for data science
47
 
48
  _URL = "https://huggingface.co/datasets/eduvedras/VQG/resolve/main/images.tar.gz"
49
 
 
 
 
 
 
 
50
  class VQGTargz(datasets.GeneratorBasedBuilder):
51
  """SQUAD: The Stanford Question Answering Dataset. Version 1.1."""
52
 
@@ -75,11 +81,15 @@ class VQGTargz(datasets.GeneratorBasedBuilder):
75
  def _split_generators(self, dl_manager):
76
  path = dl_manager.download(_URL)
77
  image_iters = dl_manager.iter_archive(path)
78
- metadata_path = dl_manager.download('https://huggingface.co/datasets/eduvedras/VQG/resolve/main/metadata.csv')
79
 
80
  return [
81
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"images": image_iters,
82
- "metadata_path": metadata_path}),
 
 
 
 
83
  ]
84
 
85
  def _generate_examples(self, images, metadata_path):
 
47
 
48
  _URL = "https://huggingface.co/datasets/eduvedras/VQG/resolve/main/images.tar.gz"
49
 
50
+ _METADATA_URLS = {
51
+ "train": "https://huggingface.co/datasets/eduvedras/VQG/resolve/main/metadata_train.csv",
52
+ "validation": "https://huggingface.co/datasets/eduvedras/VQG/resolve/main/metadata_validation.csv",
53
+ "test": "https://huggingface.co/datasets/eduvedras/VQG/resolve/main/metadata_test.csv"
54
+ },
55
+
56
  class VQGTargz(datasets.GeneratorBasedBuilder):
57
  """SQUAD: The Stanford Question Answering Dataset. Version 1.1."""
58
 
 
81
  def _split_generators(self, dl_manager):
82
  path = dl_manager.download(_URL)
83
  image_iters = dl_manager.iter_archive(path)
84
+ split_metadata_path = dl_manager.download(_METADATA_URLS)
85
 
86
  return [
87
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"images": image_iters,
88
+ "metadata_path": split_metadata_path['train']}),
89
+ datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"images": image_iters,
90
+ "metadata_path": split_metadata_path['validation']}),
91
+ datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"images": image_iters,
92
+ "metadata_path": split_metadata_path['test']}),
93
  ]
94
 
95
  def _generate_examples(self, images, metadata_path):
metadata.csv CHANGED
@@ -11703,101 +11703,6 @@ Breast_Cancer_histograms.png,Feature generation based on both variables smoothne
11703
  Breast_Cancer_histograms.png,Feature generation based on both variables symmetry_se and perimeter_worst seems to be promising.,11701
11704
  Breast_Cancer_histograms.png,Feature generation based on both variables radius_worst and perimeter_worst seems to be promising.,11702
11705
  Breast_Cancer_histograms.png,Feature generation based on both variables texture_worst and perimeter_worst seems to be promising.,11703
11706
- Breast_Cancer_mv.png,There is no reason to believe that discarding records showing missing values is safer than discarding the corresponding variables in this case.,11704
11707
- Breast_Cancer_mv.png,Dropping all rows with missing values can lead to a dataset with less than 25% of the original data.,11705
11708
- Breast_Cancer_mv.png,Dropping all rows with missing values can lead to a dataset with less than 30% of the original data.,11706
11709
- Breast_Cancer_mv.png,Dropping all rows with missing values can lead to a dataset with less than 40% of the original data.,11707
11710
- Breast_Cancer_mv.png,Dropping all records with missing values would be better than to drop the variables with missing values.,11708
11711
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and texture_mean would be better than discarding all the records with missing values for those variables.,11709
11712
- Breast_Cancer_mv.png,Discarding variables texture_se and texture_mean would be better than discarding all the records with missing values for those variables.,11710
11713
- Breast_Cancer_mv.png,Discarding variables perimeter_se and texture_mean would be better than discarding all the records with missing values for those variables.,11711
11714
- Breast_Cancer_mv.png,Discarding variables area_se and texture_mean would be better than discarding all the records with missing values for those variables.,11712
11715
- Breast_Cancer_mv.png,Discarding variables smoothness_se and texture_mean would be better than discarding all the records with missing values for those variables.,11713
11716
- Breast_Cancer_mv.png,Discarding variables symmetry_se and texture_mean would be better than discarding all the records with missing values for those variables.,11714
11717
- Breast_Cancer_mv.png,Discarding variables radius_worst and texture_mean would be better than discarding all the records with missing values for those variables.,11715
11718
- Breast_Cancer_mv.png,Discarding variables texture_worst and texture_mean would be better than discarding all the records with missing values for those variables.,11716
11719
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and texture_mean would be better than discarding all the records with missing values for those variables.,11717
11720
- Breast_Cancer_mv.png,Discarding variables texture_mean and perimeter_mean would be better than discarding all the records with missing values for those variables.,11718
11721
- Breast_Cancer_mv.png,Discarding variables texture_se and perimeter_mean would be better than discarding all the records with missing values for those variables.,11719
11722
- Breast_Cancer_mv.png,Discarding variables perimeter_se and perimeter_mean would be better than discarding all the records with missing values for those variables.,11720
11723
- Breast_Cancer_mv.png,Discarding variables area_se and perimeter_mean would be better than discarding all the records with missing values for those variables.,11721
11724
- Breast_Cancer_mv.png,Discarding variables smoothness_se and perimeter_mean would be better than discarding all the records with missing values for those variables.,11722
11725
- Breast_Cancer_mv.png,Discarding variables symmetry_se and perimeter_mean would be better than discarding all the records with missing values for those variables.,11723
11726
- Breast_Cancer_mv.png,Discarding variables radius_worst and perimeter_mean would be better than discarding all the records with missing values for those variables.,11724
11727
- Breast_Cancer_mv.png,Discarding variables texture_worst and perimeter_mean would be better than discarding all the records with missing values for those variables.,11725
11728
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and perimeter_mean would be better than discarding all the records with missing values for those variables.,11726
11729
- Breast_Cancer_mv.png,Discarding variables texture_mean and texture_se would be better than discarding all the records with missing values for those variables.,11727
11730
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and texture_se would be better than discarding all the records with missing values for those variables.,11728
11731
- Breast_Cancer_mv.png,Discarding variables perimeter_se and texture_se would be better than discarding all the records with missing values for those variables.,11729
11732
- Breast_Cancer_mv.png,Discarding variables area_se and texture_se would be better than discarding all the records with missing values for those variables.,11730
11733
- Breast_Cancer_mv.png,Discarding variables smoothness_se and texture_se would be better than discarding all the records with missing values for those variables.,11731
11734
- Breast_Cancer_mv.png,Discarding variables symmetry_se and texture_se would be better than discarding all the records with missing values for those variables.,11732
11735
- Breast_Cancer_mv.png,Discarding variables radius_worst and texture_se would be better than discarding all the records with missing values for those variables.,11733
11736
- Breast_Cancer_mv.png,Discarding variables texture_worst and texture_se would be better than discarding all the records with missing values for those variables.,11734
11737
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and texture_se would be better than discarding all the records with missing values for those variables.,11735
11738
- Breast_Cancer_mv.png,Discarding variables texture_mean and perimeter_se would be better than discarding all the records with missing values for those variables.,11736
11739
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and perimeter_se would be better than discarding all the records with missing values for those variables.,11737
11740
- Breast_Cancer_mv.png,Discarding variables texture_se and perimeter_se would be better than discarding all the records with missing values for those variables.,11738
11741
- Breast_Cancer_mv.png,Discarding variables area_se and perimeter_se would be better than discarding all the records with missing values for those variables.,11739
11742
- Breast_Cancer_mv.png,Discarding variables smoothness_se and perimeter_se would be better than discarding all the records with missing values for those variables.,11740
11743
- Breast_Cancer_mv.png,Discarding variables symmetry_se and perimeter_se would be better than discarding all the records with missing values for those variables.,11741
11744
- Breast_Cancer_mv.png,Discarding variables radius_worst and perimeter_se would be better than discarding all the records with missing values for those variables.,11742
11745
- Breast_Cancer_mv.png,Discarding variables texture_worst and perimeter_se would be better than discarding all the records with missing values for those variables.,11743
11746
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and perimeter_se would be better than discarding all the records with missing values for those variables.,11744
11747
- Breast_Cancer_mv.png,Discarding variables texture_mean and area_se would be better than discarding all the records with missing values for those variables.,11745
11748
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and area_se would be better than discarding all the records with missing values for those variables.,11746
11749
- Breast_Cancer_mv.png,Discarding variables texture_se and area_se would be better than discarding all the records with missing values for those variables.,11747
11750
- Breast_Cancer_mv.png,Discarding variables perimeter_se and area_se would be better than discarding all the records with missing values for those variables.,11748
11751
- Breast_Cancer_mv.png,Discarding variables smoothness_se and area_se would be better than discarding all the records with missing values for those variables.,11749
11752
- Breast_Cancer_mv.png,Discarding variables symmetry_se and area_se would be better than discarding all the records with missing values for those variables.,11750
11753
- Breast_Cancer_mv.png,Discarding variables radius_worst and area_se would be better than discarding all the records with missing values for those variables.,11751
11754
- Breast_Cancer_mv.png,Discarding variables texture_worst and area_se would be better than discarding all the records with missing values for those variables.,11752
11755
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and area_se would be better than discarding all the records with missing values for those variables.,11753
11756
- Breast_Cancer_mv.png,Discarding variables texture_mean and smoothness_se would be better than discarding all the records with missing values for those variables.,11754
11757
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and smoothness_se would be better than discarding all the records with missing values for those variables.,11755
11758
- Breast_Cancer_mv.png,Discarding variables texture_se and smoothness_se would be better than discarding all the records with missing values for those variables.,11756
11759
- Breast_Cancer_mv.png,Discarding variables perimeter_se and smoothness_se would be better than discarding all the records with missing values for those variables.,11757
11760
- Breast_Cancer_mv.png,Discarding variables area_se and smoothness_se would be better than discarding all the records with missing values for those variables.,11758
11761
- Breast_Cancer_mv.png,Discarding variables symmetry_se and smoothness_se would be better than discarding all the records with missing values for those variables.,11759
11762
- Breast_Cancer_mv.png,Discarding variables radius_worst and smoothness_se would be better than discarding all the records with missing values for those variables.,11760
11763
- Breast_Cancer_mv.png,Discarding variables texture_worst and smoothness_se would be better than discarding all the records with missing values for those variables.,11761
11764
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and smoothness_se would be better than discarding all the records with missing values for those variables.,11762
11765
- Breast_Cancer_mv.png,Discarding variables texture_mean and symmetry_se would be better than discarding all the records with missing values for those variables.,11763
11766
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and symmetry_se would be better than discarding all the records with missing values for those variables.,11764
11767
- Breast_Cancer_mv.png,Discarding variables texture_se and symmetry_se would be better than discarding all the records with missing values for those variables.,11765
11768
- Breast_Cancer_mv.png,Discarding variables perimeter_se and symmetry_se would be better than discarding all the records with missing values for those variables.,11766
11769
- Breast_Cancer_mv.png,Discarding variables area_se and symmetry_se would be better than discarding all the records with missing values for those variables.,11767
11770
- Breast_Cancer_mv.png,Discarding variables smoothness_se and symmetry_se would be better than discarding all the records with missing values for those variables.,11768
11771
- Breast_Cancer_mv.png,Discarding variables radius_worst and symmetry_se would be better than discarding all the records with missing values for those variables.,11769
11772
- Breast_Cancer_mv.png,Discarding variables texture_worst and symmetry_se would be better than discarding all the records with missing values for those variables.,11770
11773
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and symmetry_se would be better than discarding all the records with missing values for those variables.,11771
11774
- Breast_Cancer_mv.png,Discarding variables texture_mean and radius_worst would be better than discarding all the records with missing values for those variables.,11772
11775
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and radius_worst would be better than discarding all the records with missing values for those variables.,11773
11776
- Breast_Cancer_mv.png,Discarding variables texture_se and radius_worst would be better than discarding all the records with missing values for those variables.,11774
11777
- Breast_Cancer_mv.png,Discarding variables perimeter_se and radius_worst would be better than discarding all the records with missing values for those variables.,11775
11778
- Breast_Cancer_mv.png,Discarding variables area_se and radius_worst would be better than discarding all the records with missing values for those variables.,11776
11779
- Breast_Cancer_mv.png,Discarding variables smoothness_se and radius_worst would be better than discarding all the records with missing values for those variables.,11777
11780
- Breast_Cancer_mv.png,Discarding variables symmetry_se and radius_worst would be better than discarding all the records with missing values for those variables.,11778
11781
- Breast_Cancer_mv.png,Discarding variables texture_worst and radius_worst would be better than discarding all the records with missing values for those variables.,11779
11782
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and radius_worst would be better than discarding all the records with missing values for those variables.,11780
11783
- Breast_Cancer_mv.png,Discarding variables texture_mean and texture_worst would be better than discarding all the records with missing values for those variables.,11781
11784
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and texture_worst would be better than discarding all the records with missing values for those variables.,11782
11785
- Breast_Cancer_mv.png,Discarding variables texture_se and texture_worst would be better than discarding all the records with missing values for those variables.,11783
11786
- Breast_Cancer_mv.png,Discarding variables perimeter_se and texture_worst would be better than discarding all the records with missing values for those variables.,11784
11787
- Breast_Cancer_mv.png,Discarding variables area_se and texture_worst would be better than discarding all the records with missing values for those variables.,11785
11788
- Breast_Cancer_mv.png,Discarding variables smoothness_se and texture_worst would be better than discarding all the records with missing values for those variables.,11786
11789
- Breast_Cancer_mv.png,Discarding variables symmetry_se and texture_worst would be better than discarding all the records with missing values for those variables.,11787
11790
- Breast_Cancer_mv.png,Discarding variables radius_worst and texture_worst would be better than discarding all the records with missing values for those variables.,11788
11791
- Breast_Cancer_mv.png,Discarding variables perimeter_worst and texture_worst would be better than discarding all the records with missing values for those variables.,11789
11792
- Breast_Cancer_mv.png,Discarding variables texture_mean and perimeter_worst would be better than discarding all the records with missing values for those variables.,11790
11793
- Breast_Cancer_mv.png,Discarding variables perimeter_mean and perimeter_worst would be better than discarding all the records with missing values for those variables.,11791
11794
- Breast_Cancer_mv.png,Discarding variables texture_se and perimeter_worst would be better than discarding all the records with missing values for those variables.,11792
11795
- Breast_Cancer_mv.png,Discarding variables perimeter_se and perimeter_worst would be better than discarding all the records with missing values for those variables.,11793
11796
- Breast_Cancer_mv.png,Discarding variables area_se and perimeter_worst would be better than discarding all the records with missing values for those variables.,11794
11797
- Breast_Cancer_mv.png,Discarding variables smoothness_se and perimeter_worst would be better than discarding all the records with missing values for those variables.,11795
11798
- Breast_Cancer_mv.png,Discarding variables symmetry_se and perimeter_worst would be better than discarding all the records with missing values for those variables.,11796
11799
- Breast_Cancer_mv.png,Discarding variables radius_worst and perimeter_worst would be better than discarding all the records with missing values for those variables.,11797
11800
- Breast_Cancer_mv.png,Discarding variables texture_worst and perimeter_worst would be better than discarding all the records with missing values for those variables.,11798
11801
  Breast_Cancer_histograms.png,The variable texture_mean can be coded as ordinal without losing information.,11799
11802
  Breast_Cancer_histograms.png,The variable perimeter_mean can be coded as ordinal without losing information.,11800
11803
  Breast_Cancer_histograms.png,The variable texture_se can be coded as ordinal without losing information.,11801
 
11703
  Breast_Cancer_histograms.png,Feature generation based on both variables symmetry_se and perimeter_worst seems to be promising.,11701
11704
  Breast_Cancer_histograms.png,Feature generation based on both variables radius_worst and perimeter_worst seems to be promising.,11702
11705
  Breast_Cancer_histograms.png,Feature generation based on both variables texture_worst and perimeter_worst seems to be promising.,11703
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11706
  Breast_Cancer_histograms.png,The variable texture_mean can be coded as ordinal without losing information.,11799
11707
  Breast_Cancer_histograms.png,The variable perimeter_mean can be coded as ordinal without losing information.,11800
11708
  Breast_Cancer_histograms.png,The variable texture_se can be coded as ordinal without losing information.,11801
metadata_test.csv ADDED
The diff for this file is too large to render. See raw diff
 
metadata_train.csv ADDED
The diff for this file is too large to render. See raw diff
 
metadata_validation.csv ADDED
The diff for this file is too large to render. See raw diff