No video

Structure | Week 3 | 18.S191 MIT Fall 2020

  Рет қаралды 10,312

The Julia Programming Language

The Julia Programming Language

Күн бұрын

Пікірлер: 26
@G0NZA11
@G0NZA11 4 жыл бұрын
Is it me or the sound is only listened on the left?
@ymarat87
@ymarat87 3 жыл бұрын
If it hurts too much you can switch on "mono sound" in "ease of access sound settings" in Windows.
@Ganondurk
@Ganondurk 3 жыл бұрын
Here's a neat, concise definition of outer I just cooked up; outer(a, b) = a .* b'
@gabrieltrettel9005
@gabrieltrettel9005 4 жыл бұрын
my right ear is jealous
@dasayan05
@dasayan05 4 жыл бұрын
I have a question. Does Philip come to the lecture on his own or you bring him in ?
@tristanreid
@tristanreid 3 жыл бұрын
I know it's just an example, but it's funny to me that in the example of using CSC to efficiently store a sparse matrix, we're using 16 numbers to store a 3x3 matrix.
@pramodhgopalan1141
@pramodhgopalan1141 4 жыл бұрын
that SVD explanation though
@kessler222
@kessler222 3 жыл бұрын
the "Compressing matrices using outer products" was new to me and super cool :)!
@colin_hart
@colin_hart 2 жыл бұрын
This concept of breaking a matrix down to the sum of rank one outer product matrixes is covered in depth over many lectures in the first half of the OCW course 18.065 taught by Gilbert Strang.
@ZergD
@ZergD 4 жыл бұрын
Thank you very much !
@smalltimer666
@smalltimer666 4 жыл бұрын
Hi Alan the sound encoding is only mono!
@TheJuliaLanguage
@TheJuliaLanguage 3 жыл бұрын
Hopefully fixed? kzfaq.info/get/bejne/sNWFmLh4krnRZps.html
@_chip
@_chip 3 жыл бұрын
Thanks! Perhaps you could remove this video and replace it with the reupload?
@enisten
@enisten 3 жыл бұрын
@@TheJuliaLanguage Thanks! The course website still links to this mono video, by the way. computationalthinking.mit.edu/Fall20/lecture5/
@PhilBoswell
@PhilBoswell 3 жыл бұрын
@@TheJuliaLanguage thanks, could you fix the playlist to use that version?
@sippy_cups
@sippy_cups 4 жыл бұрын
Can you add the link to the repo in the description? I'd like to peep the notebook
@C4rb0neum
@C4rb0neum 3 жыл бұрын
See mitmath/18S191 on GitHub
@klaus-wernerdiederich5639
@klaus-wernerdiederich5639 3 жыл бұрын
It's great fun to reproduce the lecture with Pluto.jl. It would be nice to get hints which packages you are using. Most are trivial but which package does the "with_terminal" function come from?
@shashigowda5016
@shashigowda5016 3 жыл бұрын
github.com/mitmath/18S191/blob/master/lecture_notebooks/week3/01-structure.jl#L20-L24
@MichielDral
@MichielDral 3 жыл бұрын
That's from PlutoUI (github.com/fonsp/PlutoUI.jl)
@TolgaYilmaz1
@TolgaYilmaz1 4 жыл бұрын
Why is it that we have to write *Base.size(x::OneHot) = (x.n, )* and not just size(x::OneHot) = (x.n, )? Normally we just write size(vector) and it works. Why do we need to specify the library an attribute is coming from when defining a new type in Julia? I'm just trying to understand the logic here. What could go wrong if we were allowed to write just size(...) inside a struct, given that it works perfectly fine outside a struct?
@pertuck
@pertuck 3 жыл бұрын
In Julia, if you want to create new methods for a generic function defined in a separate module (like Base), usually you use Module.function syntax. If you want to *not* have to do that, you have to use the `import` keyword, which allows extending behavior by adding new methods. See the "Modules" section in the Julia manual for more details.
@enisten
@enisten 4 жыл бұрын
I can't get the factor function to work. Is the code correct for sure? When I try factor(outer([1,2,3], [2,2,2])), it tells me "Input is not a multiplication table". If you want to play with it, here's the code: outer(v, w) = [x*y for x ∈ v, y ∈ w] function factor(mult_table) v = mult_table[:, 1] w = mult_table[1, :] if v[1] != 0 w /= w/v[1] end if outer(v,w) == mult_table return v, w else error("Input is not a multiplication table") end end
@enisten
@enisten 4 жыл бұрын
Also, I think when v[1] = 0, leaving v and w unchanged in the code is not right. Consider v = [0, 1, 2, 3] and w = [1, 2, 3, 4], so mult_table = outer(v, w) = [[0, 0, 0, 0], [1, 2, 3, 4], [2, 4, 6, 8], [3, 6, 9, 12]]. You would not be able to factor this multiplication table using this code. It would try v = [0, 1, 2, 3] and w = [0, 0, 0, 0], and since the outer product (zero matrix) is not equal to the multiplication table, it would say "Input is not a multiplication table".
@TheJuliaLanguage
@TheJuliaLanguage 3 жыл бұрын
(If your sound is only in one speaker please click on over to kzfaq.info/get/bejne/sNWFmLh4krnRZps.html )
@mohammedgazem1486
@mohammedgazem1486 3 жыл бұрын
Tedata
Parallel Computing on Your Own Machine | Week 8 | 18.S191 MIT Fall 2020
21:12
The Julia Programming Language
Рет қаралды 14 М.
Introduction to macros | Week 3 | 18.S191 MIT Fall 2020
8:36
The Julia Programming Language
Рет қаралды 9 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 10 МЛН
Мы сделали гигантские сухарики!  #большаяеда
00:44
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 45 МЛН
Magic? 😨
00:14
Andrey Grechka
Рет қаралды 19 МЛН
Resistors, Equilibrium and Poisson's equation | Week 9 | 18.S191 MIT Fall 2020 | Alan Edelman
17:48
Functions and types: Multiple dispatch | Week 3 | 18.S191 MIT Fall 2020
7:22
The Julia Programming Language
Рет қаралды 8 М.
MIT Introduction to Deep Learning | 6.S191
1:09:58
Alexander Amini
Рет қаралды 501 М.
Graphs, trees, and spreading disease | Week 5 | MIT 18.S191 Fall 2020 | James Schloss [EDIT]
27:40
This is why Deep Learning is really weird.
2:06:38
Machine Learning Street Talk
Рет қаралды 383 М.
Necessity of complex numbers
7:39
MIT OpenCourseWare
Рет қаралды 2,6 МЛН
Intro to Julia Programming Language with Detroit Tech Watch
1:15:52
Altimetrik Collider
Рет қаралды 11 М.
1. Introduction to 'The Society of Mind'
2:05:54
MIT OpenCourseWare
Рет қаралды 1,4 МЛН
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 10 МЛН