This file contains hidden or 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
# Decision Tree Classifier | |
from sklearn import datasets | |
from sklearn import metrics | |
from sklearn.tree import DecisionTreeClassifier | |
# load the iris datasets | |
dataset = datasets.load_iris() | |
# fit a CART model to the data | |
model = DecisionTreeClassifier() | |
model.fit(dataset.data, dataset.target) |
This file contains hidden or 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
# Thanks to John Maindonald | |
library(WDI) | |
indnams <- c("fertility.rate", "life.expectancy", | |
"population", "GDP.per.capita.Current.USD", | |
"15.to.25.yr.female.literacy") | |
inds <- c('SP.DYN.TFRT.IN','SP.DYN.LE00.IN', | |
'SP.POP.TOTL','NY.GDP.PCAP.CD', | |
'SE.ADT.1524.LT.FE.ZS') | |
wdiData <- WDI(country="all", indicator=inds, | |
start=1960, end=format(Sys.Date(), "%Y"), |
I found the original gif on Imgur http://imgur.com/gallery/4u3eA
I think the source is this site: http://ugaga.net/index.php/2358-ugadaj-film-po-8-bitnoj-gifke-16-foto?fb_action_ids=10202106279276235&fb_action_types=og.likes&fb_source=other_multiline&action_object_map=%5B1495220104038131%5D&action_type_map=%5B%22og.likes%22%5D&action_ref_map=%5B%5D
A Pen by Albert Filice on CodePen.
NewerOlder