- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.1-Intro-overview.mp4
- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4
- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.3-intro-indep.mp4
- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.4-intro-factors.mp4
- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.1-Repn-BN-semantics.mp4
- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.2-Repn-BN-patterns.mp4
- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.3-Repn-BN-activetrails.mp4
- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.4-Repn-BNs-dsep.mp4
- http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphica
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.1-Intro-overview.mp4 | |
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4 | |
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.3-intro-indep.mp4 | |
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.4-intro-factors.mp4 | |
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.1-Repn-BN-semantics.mp4 | |
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.2-Repn-BN-patterns.mp4 | |
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.3-Repn-BN-activetrails.mp4 | |
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.4-Repn-BNs-dsep.mp4 | |
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.5-Repn-B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> | |
<channel> | |
<title>PGM videos</title> | |
<item><title>1.1.1-Intro-overview.mp4</title><link>http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.1-Intro-overview.mp4</link><enclosure type="video/mp4" url="http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.1-Intro-overview.mp4" /></item> | |
<item><title>1.1.2-intro-distributions.mp4</title><link>http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4</link><enclosure type="video/mp4" url="http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4" /></item> | |
<item><title>1.1.2-intro-distributions.mp4</title><link>http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4</link><enclosure t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Hide certain messages from channel tracking | |
(setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE")) | |
; Hide these messages from all buffers | |
(setq erc-hide-list '("JOIN" "PART" "QUIT")) | |
(defun set-empty-hide-list-eggsml () | |
(if (equal "#eggsml" (buffer-name)) | |
(set (make-local-variable 'erc-hide-list) '()))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun chess idim = | |
let val dim = Real.fromInt idim | |
fun rep3 v = (v,v,v) | |
fun chess' (ii, ij) = | |
let val (i,j) = (Real.fromInt ii, | |
Real.fromInt (idim-ij)) | |
val s = 3.0/(j+99.0) | |
in (Real.round((i+dim)*s+j*s) mod 2 + | |
Real.round((dim*2.0-i)*s+j*s) mod 2)*127 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int colour = 0; | |
void setup() { | |
Serial.begin(9600); | |
} | |
void loop() { | |
colour = (colour + 1) % 255; | |
Serial.println(colour); | |
delay(10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tilstandsvariablen | |
lockState = "LOCKED" | |
# Tegner en lås givet (x,y) koordinat, størrelsesangivelse og | |
# en boolean open, der angiver om låsen skal tegnes som låst | |
# eller åben (True = Åben) | |
def drawLock(x, y, size, open): | |
fill(0) | |
rect(x-1.3*size/2,y-size/2, 1.3*size, size, size/10) | |
noFill() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import machine | |
import time | |
# Python version of | |
# https://www.arduino.cc/reference/en/language/functions/advanced-io/pulsein/ | |
# returns duration in MICRO seconds | |
def pulseIn(pin, value): | |
# Wait till we hit the wanted value | |
while pin.value() != value: | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import machine | |
import time | |
import network | |
import urequests | |
# Function to connect to a specific wifi network | |
def connectToWifi(wifi, essid, password, timeout): | |
if not wifi.isconnected(): | |
print("Connecting to WiFi network...") | |
wifi.connect(essid, password) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def enter_raw_repl(self): | |
# Brief delay before sending RAW MODE char if requests | |
if _rawdelay > 0: | |
time.sleep(_rawdelay) | |
self.serial.write(b'\x02') # ctrl-B: exit RAW repl | |
time.sleep(0.5) | |
self.serial.write(b'\x03') # ctrl-C | |
time.sleep(0.5) | |
self.serial.write(b'\r\x03\x03') # ctrl-C twice: interrupt any running program |
OlderNewer