Skip to content

Instantly share code, notes, and snippets.

View jonathanvoelkle's full-sized avatar
🌐

Jonathan Völkle jonathanvoelkle

🌐
View GitHub Profile
import yfinance as yf
import pandas as pd
from datetime import datetime, timedelta
#from sklearn.ensemble import RandomForestClassifier
from sklearn.ensemble import AdaBoostClassifier, RandomForestClassifier
from xgboost import XGBClassifier
from sklearn.metrics import precision_score, recall_score, f1_score, roc_auc_score, accuracy_score
from ta.utils import *
from ta.volatility import *
@jonathanvoelkle
jonathanvoelkle / createElement.js
Created April 11, 2018 09:53 — forked from olivmonnier/createElement.js
A tiny helper for document.createElement.
function createElement(options) {
let el;
if (!options.tagName) {
el = document.createDocumentFragment();
} else {
el = document.createElement(options.tagName);
if (options.className) {
el.className = options.className;
}
if (options.attributes) {