Jenkins docker
This commit is contained in:
parent
d2e0211ef2
commit
b3734f3b35
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,5 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
string (
|
||||
defaultValue: 'andrzejpreibisz',
|
||||
|
2
main.py
2
main.py
@ -1,5 +1,3 @@
|
||||
import csv
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
from sklearn.model_selection import train_test_split
|
||||
import kaggle
|
||||
|
@ -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"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user