Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| if (!require(quantmod)) { | |
| stop("This app requires the quantmod package. To install it, run 'install.packages(\"quantmod\")'.\n") | |
| } | |
| # Download data for a stock if needed, and return the data | |
| require_symbol <- function(symbol, envir = parent.frame()) { | |
| if (is.null(envir[[symbol]])) { | |
| envir[[symbol]] <- getSymbols(symbol, auto.assign = FALSE) | |
| } |
| import numpy as np | |
| import pylab as pl | |
| import pandas as pd | |
| from sklearn import svm | |
| from sklearn import linear_model | |
| from sklearn import tree | |
| from sklearn.metrics import confusion_matrix |
| package main | |
| import ( | |
| "net/http" | |
| "net/url" | |
| "log" | |
| "io/ioutil" | |
| "regexp" | |
| "fmt" | |
| //"net/http/httputil" |
| # Back-Propagation Neural Networks | |
| # another way: solve it as a Regression Problem | |
| # Written in Python. See http://www.python.org/ | |
| # Modified by JSun to solve the problem here: http://www.weibo.com/1497035431/ynPEvC78V | |
| # Neil Schemenauer <nas@arctrix.com> | |
| import math | |
| import random | |
| import string |