Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More strict quantize() check for Homework 1 #39

Closed
wants to merge 183 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
d9e78d7
Create Lecture 1 - Images.jl
fonsp Sep 3, 2020
3a7957c
Merge remote-tracking branch 'origin/master'
shashi Sep 3, 2020
52910d4
update prepath
shashi Sep 3, 2020
914dd0c
lecture 2 page
shashi Sep 3, 2020
8c9a604
lecture 2 title
shashi Sep 3, 2020
4d2e1d8
ls pwd in jl
shashi Sep 3, 2020
c2a8eec
redirect to Fall20
shashi Sep 3, 2020
911567e
full-bodied html
shashi Sep 3, 2020
6e379ff
Update README.md (#6)
sbhhdp Sep 3, 2020
533815d
link to course-materials.md and back to website
shashi Sep 3, 2020
38c2b59
Merge remote-tracking branch 'origin/master'
shashi Sep 3, 2020
6bf77cf
[ci skip] blurb
shashi Sep 3, 2020
d3e93d4
Update course-materials.md
shashi Sep 3, 2020
4ab61f2
itempool link
shashi Sep 3, 2020
7fbf7b8
Merge remote-tracking branch 'origin/master'
shashi Sep 3, 2020
394c683
edit segment heading
shashi Sep 3, 2020
bbca878
poll iframe
shashi Sep 3, 2020
3261f75
html itempool
shashi Sep 3, 2020
591eb59
Revert "html itempool"
shashi Sep 3, 2020
83f4e27
Revert "poll iframe"
shashi Sep 3, 2020
c64ced6
emph
shashi Sep 3, 2020
542f793
vspace
shashi Sep 3, 2020
902f05a
google analytics
shashi Sep 3, 2020
fd0d13d
basic julia syntax
shashi Sep 3, 2020
850e5f6
cheatsheets
shashi Sep 3, 2020
f9d23a2
smaller extras
shashi Sep 3, 2020
af6a64a
Fall 2020
shashi Sep 3, 2020
64c968c
check in hw1.jl
shashi Sep 3, 2020
78242e5
hw1 website links
shashi Sep 3, 2020
19a48d5
hw1
shashi Sep 3, 2020
aa6bc55
time
shashi Sep 3, 2020
f87a708
hw1 - Autograder fixes
fonsp Sep 3, 2020
8aa909d
piazza -> canvas
shashi Sep 3, 2020
c2a04c3
Merge remote-tracking branch 'origin/master'
shashi Sep 3, 2020
9ec5f2d
hw1 - tweak
fonsp Sep 3, 2020
0eafae7
Adding explicit definitions for Gaussian and Sobel filters
leios Sep 3, 2020
5f1a580
Update hw1.jl
fonsp Sep 3, 2020
a7893c5
Merge pull request #7 from mitmath/leios-patch-1
fonsp Sep 3, 2020
4026e04
hw1 - update version number
fonsp Sep 3, 2020
c325475
hw1 - variable naming conflict hint
fonsp Sep 3, 2020
8dcf131
Update hw1.jl
dpsanders Sep 3, 2020
7677d67
Update hw1
dpsanders Sep 3, 2020
1d799eb
Merge pull request #8 from mitmath/dps/hw1
dpsanders Sep 3, 2020
0fe312c
hw1 - redo hint
fonsp Sep 3, 2020
c285c9c
update hw1.html
shashi Sep 3, 2020
5d424c0
Merge remote-tracking branch 'origin/master'
shashi Sep 3, 2020
41a93a5
homework1 caption stuff
shashi Sep 4, 2020
867fc72
lecture1 updates
shashi Sep 4, 2020
94243e7
fix ga
shashi Sep 4, 2020
cca9da9
add juliadocs cheatsheet
shashi Sep 4, 2020
7495072
Update index.md
dpsanders Sep 4, 2020
d825a7c
Update index.md
fonsp Sep 5, 2020
35f7647
Update README.md
fonsp Sep 5, 2020
ab0771d
Merge pull request #10 from mitmath/discordlink
fonsp Sep 5, 2020
209254b
Update page_foot.html
tasneemkoushar Sep 5, 2020
bafd8b6
Update page_foot.html
tasneemkoushar Sep 6, 2020
3e99844
Delete course-materials.md (#13)
fonsp Sep 6, 2020
1074e5e
Fix old course material links (#15)
fonsp Sep 6, 2020
0ad5c83
lecture 3
shashi Sep 8, 2020
fcfd5b0
sidebar lec3
shashi Sep 8, 2020
95cad41
david's views
shashi Sep 8, 2020
68e5631
Add files via upload
3b1b Sep 8, 2020
5d890de
grant
shashi Sep 8, 2020
6029eb3
Merge pull request #17 from mitmath/s/lec3
shashi Sep 8, 2020
7aa1cb2
pluto notebooks
shashi Sep 8, 2020
17bee47
mit time
shashi Sep 8, 2020
cf930a3
Update gradient.jl
fonsp Sep 8, 2020
d46a520
grant first
shashi Sep 8, 2020
1d64f7e
Merge remote-tracking branch 'origin/master'
shashi Sep 8, 2020
ed5a5fe
Update seam_carving.jl
fonsp Sep 8, 2020
f5fde7b
Fix URL (#18)
Dictino Sep 9, 2020
8097e9f
seam carving notebook - environment fix
fonsp Sep 10, 2020
98ce3b3
seam carbing - dropdown for image
fonsp Sep 10, 2020
e02f034
hw2 wip
shashi Sep 10, 2020
8991196
Homework boilerplate
fonsp Sep 10, 2020
2916412
nothing much
fonsp Sep 10, 2020
274fe8b
google i mean pluto colab
fonsp Sep 10, 2020
345c134
lecture4 page
shashi Sep 10, 2020
d6417c3
Merge remote-tracking branch 'origin/master'
shashi Sep 10, 2020
6898722
fix notebook url
musabkilic Sep 10, 2020
f56a6f3
Update hw2.jl
fonsp Sep 10, 2020
1796372
update
shashi Sep 10, 2020
a545f37
more previews
shashi Sep 11, 2020
6a26839
hw 2
shashi Sep 11, 2020
b06020b
hw2
shashi Sep 11, 2020
d04a0e5
update sidebar
shashi Sep 11, 2020
4e4ba5a
Replace wrong notebook url on Lecture 3 (#19)
musabkilic Sep 11, 2020
9e41c81
Fixed error in hw1.jl (#20)
jin-park Sep 11, 2020
c51d8ea
fix move
shashi Sep 11, 2020
5908ca1
Merge remote-tracking branch 'origin/master'
shashi Sep 11, 2020
cd75055
update mentions of urls
shashi Sep 11, 2020
231f145
fix recursive_n
shashi Sep 12, 2020
ef4e562
Update hw1.jl
fonsp Sep 12, 2020
7f1b5ea
Merge pull request #11 from tasneemkoushar/master
shashi Sep 12, 2020
0aa08ee
HW1->HW2
shashi Sep 12, 2020
50daec8
big o
shashi Sep 12, 2020
d57e1f8
Merge remote-tracking branch 'origin/master'
shashi Sep 12, 2020
3f2cc26
pika updates
shashi Sep 12, 2020
826e94d
update version
shashi Sep 12, 2020
a613184
recursive can't handle img
shashi Sep 12, 2020
336c34f
Franklin instructions
fonsp Sep 14, 2020
47f61c1
git gut
fonsp Sep 14, 2020
0cd363a
git bad
fonsp Sep 14, 2020
e035917
spiced up footer
fonsp Sep 14, 2020
010fc52
more links for seo
fonsp Sep 14, 2020
befcf89
scroll sidebar
fonsp Sep 14, 2020
c686e8a
Merge pull request #27 from mitmath/monday
fonsp Sep 14, 2020
950535e
Update README.md
fonsp Sep 14, 2020
9bb65d7
reorg with redirect
shashi Sep 14, 2020
f2f467c
Merge remote-tracking branch 'origin/master'
shashi Sep 14, 2020
c3baf4c
redir from /Fall20
shashi Sep 14, 2020
01c2b19
Revert "redir from /Fall20"
shashi Sep 14, 2020
1230409
Revert "reorg with redirect"
shashi Sep 14, 2020
07c14e3
add some video ids
shashi Sep 15, 2020
d57ad21
Lecture 5 and a checkbox to stop live play
shashi Sep 15, 2020
123cf3b
lecture5.md
shashi Sep 15, 2020
fc278b5
sidebar lec 5
shashi Sep 15, 2020
56d5d42
titles
shashi Sep 15, 2020
d0b7247
add a LIVE highlight for lecture in sidebar
shashi Sep 15, 2020
85c9b84
structure
shashi Sep 15, 2020
908e333
lect5
shashi Sep 15, 2020
9817bdc
Merge pull request #31 from mitmath/s/lec5
shashi Sep 15, 2020
c60273d
Update lecture5.md
shashi Sep 15, 2020
cef5eee
structure
shashi Sep 16, 2020
cb1f9a6
lecture6
shashi Sep 17, 2020
82b38f1
i did a bad
shashi Sep 17, 2020
67caa4c
understanding
shashi Sep 17, 2020
8fc7c05
Update lecture6.md
eduardodut Sep 17, 2020
120ea8e
Merge pull request #32 from eduardodut/patch-1
fonsp Sep 18, 2020
1b6033b
Create hw3.jl
fonsp Sep 21, 2020
72b28fd
hw3.html
fonsp Sep 21, 2020
b4d9af3
hw3 release
fonsp Sep 21, 2020
273609f
tweaks
fonsp Sep 21, 2020
2c5f06c
attempt to fix PkgPage issue
fonsp Sep 21, 2020
61ef427
Update page_foot to "built with Franklin and the Julia programming lang"
tlienart Sep 21, 2020
3df2f2e
remove need for PkgPage
tlienart Sep 21, 2020
4793154
Merge pull request #33 from mitmath/tlienart-pagefoot
fonsp Sep 21, 2020
cad7c2a
Merge pull request #34 from mitmath/tlienart-deploy
fonsp Sep 21, 2020
cbb9c19
forgot a semicolon
tlienart Sep 21, 2020
1d1c841
Merge pull request #35 from mitmath/tlienart-deploy2
fonsp Sep 21, 2020
344d492
this is embarrassing...
tlienart Sep 21, 2020
cd37431
continuations -> completions
fonsp Sep 21, 2020
22fe6dc
Fix Typo
laksh225 Sep 21, 2020
a885fb5
Merge pull request #36 from mitmath/tlienart-deploy3
fonsp Sep 21, 2020
7045a37
Merge pull request #37 from laksh225/patch-1
fonsp Sep 21, 2020
c1a6867
2020 -> 20
tlienart Sep 21, 2020
bdbc29b
address is case-sensitive
tlienart Sep 21, 2020
c4f3fdb
fall -> Fall
tlienart Sep 21, 2020
ad8d59f
Before I Forget
shashi Sep 21, 2020
8b15f45
week1 notebooks
shashi Sep 21, 2020
96f0269
week 1 lectures
shashi Sep 21, 2020
3fecf5e
mv week2
shashi Sep 21, 2020
debd2ea
mv week2 gradient
shashi Sep 21, 2020
00e38b4
week3
shashi Sep 21, 2020
8b5cc04
better unaccent implementation in homework 3 (#38)
stevengj Sep 21, 2020
4ad57d4
fixed row/column th/ht confusion
fonsp Sep 21, 2020
d4dccd3
Create functions are objects.jl
fonsp Sep 22, 2020
6383a16
Rename functions are objects.jl to 04-functions-are-objects.jl
shashi Sep 22, 2020
d6b2654
lec7
shashi Sep 22, 2020
dc2e718
Merge remote-tracking branch 'origin/master'
shashi Sep 22, 2020
405a543
LIVE
shashi Sep 22, 2020
1c0df02
covid data video
shashi Sep 22, 2020
c444855
reorder segments
shashi Sep 22, 2020
28f2ee4
title
shashi Sep 22, 2020
65f2540
introspection nb
shashi Sep 22, 2020
0093086
Rename introspection.jl to 01-introspection.jl
shashi Sep 22, 2020
292daf1
Add files via upload
shashi Sep 22, 2020
1804f94
Rename covid_data.jl to 02-covid_data.jl
shashi Sep 22, 2020
f175645
dataframes
shashi Sep 22, 2020
f83cee8
Merge remote-tracking branch 'origin/master'
shashi Sep 22, 2020
f8d43bf
lecture notebooks link
shashi Sep 22, 2020
a3130ea
Add files via upload
shashi Sep 22, 2020
e08a233
Rename Structure in data (1).jl to 02-structure-in-data-PCA.jl
shashi Sep 22, 2020
ba354f5
reord
shashi Sep 22, 2020
f93bc56
Merge remote-tracking branch 'origin/master'
shashi Sep 22, 2020
9c10377
Merge branch 'master' of https://github.com/mitmath/18S191 into master
musabkilic Sep 22, 2020
f1fdd0d
hide live
shashi Sep 24, 2020
3b7214d
lec 8
shashi Sep 24, 2020
e31326d
Add files via upload
shashi Sep 24, 2020
526e104
Rename probability.jl to 04-probability.jl
shashi Sep 24, 2020
07452fb
Rename 04-functions-are-objects.jl to 03-functions-are-objects.jl
shashi Sep 24, 2020
6fc0983
Merge branch 'master' of https://github.com/mitmath/18S191 into master
musabkilic Sep 25, 2020
c0ad61a
more strict quantize check on hw1
musabkilic Sep 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
page/* linguist-vendored
* text=auto
21 changes: 14 additions & 7 deletions .github/workflows/DeployPage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,23 @@ jobs:
# `@def prepath = "YourPackage.jl/web"`
- run: julia -e '
using Pkg;
Pkg.add(["NodeJS", "JSON", "Franklin", "PkgPage"]);
Pkg.add(["NodeJS", "JSON", "Franklin"]);
using NodeJS;
run(`$(npm_cmd()) install highlight.js purgecss`);
import PkgPage;
PkgPage.optimize(input="website", output="Fall20");
ls;
pwd;'
cd("website");
run(`$(npm_cmd()) install highlight.js`);
using Franklin;
optimize();
mkdir("__site2");
mv("__site", "__site2/Fall20");
write("__site2/index.html", """
<!DOCTYPE html>
<html>
<head><meta charset="utf-8"><script>
window.location.href=\"Fall20\"</script></head>
<body></body></html>""");'
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SSH: true
BRANCH: gh-pages
FOLDER: website/__site
FOLDER: website/__site2
43 changes: 24 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
# 18.S191: Introduction to computational thinking for real-world problems

<p align="center"><a href="https://github.com/mitmath/18S191/blob/master/course-materials.md"> <b>Go to Lectures and Problem Sets</b> :balloon:</a></p>
<p align="center"><a href="https://computationalthinking.mit.edu/Fall20"> <b>Go to course website</b> :balloon:</a></p>

## Fall 2020 (9 Units)
Welcome to the new **18.S191** course!

Welcome to the new MIT course 18.S191!
This is an introductory course on Computational Thinking. We use the [Julia programming language](http://www.julialang.org) to approach real-world problems in varied areas applying data analysis and computational and mathematical modeling. In this class you will learn computer science, software, algorithms, applications, and mathematics as an integrated whole.

This is an introductory course on Computational Thinking, using the modern [Julia programming language](http://www.julialang.org), to approach real-world problems in the following areas via data analysis and computational and mathematical modeling. In this class you will learn applications, computer science, software, algorithms, and mathematics as an integrated whole.
Topics include:

- Image analysis
- Particle dynamics and ray tracing
- Epidemic propagation
- Climate modeling


### Course Materials
Course materials will be posted [here](course-materials.md).

Julia learning materials may be found [here](http://www.julialang.org/learning)

<!--

Please help edit the automatically-generated subtitles in the [lecture transcripts](https://drive.google.com/drive/folders/1ekXz8x78qnq3G-_MhOh6CYgFDbL2G6Vz)!
If you do so, please add punctuation, and please change the colour of the part you edited to a colour other than black, and different from the previous and next sections. -->

## Professors
[Alan Edelman](http://math.mit.edu/~edelman), [David P. Sanders](http://sistemas.fciencias.unam.mx/~dsanders/), [Grant Sanderson](https://www.3blue1brown.com/about), & [James Schloss](https://eapsweb.mit.edu/people/jars)
[Alan Edelman](http://math.mit.edu/~edelman), [David P. Sanders](http://sistemas.fciencias.unam.mx/~dsanders/), [Grant Sanderson](https://www.3blue1brown.com/about), [James Schloss](https://eapsweb.mit.edu/people/jars), [Benoit Forget](https://web.mit.edu/nse/people/faculty/forget.html)

### Course Material

The course material includes **recorded lectures** and **Pluto notebooks**, these are available on the [course website](https://computationalthinking.mit.edu/Fall20), which will be updated regularly.

Every week comes with a problem set where you apply the material to a real problem. Homework sets are **interactive [Pluto notebooks](https://github.com/fonsp/Pluto.jl)** - you get automatic visualizations and verification while you work on your code.

Julia learning materials may be found [here](http://www.julialang.org/learning)

## Logistics
TR 2:30&ndash;3:30pm, online

- Tuesdays: Prerecorded videos, released on YouTube (link to follow later)
TR 2:30&ndash;3:30pm Eastern, online (Go to the lecture page on this site to stream it.)

- Tuesdays: Prerecorded videos, released on YouTube and played live on this site.

- Thursdays: Live sessions (same YouTube link 2:30&ndash;3) and MIT-only discussion (3-3:30); link to follow

Expand All @@ -39,14 +43,12 @@ Start date: September 1, 2020
Office hours TBD.




### Discussion forum and homework submission
- [Discord](https://discord.gg/amhdfp): discussion
- [Discord](https://discord.gg/Z5qnVf8): discussion (we encourage you to hang out here during class!)

- [Piazza](https://piazza.com/class/kd33x1xnfyq3b1): allows for anonymity to other students, discussion
- [Piazza](https://piazza.com/class/kd33x1xnfyq3b1): (MIT only) allows for anonymity to other students, discussion

- [Canvas](https://canvas.mit.edu/courses/5637): homework submission
- [Canvas](https://canvas.mit.edu/courses/5637): (MIT only) homework submission. If you're a non-MIT student, please find a partner to cross-grade homeworks via Discord.


### Evaluation
Expand All @@ -57,7 +59,10 @@ Office hours TBD.

* No exams

Problem sets consist of coding and will be submitted online via Canvas.
Problem sets consist of code. MIT students enrolled in the course must submit homeworks via Canvas. If you are not a student then we encourage you to join the Discord and find a cross-grading partner.
<!--

Please help edit the automatically-generated subtitles in the [lecture transcripts](https://drive.google.com/drive/folders/1ekXz8x78qnq3G-_MhOh6CYgFDbL2G6Vz)!
If you do so, please add punctuation, and please change the colour of the part you edited to a colour other than black, and different from the previous and next sections. -->

<p align="center"><a href="https://github.com/mitmath/18S191/blob/master/course-materials.md"> <b>Go to Lectures and Problem Sets</b> :balloon:</a></p>
<p align="center"><a href="https://computationalthinking.mit.edu/Fall20"> <b>Go to course website</b> :balloon:</a></p>
38 changes: 0 additions & 38 deletions course-materials.md

This file was deleted.

773 changes: 773 additions & 0 deletions homework/homework1/hw1.html

Large diffs are not rendered by default.

Loading