Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finished #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
141 changes: 15 additions & 126 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
# Name

write-your-name
Nikita Voskoboynik

# How many points have you earned?

0/100
55/100

(Make your own calculation and replace the number 0 with the points you think you've earned.)

# How many hours have you spent on this?

fill-in-your-answer
8 hours

# When did you first start working on this week's learning challenges?

fill-in-your-answer
Computer was broken so I did some before the deadline, but had to finish it after.

# What is the most difficult part about this week's challenge?

fill-in-your-answer
Couldn’t write scripts for 2nd half of mongo challenge.

# Graph Database I

## Checkpoints (5 points x 3 = 15 points)

### 1. (5 point)

![screenshot](screenshot.png)
[Imgur](http://i.imgur.com/rLomnaU.png)

### 2. (5 point)

![screenshot](screenshot.png)
[Imgur](http://i.imgur.com/RVHGFAW.png)

### 3. (5 point)

![screenshot](screenshot.png)
[Imgur](http://i.imgur.com/hsC7Q2A.png)

# MongoDB IV

Expand All @@ -44,32 +44,31 @@ fill-in-your-answer

Count

![screenshot](screenshot.png)
[Imgur](http://i.imgur.com/1FCekaI.jpg)

FindOne

![screenshot](screenshot.png)

[Imgur](http://i.imgur.com/tMzkKkB.jpg)

Query

![screenshot](screenshot.png)
[Imgur](http://i.imgur.com/AwVd8y2.jpg)


### 2. (5 point)

Count

![screenshot](screenshot.png)
[Imgur](http://i.imgur.com/wnQl9mw.jpg)

FindOne

![screenshot](screenshot.png)
[Imgur](http://i.imgur.com/ZCMNGG0.jpg)


Query

![screenshot](screenshot.png)
[Imgur](http://i.imgur.com/J3bGCbP.jpg)

### 3. (5 point)

Expand Down Expand Up @@ -108,117 +107,7 @@ Query 2

# Machine Learning III

## Checkpoints (5 points x 2 = 10 points)

### 1. (5 point)

![screenshot](screenshot.png)

### 2. (5 point)

![screenshot](screenshot.png)

## Challenges (5 points x 4 = 20 points)

### 1. (5 point)

Accuracy = {fill-in-your-best-number}

Features/Parameters

%%%%%%%%% Choose feature source %%%%%%%%%%%
add_accelerometer = {TODO}; % Adds accelerometer features
add_gyroscope = {TODO}; % Adds gyroscope features
add_magneticField = {TODO}; % Adds magnetic field features
add_gravity = {TODO}; % Adds gravity features
add_linearAcceleration = {TODO}; % Adds linear acceleration features
add_orientation = {TODO}; % Adds azimuth, pich and roll features
add_light = {TODO}; % Adds light value
add_proximity = {TODO}; % Adds proximity value
add_studentID = {TODO}; % Adds student ID
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%% Choose machine learning classifier parameters %%%%%%%%%%%%%%%
numTrees = {TODO}; % Try different number of trees for the Random Forest classifier
sigma = {TODO}; % Try different values of sigma for the Support Vector Machine classifier
dist = {TODO}; % Try different distributions = {'normal', 'kernel', 'mvmn' , 'mn'} for Naive Bayes classifier
K = {TODO}; % Try different values of K for the K-nearest Neighbor classifier
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

### 2. (5 point)

Accuracy = {fill-in-your-best-number}

Features/Parameters

%%%%%%%%% Choose feature source %%%%%%%%%%%
add_accelerometer = {TODO}; % Adds accelerometer features
add_gyroscope = {TODO}; % Adds gyroscope features
add_magneticField = {TODO}; % Adds magnetic field features
add_gravity = {TODO}; % Adds gravity features
add_linearAcceleration = {TODO}; % Adds linear acceleration features
add_orientation = {TODO}; % Adds azimuth, pich and roll features
add_light = {TODO}; % Adds light value
add_proximity = {TODO}; % Adds proximity value
add_studentID = {TODO}; % Adds student ID
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%% Choose machine learning classifier parameters %%%%%%%%%%%%%%%
numTrees = {TODO}; % Try different number of trees for the Random Forest classifier
sigma = {TODO}; % Try different values of sigma for the Support Vector Machine classifier
dist = {TODO}; % Try different distributions = {'normal', 'kernel', 'mvmn' , 'mn'} for Naive Bayes classifier
K = {TODO}; % Try different values of K for the K-nearest Neighbor classifier
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

### 3. (5 point)

Accuracy = {fill-in-your-best-number}

Features/Parameters

%%%%%%%%% Choose feature source %%%%%%%%%%%
add_accelerometer = {TODO}; % Adds accelerometer features
add_gyroscope = {TODO}; % Adds gyroscope features
add_magneticField = {TODO}; % Adds magnetic field features
add_gravity = {TODO}; % Adds gravity features
add_linearAcceleration = {TODO}; % Adds linear acceleration features
add_orientation = {TODO}; % Adds azimuth, pich and roll features
add_light = {TODO}; % Adds light value
add_proximity = {TODO}; % Adds proximity value
add_studentID = {TODO}; % Adds student ID
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%% Choose machine learning classifier parameters %%%%%%%%%%%%%%%
numTrees = {TODO}; % Try different number of trees for the Random Forest classifier
sigma = {TODO}; % Try different values of sigma for the Support Vector Machine classifier
dist = {TODO}; % Try different distributions = {'normal', 'kernel', 'mvmn' , 'mn'} for Naive Bayes classifier
K = {TODO}; % Try different values of K for the K-nearest Neighbor classifier
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

### 4. (5 point)

Accuracy = {fill-in-your-best-number}

Features/Parameters

%%%%%%%%% Choose feature source %%%%%%%%%%%
add_accelerometer = {TODO}; % Adds accelerometer features
add_gyroscope = {TODO}; % Adds gyroscope features
add_magneticField = {TODO}; % Adds magnetic field features
add_gravity = {TODO}; % Adds gravity features
add_linearAcceleration = {TODO}; % Adds linear acceleration features
add_orientation = {TODO}; % Adds azimuth, pich and roll features
add_light = {TODO}; % Adds light value
add_proximity = {TODO}; % Adds proximity value
add_studentID = {TODO}; % Adds student ID
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%% Choose machine learning classifier parameters %%%%%%%%%%%%%%%
numTrees = {TODO}; % Try different number of trees for the Random Forest classifier
sigma = {TODO}; % Try different values of sigma for the Support Vector Machine classifier
dist = {TODO}; % Try different distributions = {'normal', 'kernel', 'mvmn' , 'mn'} for Naive Bayes classifier
K = {TODO}; % Try different values of K for the K-nearest Neighbor classifier
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DO NOT HAVE MATLAB/NEVER USED IT. EMAILED TOM AND WAS TOLD TO NOT WORRY ABOUT IT.


# D3 (VI) (5 points x 7 = 35 points)
Expand Down
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var express = require('express');
var app = express();

var mongo = require('mongoskin');
var db = mongo.db("mongodb://{USERNAME}:{PASSWORD}@{SEVERURL}", {native_parser:true});
var db = mongo.db("mongodb://127.0.0.1:27017/test”, {native_parser:true});

app.engine('.html', require('ejs').__express);
app.set('views', __dirname);
Expand All @@ -12,7 +12,7 @@ app.set('view engine', 'html');
app.get('/state/:state', function(req, res) {
var query = {"state" : req.params.state};
var projection = {};
db.collection('business')
db.collection('businesses’)
.find(query,projection)
.limit(20)
.toArray(function (err, items) {
Expand Down
5 changes: 5 additions & 0 deletions node_modules/d3/.npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions node_modules/d3/.spmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions node_modules/d3/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions node_modules/d3/CONTRIBUTING.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions node_modules/d3/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions node_modules/d3/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions node_modules/d3/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions node_modules/d3/bin/bower

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions node_modules/d3/bin/component

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions node_modules/d3/bin/start

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading