Skip to content

Commit

Permalink
Merge branch 'main' of github.com:shensquared/gradML
Browse files Browse the repository at this point in the history
  • Loading branch information
lkaelbling committed Aug 19, 2024
2 parents 0fcfe23 + 285ce67 commit bda66c1
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 102 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy

on:
push:
branches:
- main
- dev

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Execute Commands on Remote Server
run: |
mkdir -p ~/.ssh
echo "${{ secrets.PUBLIC_KEY }}" > ~/.ssh/id_rsa.pub
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/id_rsa
ssh -p ${{ secrets.REMOTE_PORT }} -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }} << 'EOF'
export PATH="/home/shensquared/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
cd /home/shensquared/gradML
echo "Running on main branch"
git pull origin main
bundle exec jekyll build
elif [[ "${{ github.ref }}" == "refs/heads/dev" ]]; then
cd /home/shensquared/gradML_dev
echo "Running on dev branch"
git pull origin dev
bundle exec jekyll build --config _config.yml,_config_dev.yml
fi
EOF
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ source "https://rubygems.org"
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.3.2"
gem "jekyll", "~> 4.3.3"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
gem "jekyll-default-layout"
gem "jekyll-default-layout", "~> 0.1.5"
gem "just-the-docs"
# gem "jekyll-pandoc"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
Expand Down
47 changes: 27 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
bigdecimal (3.1.8)
colorator (1.1.0)
concurrent-ruby (1.2.2)
concurrent-ruby (1.3.4)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
forwardable-extended (2.6.0)
google-protobuf (3.23.2-arm64-darwin)
google-protobuf (3.23.2-x86_64-linux)
google-protobuf (4.27.3-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.27.3-x86_64-linux)
bigdecimal
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jekyll (4.3.2)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand Down Expand Up @@ -53,7 +59,7 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
Expand All @@ -63,21 +69,22 @@ GEM
jekyll-seo-tag (~> 2.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.1)
public_suffix (6.0.1)
rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (4.1.2)
rexml (3.3.5)
strscan
rouge (4.3.0)
safe_yaml (1.0.5)
sass-embedded (1.63.3-arm64-darwin)
google-protobuf (~> 3.23)
sass-embedded (1.63.3-x86_64-linux-gnu)
google-protobuf (~> 3.23)
sass-embedded (1.77.8)
google-protobuf (~> 4.26)
rake (>= 13)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
Expand All @@ -87,8 +94,8 @@ PLATFORMS

DEPENDENCIES
http_parser.rb (~> 0.6.0)
jekyll (~> 4.3.2)
jekyll-default-layout
jekyll (~> 4.3.3)
jekyll-default-layout (~> 0.1.5)
jekyll-feed (~> 0.12)
jekyll-last-modified-at (~> 1.3.2)
just-the-docs
Expand Down
73 changes: 0 additions & 73 deletions _hook/webhook.py

This file was deleted.

6 changes: 3 additions & 3 deletions _sass/custom/staffer.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.staff-row{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
grid-gap: 20px;
grid-gap: 38px;
}

.staffer {
display: flex;
margin: $sp-4 0;
margin: $sp-5 0;

.staffer-image {
border-radius: 100%;
height: 100px;
margin-right: $sp-4;
margin-right: $sp-2;
width: auto;

// border: 1px solid silver;
Expand Down
9 changes: 5 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,19 @@ has_toc: false
<br>

## Course sites

<ul>
<li> For technical questions: Please read/post publicly on <a href="https://piazza.com/class/lzy7kgi6f2n4fs/"><b>Piazza</b></a>
<li> For personal or administrative questions: Please post privately on <a href="https://piazza.com/class/lzy7kgi6f2n4fs/"><b>Piazza</b></a>
<li> For technical questions: Please read/post publicly on <a href="https://piazza.com/class/lzy7kgi6f2n4fs/"><b>Piazza</b></a></li>
<li> For personal or administrative questions: Please post privately on <a href="https://piazza.com/class/lzy7kgi6f2n4fs/"><b>Piazza</b></a></li>
<li> For class or section enrollment information: Please check <a href="https://canvas.mit.edu/courses/28217"><b>Canvas</b></a></li>
</ul>

<br>

## Course Overview

- Probabilistic foundations of machine learning; offered in fall semesters; 12 units (3-0-9)
- Prerequisites:
- Introductory machine learning (at the level of [6.390](http://introml.mit.edu) or [6.370](http://student.mit.edu/catalog/m6c.html#6.3700) or [6.C01](http://student.mit.edu/catalog/m6e.html#6.C01))
- Introductory machine learning (at the level of [6.390](https://introml.mit.edu) or [6.370](http://student.mit.edu/catalog/m6c.html#6.3700) or [6.C01](http://student.mit.edu/catalog/m6e.html#6.C01))
- Linear algebra (at the level of [18.06](https://github.com/mitmath/1806) or [18.C06](https://canvas.mit.edu/courses/16629))
- Probability (at the level of [6.3700](https://ocw.mit.edu/courses/6-041-probabilistic-systems-analysis-and-applied-probability-fall-2010/pages/readings/), [6.3800](http://student.mit.edu/catalog/m6c.html#6.3800), or [18.600](https://math.mit.edu/~sheffield/spring2022math600.html))
- Brief description: Probabilistic thinking is critical to understanding machine learning, in techniques ranging from classic linear models to modern deep networks. We will study model representation, generalization, learning algorithms, and model-selection with mathematical rigor as well as an emphasis on how to apply these methods in applications with real-world consequence.
Expand Down

0 comments on commit bda66c1

Please sign in to comment.