All language subtitles for 27. Matrix

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian Download
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,530 --> 00:00:01,680 Welcome back. 2 00:00:01,700 --> 00:00:12,950 I want to talk to you quickly about something called Matrix and a matrix is a way to describe 2D lists 3 00:00:13,190 --> 00:00:15,550 or multidimensional lists. 4 00:00:15,560 --> 00:00:16,730 What do I mean. 5 00:00:16,730 --> 00:00:25,010 Well I can create a matrix and this is a name that I just made so I can call it whatever I want but 6 00:00:25,010 --> 00:00:29,760 usually these are called Matrix in programming and it looks something like this. 7 00:00:29,780 --> 00:00:36,240 It's an array with another array inside of it so let's say for example 8 00:00:39,510 --> 00:00:52,700 I have one two three here and then another array one or listed two for six and then another array seven 9 00:00:53,030 --> 00:00:57,030 eight nine what's happening here. 10 00:00:57,040 --> 00:00:59,660 Well it's a two dimensional array. 11 00:00:59,770 --> 00:01:08,060 We have the main array and then we have sub arrays three arrays to be exact. 12 00:01:08,070 --> 00:01:10,590 Now why is this useful. 13 00:01:10,590 --> 00:01:15,330 And by the way this is two dimensional but we can have multiple ones. 14 00:01:15,360 --> 00:01:25,220 For example you can have another array inside of this array but why is this important these type of 15 00:01:25,220 --> 00:01:33,560 matrices come up a lot in topics like machine learning or image processing for example a computer doesn't 16 00:01:33,560 --> 00:01:36,820 really know what a photo of a dog is. 17 00:01:37,040 --> 00:01:40,210 The only thing it understands is zeros and ones. 18 00:01:40,250 --> 00:01:48,860 So a lot of photos for example let's say we had a very simple photograph of a giant X maybe this letter 19 00:01:48,890 --> 00:01:54,420 X well a computer can understand an image based on pixels on the screen. 20 00:01:54,530 --> 00:02:09,770 So maybe we can have 0 1 0 1 0 0 or sorry 1 here 0 here and then 1. 21 00:02:09,820 --> 00:02:16,870 And right now a computer can look at this and if this represented let's say a tiny little pixel here 22 00:02:17,170 --> 00:02:22,690 or maybe a pixel here or my screen the computer's going to say oh there's a one here. 23 00:02:22,690 --> 00:02:31,030 So that means I should make this green in this corner then dark here then green then dark green dark 24 00:02:31,330 --> 00:02:40,240 green dark green and a computer is able to draw let's say an X and this is a simple example and using 25 00:02:40,450 --> 00:02:46,240 matrices we can do a lot of these heavy calculations and that's how computers work underneath the hood 26 00:02:46,240 --> 00:02:51,910 when let's say for example it's trying to display something but the reason I wanted to talk about this 27 00:02:51,910 --> 00:03:01,390 here is when you want to access a multi dimensional list well you would do something like this let's 28 00:03:01,390 --> 00:03:13,650 say matrix access the first item in the matrix which in this case will be this first array because it's 29 00:03:13,650 --> 00:03:19,420 the first item and then let's say we want to access the zero in here or else change us to five. 30 00:03:20,070 --> 00:03:24,380 Well I'll do square brackets again and just do 0 1. 31 00:03:24,390 --> 00:03:28,540 So if I go one here and let's print that out 32 00:03:33,700 --> 00:03:37,860 and I click Run I get five. 33 00:03:38,000 --> 00:03:40,420 So it's accessing the first item in the array. 34 00:03:40,460 --> 00:03:46,790 So it's going to look at the first order array grab the first item which is right here and then grab 35 00:03:46,790 --> 00:03:49,250 the second item in that array. 36 00:03:49,310 --> 00:03:57,480 So 0 1 which is 5 and you can keep doing this if he had multi-dimensional arrays you can keep adding 37 00:03:57,480 --> 00:04:04,720 keep adding keep adding to access that information from an array or list. 38 00:04:04,720 --> 00:04:10,130 But remember in Python we want to use the term list I'll see in the next one. 39 00:04:10,310 --> 00:04:10,540 Bobby. 4226

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.