This file contains hidden or 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
| /* classify.ino | |
| ** Processing Integration sketch for SIXT33N Music version | |
| ** | |
| ** EE16B Spring 2016 | |
| ** Emily Naviasky & Nathaniel Mailoa | |
| ** | |
| */ | |
| #include "./fix_fft.c" | |
| #define MIC_INPUT P6_0 |
This file contains hidden or 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
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: autograder <email>" | |
| exit 1 | |
| fi | |
| EMAIL=$1 | |
| echo $EMAIL | java editorTester.AGInitialCursorTest gradescope | |
| echo $EMAIL | java editorTester.AGSimpleTextTest gradescope | |
| echo $EMAIL | java editorTester.AGBackspaceTest gradescope | |
| echo $EMAIL | java editorTester.AGArrowKeyTest gradescope | |
| echo $EMAIL | java editorTester.AGNewlineTest gradescope |
This file contains hidden or 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
| #=============EXAMPLE=============== | |
| def compare(t, conditions, values): | |
| """Overlay histograms of values for two conditions.""" | |
| t['count'] = 1 | |
| e = t.pivot(conditions, values, 'count', sum) | |
| for label in e.column_labels[1:]: | |
| e[label] = e[label]/sum(e[label]) # Normalize each column of counts | |
| e.hist(counts=values, normed=True, overlay=True) | |
| compare(couples, 'mar_status', 'age') |
NewerOlder