Skip to content

Commit

Permalink
Corrected labs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc committed Jul 27, 2016
1 parent 9fa03dd commit 2362563
Show file tree
Hide file tree
Showing 12 changed files with 790 additions and 578 deletions.
Binary file modified cs120_autograder_complete.dbc
Binary file not shown.
Binary file modified cs120_autograder_register.dbc
Binary file not shown.
Binary file modified cs120_autograder_simpler.dbc
Binary file not shown.
Binary file modified cs120_lab0.dbc
Binary file not shown.
Binary file modified cs120_lab1a_math_review.dbc
Binary file not shown.
Binary file modified cs120_lab1b_word_count_rdd.dbc
Binary file not shown.
Binary file modified cs120_lab2_linear_regression_df.dbc
Binary file not shown.
2 changes: 1 addition & 1 deletion cs120_lab2_linear_regression_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def squared_error(label, prediction):
.collect())
error = np.asarray(parsed_val_data_df
.rdd
.map(lambda lp: (average_train_year, lp.label))
.map(lambda lp: (lp.label, average_train_year))
.map(lambda (l, p): squared_error(l, p))
.collect())
norm = Normalize()
Expand Down
Binary file modified cs120_lab3_ctr_df.dbc
Binary file not shown.
1,117 changes: 625 additions & 492 deletions cs120_lab3_ctr_df.py

Large diffs are not rendered by default.

Binary file modified cs120_lab4_pca.dbc
Binary file not shown.
249 changes: 164 additions & 85 deletions cs120_lab4_pca.py

Large diffs are not rendered by default.

0 comments on commit 2362563

Please sign in to comment.