forked from abhishekdutta/youtube_recommender_system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog2.html
1114 lines (1057 loc) · 37.3 KB
/
blog2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="CS1951a : Data Science Project">
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<title>YouTube Recommendation System with Data Trends Analysis using YouTube API</title>
<style>
pre {
background-color: black;
}
#nokey {
z-index:-99;
top: 0;
left: -60%;
position: absolute;
height: 100%;
width: 215%;
}
</style>
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/pengyangwu/CS1951a">View on GitHub</a>
<h1 id="project_title">Blog Post #2</h1>
<h2 id="project_tagline">CS1951a : Data Science Project</h2>
<section id="downloads">
<a class="zip_download_link" href="https://github.com/pengyangwu/CS1951a/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/pengyangwu/CS1951a/tarball/master">Download this project as a tar.gz file</a>
</section>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<h2>
<a id="command-line-youtube-data" class="anchor" href="#" aria-hidden="true"><span class="octicon octicon-link"></span></a>Progress Thus Far</h2>
<h4>
<a id="author-Aaron-Abhishek-Natalie-Preston-Wennie" class="anchor" href="#" aria-hidden="true"><span class="octicon octicon-link"></span></a>Author:
Aaron Wu (pwu8), Abhishek Dutta (adutta2), Natalie Roe (nroe), Preston Law (plaw), Wennie Zhang (yzhang46) (We're a team of five! Confirmed by HTA)</h4>
<h3>
<a id="content"><span class="octicon octicon-link"></span></a>What We've Accomplished</h3>
<p> At this point, in our final project, we've created a python script to extract and clean our data from YouTube. Below is an image of part of our code that grabbed the data from the API. </p>
<img src="images/grabber_code.png" align="middle">
<p> The data that we grabbed pertained to the top videos on YouTube at the time we ran our data. "Top" was defined by the videos' likes to dislikes ratio. From our data, we created a visualization representing the most popular terms in the top videos on YouTube. The terms were sourced from each videos' title, tags, and description.</p>
<img src="images/top_terms.png" align="middle">
<p> Afterwards, we extracted data from 4 specific channels on YouTube: Khan Standard Playlists, Khan Medicine Playlists, Khan College Admissions Playlists, and Khan SAT Playlists. We wrote a specific script to extract and clean data from those playlists. Below is an image of our data from Khan Standard Playlists: </p>
<img src="images/khan_data_json.png">
<p>After cleaning the data, we created a file that lists each video id, title, like count, dislike count, views, favourite count, and number of comments. Below is a snapshot of the information for a subset of the data that we collected from the channel: </p>
<img src="images/khan_data_csv.png">
<p>We then transformed the data to represent the properties for every single video with the following features [x is R^8 dimension], <br>
(['Id', 'Title', 'Description', 'LikeCount', 'DislikeCount', 'ViewCount', 'FavoriteCount', 'CommentCount']). <br>
On our feature set, we performed sentimental analysis (positive + / negative -) based on <br>
Machine Learning classification models. <br>
The classification models we used were Bernoulli Naive Bayes, Linear Regression, Logistic Regression, Support Vector Machine. <br>
In the shot result of the terminal, <br>
[0] -> stands for postive+; <br>
[1] -> stands for negative- <br></p>
<p> Based on machine learning model analysis on these data, we could generated vast majority of info, and we could ultilize them in some creative ways, <br>
For instance, <br>
predicting a likely label before a user clicks it. If the predicted label is (-1) negative based on Liked, Disliked, Comments, <br>
and our model says we got >85% probability it's negative(-1), then we would pop up an important notice it channel may contain harmful info and make you feel uncomfable.<br>
Simiarily, <br>
if our model says we got >99.5% probability it's negative(-1), then we would probably block this video in this channel, especially for the those users below 18 year-old (children), etc.
<br>
In addition, We will be continuing to process, analyze, and create visualizations with more data. And We will also be working on developing the web application <br>
portion of the project so that users will be able to use our findings to identify trends on YouTube.
<br>
<br>
</p>
<h4 align="center">Classifier 1</h4>
<p style="color:red" align="center">Bernoulli Naive Bayes</p>
<img src="images/nb_1.png">
<br>
<h4 align="center">Classifier 2</h4>
<p style="color:green" align="center">Logistic Regression</p>
<img src="images/log_1.png">
<br>
<h4 align="center">Classifier 3</h4>
<p style="color:blue" align="center">Support Vector Machine</p>
<img src="images/SVM_1.png">
<br>
<h3>
<a id="content"><span class="octicon octicon-link"></span></a>Conclusion and analysis based on ML</h3>
<p> Based on machine learning model analysis on these data, we could generated vast majority of info, and we could ultilize them in some creative ways, <br>
For instance, <br>
predicting a likely label before a user clicks it. If the predicted label is (-1) negative based on Liked, Disliked, Comments, <br>
and our model says we got >85% probability it's negative(-1), then we would pop up an important notice it channel may contain harmful info and make you feel uncomfable.<br>
Simiarily, <br>
if our model says we got >99.5% probability it's negative(-1), then we would probably block this video in this channel, especially for the those users below 18 year-old (children), etc.
<br>
In addition, We will be continuing to process, analyze, and create visualizations with more data. And We will also be working on developing the web application <br>
portion of the project so that users will be able to use our findings to identify trends on YouTube.
<br>
<br>
April 6, 2017
</p>
<p><b>* For the limitation of screenshot's length on department machine, the full results are as follows: *</b>
<pre>
<h4 align="center">Classifier 1</h4>
<span id="r">
----------- Naive Bayes, Bernoulli ---------
training mean accuracy:
0.8295125
mean and std dev for cross validation scores:
mean:
0.755
std dev:
0.00643015357515
==============================================================
--------------------------------------------------------------
Video 1:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.11260559 0.88739441]]
--------------------------------------------------------------
Video 2:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.00560106 0.99439894]]
--------------------------------------------------------------
Video 3:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.00290388 0.99709612]]
--------------------------------------------------------------
Video 4:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.31901708 0.68098292]]
--------------------------------------------------------------
Video 5:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.18664652 0.81335348]]
--------------------------------------------------------------
Video 6:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.14130879 0.85869121]]
--------------------------------------------------------------
Video 7:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.19696204 0.80303796]]
--------------------------------------------------------------
Video 8:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.406529 0.593471]]
--------------------------------------------------------------
Video 9:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.31890769 0.68109231]]
--------------------------------------------------------------
Video 10:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.74345804 0.25654196]]
--------------------------------------------------------------
Video 11:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.54572662 0.45427338]]
--------------------------------------------------------------
Video 12:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.72050322 0.27949678]]
--------------------------------------------------------------
Video 13:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.18932438 0.81067562]]
--------------------------------------------------------------
Video 14:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.2233634 0.7766366]]
--------------------------------------------------------------
Video 15:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.3006824 0.6993176]]
--------------------------------------------------------------
Video 16:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.23589132 0.76410868]]
--------------------------------------------------------------
Video 17:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.18230234 0.81769766]]
--------------------------------------------------------------
Video 18:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.19447912 0.80552088]]
--------------------------------------------------------------
Video 19:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.08422374 0.91577626]]
--------------------------------------------------------------
Video 20:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.31807239 0.68192761]]
--------------------------------------------------------------
Video 21:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.11138242 0.88861758]]
--------------------------------------------------------------
Video 22:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.13012721 0.86987279]]
--------------------------------------------------------------
Video 23:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.09394665 0.90605335]]
--------------------------------------------------------------
Video 24:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.11689436 0.88310564]]
--------------------------------------------------------------
Video 25:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.81486076 0.18513924]]
--------------------------------------------------------------
Video 26:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.12933486 0.87066514]]
--------------------------------------------------------------
Video 27:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.52968991 0.47031009]]
--------------------------------------------------------------
Video 28:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.11138242 0.88861758]]
--------------------------------------------------------------
Video 29:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.406529 0.593471]]
--------------------------------------------------------------
Video 30:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.94621964 0.05378036]]
--------------------------------------------------------------
Video 31:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.46897564 0.53102436]]
--------------------------------------------------------------
Video 32:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.4134813 0.5865187]]
--------------------------------------------------------------
Video 33:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.5700762 0.4299238]]
--------------------------------------------------------------
Video 34:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.02704855 0.97295145]]
--------------------------------------------------------------
Video 35:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.30027051 0.69972949]]
--------------------------------------------------------------
Video 36:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.15215293 0.84784707]]
--------------------------------------------------------------
Video 37:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.18047264 0.81952736]]
--------------------------------------------------------------
Video 38:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.11525736 0.88474264]]
--------------------------------------------------------------
Video 39:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.06627049 0.93372951]]
--------------------------------------------------------------
Video 40:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.46897564 0.53102436]]
--------------------------------------------------------------
Video 41:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.46897564 0.53102436]]
--------------------------------------------------------------
Video 42:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.01123935 0.98876065]]
--------------------------------------------------------------
Video 43:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.07062582 0.92937418]]
--------------------------------------------------------------
Video 44:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.8854158 0.1145842]]
--------------------------------------------------------------
Video 45:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.10394983 0.89605017]]
--------------------------------------------------------------
Video 46:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.05470105 0.94529895]]
--------------------------------------------------------------
Video 47:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.32064853 0.67935147]]
--------------------------------------------------------------
Video 48:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.50276359 0.49723641]]
--------------------------------------------------------------
Video 49:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.46897564 0.53102436]]
--------------------------------------------------------------
Video 50:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.46897564 0.53102436]]
--------------------------------------------------------------
</span>
<span id="g">
<h4 align="center">Classifier 2</h4>
----------- LogisticRegression -------------
training mean accuracy:
0.8498
mean and std dev for cross validation scores:
mean:
0.7648625
std dev:
0.0055883388632
==============================================================
--------------------------------------------------------------
Video 1:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.13359099 0.86640901]]
--------------------------------------------------------------
Video 2:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.10285371 0.89714629]]
--------------------------------------------------------------
Video 3:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.02550152 0.97449848]]
--------------------------------------------------------------
Video 4:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.35943077 0.64056923]]
--------------------------------------------------------------
Video 5:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.15291531 0.84708469]]
--------------------------------------------------------------
Video 6:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.11104131 0.88895869]]
--------------------------------------------------------------
Video 7:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.40926307 0.59073693]]
--------------------------------------------------------------
Video 8:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.36277347 0.63722653]]
--------------------------------------------------------------
Video 9:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.19732736 0.80267264]]
--------------------------------------------------------------
Video 10:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.58099942 0.41900058]]
--------------------------------------------------------------
Video 11:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.46247571 0.53752429]]
--------------------------------------------------------------
Video 12:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.65524777 0.34475223]]
--------------------------------------------------------------
Video 13:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.49770642 0.50229358]]
--------------------------------------------------------------
Video 14:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.13547512 0.86452488]]
--------------------------------------------------------------
Video 15:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.50686477 0.49313523]]
--------------------------------------------------------------
Video 16:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.11103591 0.88896409]]
--------------------------------------------------------------
Video 17:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.47635331 0.52364669]]
--------------------------------------------------------------
Video 18:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.28041656 0.71958344]]
--------------------------------------------------------------
Video 19:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.43090506 0.56909494]]
--------------------------------------------------------------
Video 20:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.17680154 0.82319846]]
--------------------------------------------------------------
Video 21:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.52004229 0.47995771]]
--------------------------------------------------------------
Video 22:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.09365312 0.90634688]]
--------------------------------------------------------------
Video 23:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.08392282 0.91607718]]
--------------------------------------------------------------
Video 24:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.08218549 0.91781451]]
--------------------------------------------------------------
Video 25:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.82316129 0.17683871]]
--------------------------------------------------------------
Video 26:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.16842775 0.83157225]]
--------------------------------------------------------------
Video 27:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.29855679 0.70144321]]
--------------------------------------------------------------
Video 28:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.52004229 0.47995771]]
--------------------------------------------------------------
Video 29:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.36277347 0.63722653]]
--------------------------------------------------------------
Video 30:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.71198425 0.28801575]]
--------------------------------------------------------------
Video 31:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.48724854 0.51275146]]
--------------------------------------------------------------
Video 32:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.03940756 0.96059244]]
--------------------------------------------------------------
Video 33:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.46592351 0.53407649]]
--------------------------------------------------------------
Video 34:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.18841222 0.81158778]]
--------------------------------------------------------------
Video 35:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.56522636 0.43477364]]
--------------------------------------------------------------
Video 36:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.53406384 0.46593616]]
--------------------------------------------------------------
Video 37:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.45503726 0.54496274]]
--------------------------------------------------------------
Video 38:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.36316131 0.63683869]]
--------------------------------------------------------------
Video 39:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.19414794 0.80585206]]
--------------------------------------------------------------
Video 40:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.48724854 0.51275146]]
--------------------------------------------------------------
Video 41:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.48724854 0.51275146]]
--------------------------------------------------------------
Video 42:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.1094155 0.8905845]]
--------------------------------------------------------------
Video 43:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.39390582 0.60609418]]
--------------------------------------------------------------
Video 44:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[[ 0.91410231 0.08589769]]
--------------------------------------------------------------
Video 45:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.12120241 0.87879759]]
--------------------------------------------------------------
Video 46:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.07060719 0.92939281]]
--------------------------------------------------------------
Video 47:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.45608309 0.54391691]]
--------------------------------------------------------------
Video 48:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.42956516 0.57043484]]
--------------------------------------------------------------
Video 49:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.48724854 0.51275146]]
--------------------------------------------------------------
Video 50:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[[ 0.48724854 0.51275146]]
--------------------------------------------------------------
</span>
<span id="b">
<h4 align="center">Classifier 3</h4>
------------------ SVM ----------------------
training mean accuracy:
0.8947125
mean and std dev for cross validation scores:
mean:
0.74685
std dev:
0.00491737989177
==============================================================
--------------------------------------------------------------
Video 1:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.17214906]
--------------------------------------------------------------
Video 2:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.56192269]
--------------------------------------------------------------
Video 3:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.84278608]
--------------------------------------------------------------
Video 4:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.26308925]
--------------------------------------------------------------
Video 5:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.49267279]
--------------------------------------------------------------
Video 6:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.81982732]
--------------------------------------------------------------
Video 7:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.14031487]
--------------------------------------------------------------
Video 8:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.4036761]
--------------------------------------------------------------
Video 9:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.4956285]
--------------------------------------------------------------
Video 10:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.48205753]
--------------------------------------------------------------
Video 11:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.40931014]
--------------------------------------------------------------
Video 12:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.53017746]
--------------------------------------------------------------
Video 13:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.13832706]
--------------------------------------------------------------
Video 14:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.74232218]
--------------------------------------------------------------
Video 15:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.04627128]
--------------------------------------------------------------
Video 16:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.53991599]
--------------------------------------------------------------
Video 17:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.29748252]
--------------------------------------------------------------
Video 18:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.69984093]
--------------------------------------------------------------
Video 19:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.0524058]
--------------------------------------------------------------
Video 20:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.12840342]
--------------------------------------------------------------
Video 21:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.22811269]
--------------------------------------------------------------
Video 22:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.54803971]
--------------------------------------------------------------
Video 23:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.56885348]
--------------------------------------------------------------
Video 24:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.37550411]
--------------------------------------------------------------
Video 25:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.61434488]
--------------------------------------------------------------
Video 26:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.76192232]
--------------------------------------------------------------
Video 27:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.90066597]
--------------------------------------------------------------
Video 28:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.22811269]
--------------------------------------------------------------
Video 29:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.4036761]
--------------------------------------------------------------
Video 30:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.23845097]
--------------------------------------------------------------
Video 31:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.01812744]
--------------------------------------------------------------
Video 32:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.93581093]
--------------------------------------------------------------
Video 33:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.11384984]
--------------------------------------------------------------
Video 34:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 1.01097513]
--------------------------------------------------------------
Video 35:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.70483938]
--------------------------------------------------------------
Video 36:
>> predicted label for this video:
[0]
>> predicted probability for this label assign to this video:
[-0.36530158]
--------------------------------------------------------------
Video 37:
>> predicted label for this video:
[1]
>> predicted probability for this label assign to this video:
[ 0.04838285]
--------------------------------------------------------------
Video 38:
>> predicted label for this video: