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
""" | |
On Training, this scored 0.736 | |
Magnitude: 3 default, NO synonyms, 3 lemmas, 4 Correct | |
When Leaf = 30 & Depth = 20 | |
False: 78% as 1401 and True: 40% as 86 | |
On Training, this scored 0.733 | |
Magnitude: 3 default, 0.5 synonyms, 3 lemmas, 4 Correct | |
When Leaf = 30 & Depth = 20 |
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
""" outlier_packaged.py -------------------------------------------------------- | |
Goal: Importing two pickled data sets (with either the 'X' or 'Y' values), | |
we'll remove 10% of the outliers, which are those with the largest | |
error between the predictions made by our regression model vs. the | |
actual values. | |
Input: No traditional input argument but the user should put the | |
practice_outliers_ages.pkl & practice_outliers_net_worths.pkl (or | |
the pickled data set we're using) in the same folder as this file. | |
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
""" Bokeh (NYC Subway) --------------------------------------------------------- | |
Goal: This script takes the NYC Subway data & parses it for visualization | |
techniques. | |
Input: http://web.mta.info/developers/performance.html has performance XML | |
data. We only cover subway and we only care for these metrics: | |
1. Subway wait assessment for all lines | |
Actual interval between trains | |
2. Mean Distance Between Failure | |
Miles until a train hits a mechanical failure causing a delay |
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
%% Matthew Widjaja. | |
% Eulers Method Function | |
% Instructions: Run the function from OneMATLAB.m | |
%% Function | |
% This is the function used for OneMATLAB.m | |
function f = f(c) | |
global volumeV areaA baseFlowQ sediFlowM sediVelocityVs |
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
%% Matthew Widjaja | |
% Environmental Modeling -- Program 1 | |
% Parking Lot & Lake | |
clear t c | |
format short | |
global volumeV areaA baseFlowQ sediFlowM sediVelocityVs | |
%% Obtain Data |
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
#include <mysql.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
// #include <dislin.h> | |
#include "/Users/Matthew/dislin/examples/dislin.h" | |
/* --- PROJECT 5/6: MYSQL & DISLIN INTEGRATION --- | |
This project was created by Matthew Widjaja. Nov 2013. |
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
/* | |
Matthew Widjaja | |
Project 2: Pendulum Program | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
int main() |
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
/* | |
Matthew Widjaja | |
Project 1: Nelder Mead Numerical Optimization | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
main() |