This commit is contained in:
Wojciech Lidwin 2023-05-11 19:17:17 +02:00
parent ebf506d9a4
commit 2513dfa808
4 changed files with 5 additions and 8 deletions

View File

@ -1,8 +1,5 @@
FROM ubuntu:latest
ENV KAGGLE_USERNAME="jaszwajcar"
ENV KAGGLE_KEY="key"
RUN apt update && apt install -y figlet
RUN apt install unzip -y
RUN apt install python3-pip -y

View File

@ -10,7 +10,7 @@ node {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]])
}
stage('Dockerfile'){
def testImage = docker.image("ium")
def testImage = docker.build()
sh "chmod +x -R ${env.WORKSPACE}"
testImage.inside{
copyArtifacts filter: 'baltimore_train.csv', projectName: 's487197-create-dataset'

View File

@ -1,4 +1,4 @@
from tensorflow.keras.models import Sequential
from keras.models import Sequential
import pandas as pd
from sklearn.preprocessing import LabelEncoder
from sklearn import metrics

View File

@ -2,9 +2,9 @@
# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
from tensorflow.keras.optimizers import Adam
from keras.models import Sequential
from keras.layers import Dense
from keras.optimizers import Adam
import pandas as pd
import tensorflow as tf
import numpy as np