Update
This commit is contained in:
parent
ebf506d9a4
commit
2513dfa808
@ -1,8 +1,5 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
ENV KAGGLE_USERNAME="jaszwajcar"
|
|
||||||
ENV KAGGLE_KEY="key"
|
|
||||||
|
|
||||||
RUN apt update && apt install -y figlet
|
RUN apt update && apt install -y figlet
|
||||||
RUN apt install unzip -y
|
RUN apt install unzip -y
|
||||||
RUN apt install python3-pip -y
|
RUN apt install python3-pip -y
|
||||||
|
@ -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']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]])
|
||||||
}
|
}
|
||||||
stage('Dockerfile'){
|
stage('Dockerfile'){
|
||||||
def testImage = docker.image("ium")
|
def testImage = docker.build()
|
||||||
sh "chmod +x -R ${env.WORKSPACE}"
|
sh "chmod +x -R ${env.WORKSPACE}"
|
||||||
testImage.inside{
|
testImage.inside{
|
||||||
copyArtifacts filter: 'baltimore_train.csv', projectName: 's487197-create-dataset'
|
copyArtifacts filter: 'baltimore_train.csv', projectName: 's487197-create-dataset'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from tensorflow.keras.models import Sequential
|
from keras.models import Sequential
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from sklearn.preprocessing import LabelEncoder
|
from sklearn.preprocessing import LabelEncoder
|
||||||
from sklearn import metrics
|
from sklearn import metrics
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
# Press Shift+F10 to execute it or replace it with your code.
|
# 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.
|
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
|
||||||
from tensorflow.keras.models import Sequential
|
from keras.models import Sequential
|
||||||
from tensorflow.keras.layers import Dense
|
from keras.layers import Dense
|
||||||
from tensorflow.keras.optimizers import Adam
|
from keras.optimizers import Adam
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
import tensorflow as tf
|
import tensorflow as tf
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
Loading…
Reference in New Issue
Block a user