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
#!/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 |
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
# 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 |
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
############################################################ | |
## Using Genetic Algorithms in Quantitative Trading | |
## | |
## thertrader@gmail.com - Mar 2014 | |
############################################################ | |
library(PerformanceAnalytics) | |
library(rgenoud) | |
library(quantmod) | |
library(TTR) |