nachtm / cosmic-rai Goto Github PK
View Code? Open in Web Editor NEWCS 321 Final Project to classify cosmic ray composition
CS 321 Final Project to classify cosmic ray composition
Are there parameters we need to tune for each model we're using? Here's a start:
DNN:
Are there parameters in SVM/any of the others that would be worth tuning?
In the Data Exploration
notebook (copied into data_prep.py
) I'm wondering if its an error to use the variable i
down in that if statement, outside of the for loop?
#build a name->index dict
def get_index_dict(sensors, direction_data=False):
name_index_dict = {}
for i in range(len(sensors)):
name_index_dict[sensors[i]] = i
i = len(sensors)
if direction_data:
name_index_dict['zenith'] = i
name_index_dict['azimuth'] = i + 1
return name_index_dict
It looks like in some cases, "dimensionality reduction" via techniques like PCA can improve the performance of classifiers.
Sklearn has a suite of tools for this: http://scikit-learn.org/stable/modules/decomposition.html#decompositions
I think the "cropping" of sensors that Micah has discussed, (to omit sensors that aren't hit for a given event) is basically also dimentionality reduction. In fact, that might be the best way of reducing attributes for this particular dataset. Rather than passing readings for all sensors on a given hit, just pass the 10 most important ones?
Quality control:
fit status
is okayNotes:
Right now, Feature Generation.ipynb
has some nice stuff for generating features. At the same time, we're looking at using pandas. We'd like to get all of these into the general pipeline.
Wanna try more stuff?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.