Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Busy

Giancarlo Sanchez gsanc018

👨‍💻
Busy
View GitHub Profile
@gsanc018
gsanc018 / test_classify.py
Created Jun 21, 2016 — forked from manacoa/test_classify.py
A quick "hello world" type classifier application for the latest version of Caffe. Draws heavily from classify.py (which doesn't print results) and the jetapac fork of this file (which prints results but isn't compatible with the latest version!).
View test_classify.py
#!/usr/bin/env python
"""
classify.py is an out-of-the-box image classifer callable from the command line.
By default it configures and runs the Caffe reference ImageNet model.
"""
import numpy as np
import os
import sys
import argparse
@gsanc018
gsanc018 / machine-learning-basics.py
Created May 30, 2016 — forked from pupadupa/machine-learning-basics.py
Some machine learning algorithm for Titanic dataset. SVM, Random Forest, XGBoost. Link to kaggle https://www.kaggle.com/c/titanic
View machine-learning-basics.py
# Be sure that you have installed libraries (if not - google it):
import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
import xgboost as xgb
from sklearn.preprocessing import LabelEncoder
import numpy as np
from sklearn.metrics import accuracy_score
from sklearn.metrics import mean_squared_error
from sklearn import cross_validation
@gsanc018
gsanc018 / geneticAlgorithms
Created May 22, 2016 — forked from thertrader/geneticAlgorithms
Using Genetic Algorithms in Quantitative Trading
View geneticAlgorithms
############################################################
## Using Genetic Algorithms in Quantitative Trading
##
## thertrader@gmail.com - Mar 2014
############################################################
library(PerformanceAnalytics)
library(rgenoud)
library(quantmod)
library(TTR)
You can’t perform that action at this time.