All language subtitles for 3. SETSEED

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
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

0 Next we discuss an important concept of setting seed 1

So when we are running random functions it will be always giving us random values 2

That random value is being generated through a function 3

If you give it an input through a seed it will give a particular value to you 4

So seed 5

Comes to use many times 6

For example if you have set of random values and you want to get the same set of random values again you'll set a 7

seed before getting random values 8

If I am teaching and I am showing you an example 9

And my example has some random values and If I want you to have the same random values 10

I will set the sead 11

And I'll let you know what is the value of that seed so that you can set the same seed 12

We both will get the same random values 13

This is what we will do in the example also we will set seed 14

And both of us will get the same values 15

Seed value can be between -1 to 1 16

And both of them can be included 17

and it can have any decimal value also 18

So, this is how we set a seed 19

We will write select set seed of 20

Point 5 21

Once you have set the seed 22

When you run the random function it will give you a particular value 23

Every time you run 24

The random function after setting seed at .5 it will give you the same random value 25

The second time you run the random function, it will give you new value 26

But this value will 27

Always remain same what this means is, whenever you set the seed to 0.5 the first random 28

Function will give you same value, the second random function will give you a different value 29

than the 1st random function but it will be always same 30

If you do not understand this, let us look at an example you will get what I am trying to say 31

So let us first select setseed to 0.5 32

Setseed has Run successfully 33

Now let us 34

run the random function. select random 35

So this gives a random value of .5500 36

25. Let us write this is as a comment so that we remember it 37

Now run the random function again 38

So it is now given a value of 39

0.29531 40

Now let us set 41

Seed again 42

Write select set seed 0.5 43

Now the seed is again back to .5 44

Now when we run the random function 45

we'll get 46

The same value 47

I hope if you are doing it with me you are getting the same values as I am 48

let us run the random function again 49

This will be same as 50

.295311 51

So this is what setting seed helps you do. It helps to get 52

the same set of random values 53

So that you can repeat the calculations

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