Skip to content

Instantly share code, notes, and snippets.

View svanderbleek's full-sized avatar
:shipit:
I’ll take the case

Sandy Vanderbleek svanderbleek

:shipit:
I’ll take the case
View GitHub Profile
sentence = 'there was once a fox who there enjoyed tea there was once a fox who there enjoyed tea tea'
words = sentence.split()
counts = {}
for word in words:
counts[word] = counts.get(word, 0) + 1
top3 = sorted(count.items(), key=lambda x: x[1], reverse=True)[:3]
print(top3)
@svanderbleek
svanderbleek / analysis.R
Last active January 7, 2019 03:31
bank
library(caret)
library(dplyr)
data = read.csv2("bank-additional-full.csv")
f = y ~ duration + pdays + euribor3m + month + day_of_week + job + default + age + previous + contact + poutcome + nr.employed + cons.price.idx
# Scaling Parameters
SAMPLE = 10

Keybase proof

I hereby claim:

  • I am svanderbleek on github.
  • I am sandyeven (https://keybase.io/sandyeven) on keybase.
  • I have a public key ASCmCeCp_4K_o-fEc4gDn9wcbuBO_idqJTO2t1jZYAgfigo

To claim this, I am signing this object:

Remote Address:104.130.42.157:443
Request URL:https://test.knkdt.com/api/1/auth/session
Request Method:POST
Status Code:403 Forbidden
Request Headersview source
Accept:application/json, text/plain, */*
Accept-Encoding:gzip, deflate
Accept-Language:en-US,en;q=0.8,es;q=0.6
Cache-Control:no-cache
Connection:keep-alive
body {
font-family: "Lato", Helvetica, Arial, sans-serif;
}
.container {
width: 400px;
margin: 200px auto;
}
button {
.container {
width: 400px;
margin: 200px auto;
}
button {
padding: 10px 19px;
font-size: 17px;
line-height: 1.471;
border-radius: 6px;
@svanderbleek
svanderbleek / dabblet.css
Created December 27, 2013 05:32
Untitled
.cardspring-page {
max-width: 960px;
margin: 60px auto;
border: solid 1px #CCC;
border-radius: 4px;
background-image: linear-gradient(#CCC, #BBB);
padding: 20px;
}
@media all and (max-width: 1060px) {
@svanderbleek
svanderbleek / dabblet.css
Created December 27, 2013 04:46
Untitled
.squat-box {
max-width: 400px;
height: 200px;
border-radius: 4px;
background: rgba(200,200,200,.3);
padding: 20px;
font-family: Helvetica;
}
.squat-domain {
.squat-box {
max-width: 600px;
height: 600px;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
}
body {
font-family: Helvetica;
}
textarea {
border-radius: 4px;
border: 1px solid rgba(0, 0, 0, .1);
resize: none;
width: 100%;
height: 160px;