I hereby claim:
- I am jcechace on github.
- I am jcechace (https://keybase.io/jcechace) on keybase.
- I have a public key ASBVK5SZiOwUk2QzabfoVOvFsxNOGFKJTyKdN_Hwxl4vNQo
To claim this, I am signing this object:
global | |
log stdout format raw local0 info | |
defaults | |
mode tcp | |
timeout connect 5s | |
timeout client 30s | |
timeout server 30s | |
# First Kafka node |
package src.seeds | |
import org.apache.commons.io.IOUtils | |
println('''import com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl; | |
import com.cloudbees.plugins.credentials.SystemCredentialsProvider; | |
import com.cloudbees.plugins.credentials.CredentialsScope; | |
import com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey; | |
import com.cloudbees.plugins.credentials.domains.*; | |
import org.jenkinsci.plugins.plaincredentials.impl.FileCredentialsImpl; |
I hereby claim:
To claim this, I am signing this object:
Here goes notthing |
############################################################################################################### | |
## Use the following functions to preproces data from https://archive.ics.uci.edu/ml/datasets/Bank+Marketing # | |
############################################################################################################### | |
# Splits data frame into two parts -- training and testing data frame -- based on learn_ratio | |
splitDataSet <- function(dataSet, learn_ratio) { | |
instance_count = nrow(dataSet) | |
l_instance_count = round(instance_count * learn_ratio, 0) | |
l_indices = sample(instance_count, l_instance_count) | |
@celery.task | |
class test(Task): | |
def __init__(self): | |
self.counter = 0 | |
def run(self, inspect=False): | |
if not inspect: | |
self.counter += 1 | |
return None | |
return self.counter |