Преглед изворни кода

add data sources, fix download instructions in readme, fix tensorflow env temporarily

Grega Bremec пре 1 недеља
родитељ
комит
b3357c5cdb
4 измењених фајлова са 17 додато и 9 уклоњено
  1. 1 1
      .gitignore
  2. 1 1
      README.adoc
  3. 5 0
      docs/DATA_SOURCES.adoc
  4. 10 7
      envs/env-tf-216.yml

+ 1 - 1
.gitignore

@@ -1,6 +1,6 @@
 .ipynb_checkpoints
 .*.sw?
 .DS_Store
-WineQT.csv
+WineQ*.csv
 conda-init.sh
 ilab.completion

+ 1 - 1
README.adoc

@@ -16,7 +16,7 @@ For fun:
 
 https://www.kaggle.com/datasets/yasserh/wine-quality-dataset[Wine Quality Dataset] is a versatile dataset that can be used both as a classification or a regression data set.
 
-Download it from the above link and place it in the same directory as the other files, calling it `WineQT.csv`.
+Download it from the above link and place it at the top of this git repository, in the same directory as this file, calling it `WineQT.csv`.
 
 It has features using 11-dimension tensors describing a wine's chemical composition, with one integer label between 0 and 10 to express the rating the wine got.
 

+ 5 - 0
docs/DATA_SOURCES.adoc

@@ -0,0 +1,5 @@
+== Data Sources Used ==
+
+* Wine Quality, M Yasser H, https://www.kaggle.com/datasets/yasserh/wine-quality-dataset (CC0 Public Domain 1.0)
+
+* Wine Quality Data (Combined), Subhadeep Chakraborty, https://www.kaggle.com/datasets/subhajournal/wine-quality-data-combined (GNU Affero GPL 3.0)

+ 10 - 7
envs/env-tf-216.yml

@@ -1,18 +1,21 @@
 ---
-name: tf-216
+name: tf-2
 channels:
   - apple
   - conda-forge
 dependencies:
-  - python>=3.9
-  - numpy>=1.19.5
+  - python
+  #>=3.9.0,<3.12.0
+  - protobuf>=3.19.2
+  - tensorflow
+  #>=2.16.1
+  - numpy>=1.23.0,<2.0.0
   - pandas>=1.1.5
   - matplotlib>=3.3.4
   - seaborn>=0.9.0
   - ipykernel>=6.29
-  - tensorflow-deps
+  - tensorflow-deps>=2.10.0
   - pip>=25.0
   - pip:
-    - tensorflow-macos
-    - tensorflow-metal
-...
+    - tensorflow-metal>=1.1.0
+...