All language subtitles for 3. Numpy Random

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
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
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Everyone and welcome in this new with you in this video, we're going to see the run them modular off

the Nampai library.

Run them is very important.

When we walk in finance because a lot of things follow, run them process.

So it is very important to understand how to simulate some random number to walk in finance.

So let's begin by creating a random array, a one dimensional random array containing random value between

zero and one.

To do it, we need the library, then buy the module random and the function rent.

And here we put the number of one, the value that we want in one dimensional.

All right.

And now we have random value created by Nampai, but sometimes we want, for example, a two dimensional

array and it is necessary to transform a one dimensional way to a two dimensional.

All right.

So I will show you quickly how to do it because it is very important to note.

I just print the shape, the actual shape of all.

All right, then I will reshape it to reshape a one dimensional army in a two dimensional.

Right?

We just need to put an artificial column, so instead of being a number with a shape.

Six, for example, it will be a number with a hair shape.

Six rows and one column.

So to do it to just had artificially this column.

We are going to reshape this, all right, by putting minus one and one.

And now if?

I.

Print again, the shape

we can see that we have transformed our one dimensional right into a two dimensional RNA and decentralisation

change anything in the venue of the.

So it is very important to understand it to.

Then sometimes we want to create a new tinker to run them the value.

So to do it, we need to use.

The hammering them by them, would you run them and the function runs beneath?

So I want, for example, integral value between zero and 100.

So I put 100 and I need to put the site.

So if I want a matrix with five rows and five columns, I put a size of five five.

Then we are going to see how to simulate value from one of the best known and the best famous law of

probability in finance, which is the normal law, so to do it, we're going to use the random module

again and the normal function.

So we need to put the lock, which is the mean of the law.

Then this column, which is the standard deviation of this law and we need to put the size.

For example, if I want to create a one dimensional array, I put a size of six comma nothing.

And if I want a two dimensional art, for example, I can do, ladies.

Just put a number for the number of columns.

Then let me show you a very important thing when we walk with random, when we work with random number.

If I run again this cell, I have always another set of number.

But sometimes if, for example, we want

to, I don't know, share a little code or something else.

And you have to write, for example, or we with Frizzled, et cetera.

We need to set the scene to always have the same random number because if someone else want to verify

something in your code, it will have always.

No, so it will be very difficult to fix an issue, for example.

So sometimes you need to fix the seat of the sheets, so.

I just show you that with the same function, we have different results.

So now I will set the scene to.

And if and now we can see that all the time that we put there said it, all the number are the same.

So it is very important to understand because when you find some code on GitHub to create your own project,

et cetera, you will need to understand the code of their overall program.

So it will be very helpful to understand this function because must of containing it.

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