From d7ec888d687725d47b8789578f0bd96876b475b4 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Sun, 7 Aug 2022 22:54:35 -0400 Subject: rebuild --- ...20-01-16-Image-Classifier-Using-Turicreate.html | 105 +++++++++++---------- 1 file changed, 55 insertions(+), 50 deletions(-) (limited to 'docs/posts/2020-01-16-Image-Classifier-Using-Turicreate.html') diff --git a/docs/posts/2020-01-16-Image-Classifier-Using-Turicreate.html b/docs/posts/2020-01-16-Image-Classifier-Using-Turicreate.html index a9f60ea..4235b29 100644 --- a/docs/posts/2020-01-16-Image-Classifier-Using-Turicreate.html +++ b/docs/posts/2020-01-16-Image-Classifier-Using-Turicreate.html @@ -160,39 +160,39 @@

\

-
+-------------------------+------------------------+
-|           path          |         image          |
-+-------------------------+------------------------+
-|  ./train/default/1.jpg  | Height: 224 Width: 224 |
-|  ./train/default/10.jpg | Height: 224 Width: 224 |
-| ./train/default/100.jpg | Height: 224 Width: 224 |
-| ./train/default/101.jpg | Height: 224 Width: 224 |
-| ./train/default/102.jpg | Height: 224 Width: 224 |
-| ./train/default/103.jpg | Height: 224 Width: 224 |
-| ./train/default/104.jpg | Height: 224 Width: 224 |
-| ./train/default/105.jpg | Height: 224 Width: 224 |
-| ./train/default/106.jpg | Height: 224 Width: 224 |
-| ./train/default/107.jpg | Height: 224 Width: 224 |
-+-------------------------+------------------------+
+
+-------------------------+------------------------+
+|           path          |         image          |
++-------------------------+------------------------+
+|  ./train/default/1.jpg  | Height: 224 Width: 224 |
+|  ./train/default/10.jpg | Height: 224 Width: 224 |
+| ./train/default/100.jpg | Height: 224 Width: 224 |
+| ./train/default/101.jpg | Height: 224 Width: 224 |
+| ./train/default/102.jpg | Height: 224 Width: 224 |
+| ./train/default/103.jpg | Height: 224 Width: 224 |
+| ./train/default/104.jpg | Height: 224 Width: 224 |
+| ./train/default/105.jpg | Height: 224 Width: 224 |
+| ./train/default/106.jpg | Height: 224 Width: 224 |
+| ./train/default/107.jpg | Height: 224 Width: 224 |
++-------------------------+------------------------+
 [2028 rows x 2 columns]
-Note: Only the head of the SFrame is printed.
+Note: Only the head of the SFrame is printed.
 You can use print_rows(num_rows=m, num_columns=n) to print more rows and columns.
 +-------------------------+------------------------+---------+
-|           path          |         image          |  label  |
-+-------------------------+------------------------+---------+
-|  ./train/default/1.jpg  | Height: 224 Width: 224 | default |
-|  ./train/default/10.jpg | Height: 224 Width: 224 | default |
-| ./train/default/100.jpg | Height: 224 Width: 224 | default |
-| ./train/default/101.jpg | Height: 224 Width: 224 | default |
-| ./train/default/102.jpg | Height: 224 Width: 224 | default |
-| ./train/default/103.jpg | Height: 224 Width: 224 | default |
-| ./train/default/104.jpg | Height: 224 Width: 224 | default |
-| ./train/default/105.jpg | Height: 224 Width: 224 | default |
-| ./train/default/106.jpg | Height: 224 Width: 224 | default |
-| ./train/default/107.jpg | Height: 224 Width: 224 | default |
-+-------------------------+------------------------+---------+
+|           path          |         image          |  label  |
++-------------------------+------------------------+---------+
+|  ./train/default/1.jpg  | Height: 224 Width: 224 | default |
+|  ./train/default/10.jpg | Height: 224 Width: 224 | default |
+| ./train/default/100.jpg | Height: 224 Width: 224 | default |
+| ./train/default/101.jpg | Height: 224 Width: 224 | default |
+| ./train/default/102.jpg | Height: 224 Width: 224 | default |
+| ./train/default/103.jpg | Height: 224 Width: 224 | default |
+| ./train/default/104.jpg | Height: 224 Width: 224 | default |
+| ./train/default/105.jpg | Height: 224 Width: 224 | default |
+| ./train/default/106.jpg | Height: 224 Width: 224 | default |
+| ./train/default/107.jpg | Height: 224 Width: 224 | default |
++-------------------------+------------------------+---------+
 [2028 rows x 3 columns]
-Note: Only the head of the SFrame is printed.
+Note: Only the head of the SFrame is printed.
 You can use print_rows(num_rows=m, num_columns=n) to print more rows and columns.
 
@@ -252,28 +252,28 @@ Completed 1536/1633 Completed 1600/1633 Completed 1633/1633 -PROGRESS: Creating a validation set from 5 percent of training data. This may take a while. - You can set ``validation_set=None`` to disable validation tracking. - -Logistic regression: --------------------------------------------------------- -Number of examples : 1551 -Number of classes : 3 -Number of feature columns : 1 -Number of unpacked features : 2048 -Number of coefficients : 4098 +PROGRESS: Creating a validation set from 5 percent of training data. This may take a while. + You can set ``validation_set=None`` to disable validation tracking. + +Logistic regression: +-------------------------------------------------------- +Number of examples : 1551 +Number of classes : 3 +Number of feature columns : 1 +Number of unpacked features : 2048 +Number of coefficients : 4098 Starting L-BFGS -------------------------------------------------------- +-----------+----------+-----------+--------------+-------------------+---------------------+ -| Iteration | Passes | Step size | Elapsed Time | Training Accuracy | Validation Accuracy | -+-----------+----------+-----------+--------------+-------------------+---------------------+ -| 0 | 6 | 0.018611 | 0.891830 | 0.553836 | 0.560976 | -| 1 | 10 | 0.390832 | 1.622383 | 0.744681 | 0.792683 | -| 2 | 11 | 0.488541 | 1.943987 | 0.733075 | 0.804878 | -| 3 | 14 | 2.442703 | 2.512545 | 0.727917 | 0.841463 | -| 4 | 15 | 2.442703 | 2.826964 | 0.861380 | 0.853659 | -| 9 | 28 | 2.340435 | 5.492035 | 0.941328 | 0.975610 | -+-----------+----------+-----------+--------------+-------------------+---------------------+ +| Iteration | Passes | Step size | Elapsed Time | Training Accuracy | Validation Accuracy | ++-----------+----------+-----------+--------------+-------------------+---------------------+ +| 0 | 6 | 0.018611 | 0.891830 | 0.553836 | 0.560976 | +| 1 | 10 | 0.390832 | 1.622383 | 0.744681 | 0.792683 | +| 2 | 11 | 0.488541 | 1.943987 | 0.733075 | 0.804878 | +| 3 | 14 | 2.442703 | 2.512545 | 0.727917 | 0.841463 | +| 4 | 15 | 2.442703 | 2.826964 | 0.861380 | 0.853659 | +| 9 | 28 | 2.340435 | 5.492035 | 0.941328 | 0.975610 | ++-----------+----------+-----------+--------------+-------------------+---------------------+ Performing feature extraction on resized images... Completed 64/395 Completed 128/395 @@ -287,9 +287,14 @@

We just got an accuracy of 94% on Training Data and 97% on Validation Data!

-
+ +
+ +
+ -- cgit v1.2.3