소스 검색

finish sklearn ipynb example, add clarifications to readme

Grega Bremec 2 주 전
부모
커밋
5346d1d1c0
2개의 변경된 파일427개의 추가작업 그리고 65개의 파일을 삭제
  1. 9 5
      README.adoc
  2. 418 60
      code/wine-sklearn.ipynb

+ 9 - 5
README.adoc

@@ -24,8 +24,12 @@ It has features using 11-dimension tensors describing a wine's chemical composit
 
 The following files are available in this project:
 
-`wine-sklearn.py`::
-    A SciKit-Learn script that loads data, splits it into training and testing subsets, normalizes the features and trains a _C-Support Vector Classification_ model called `SVC` in SKLearn. It then proceeds to visualise the efficiency of the model using a _confusion matrix_ and a heatmap. The idea is that the commented part, training of a modified SVC called NuSVC, which has an issue, would demonstrate how awkward it is to test and fix the script by constantly re-running it.
-
-`wine-sklearn.ipynb`::
-    The same as the above script, only using a JupyterLab notebook. Because you can be selective about which cells to run, nothing is commented out. You are free to re-run sections of the notebook as often as you want, but of course - provisions have to be made for prerequisites.
+`code/wine-sklearn.py`::
+    A SciKit-Learn script that loads data, splits it into training and testing subsets, normalizes the features and trains a _C-Support Vector Classification_ model called `SVC` in SKLearn. It then proceeds to visualise the efficiency of the model using a _confusion matrix_ and a heatmap. The idea is that the commented part, training of a modified SVC called NuSVC, which has an issue, would demonstrate how awkward it is to test and fix the script by constantly re-running it. Run this in `sklearn-16` environment, by executing `python3 ./code/wine-sklearn.py` from the top level directory.
+
+`code/wine-sklearn.ipynb`::
+    Starts the same as the above script, only using a JupyterLab notebook. Because you can be selective about which cells to run, nothing is commented out. You are free to re-run sections of the notebook as often as you want, but of course - provisions have to be made for prerequisites, blocks of code that either declare some variables or process their data in some way.
++
+In addition to fitting a `SVC` and a `NuSVC` classification models, it also shows how the Wine Quality Dataset can be used with regression by fitting a `SVR` model.
++
+Run the examples in this notebook after you enabled JupyterLab and added the kernels to the base environment. If you named your kernels differently, ensure you chose the correct one in the top-right corner after opening the notebook.

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 418 - 60
code/wine-sklearn.ipynb


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.