Jenkins docker

This commit is contained in:
Andrzej Preibisz 2022-04-03 19:17:24 +02:00
parent d2e0211ef2
commit b3734f3b35
3 changed files with 4 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -1,5 +1,7 @@
pipeline {
agent any
agent {
dockerfile true
}
parameters {
string (
defaultValue: 'andrzejpreibisz',

View File

@ -1,5 +1,3 @@
import csv
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
import kaggle

View File

@ -33,3 +33,4 @@ dataset_train["BMI"] = dataset_train["BMI"].apply(lambda x: x/max_bmi)
dataset_test["BMI"] = dataset_test["BMI"].apply(lambda x: x/max_bmi)
print(dataset_train["AgeCategory"].value_counts())
print(dataset_train["BMI"])