This commit is contained in:
parent
a2edb98537
commit
adec9b659d
@ -16,9 +16,6 @@ pipeline {
|
|||||||
stage('Script'){
|
stage('Script'){
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts filter: '*', projectName: 's444018-create-dataset'
|
copyArtifacts filter: '*', projectName: 's444018-create-dataset'
|
||||||
sh 'cd biblioteka_DL'
|
|
||||||
sh 'ls -la'
|
|
||||||
sh 'cd ..'
|
|
||||||
sh 'python3 ./biblioteka_DL/dllib.py $EPOCHS'
|
sh 'python3 ./biblioteka_DL/dllib.py $EPOCHS'
|
||||||
archiveArtifacts artifacts: 'model.pkl', followSymlinks: false
|
archiveArtifacts artifacts: 'model.pkl', followSymlinks: false
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ def normalize_gross(imbd_data):
|
|||||||
|
|
||||||
|
|
||||||
def prepare_dataset():
|
def prepare_dataset():
|
||||||
df = pd.read_csv('imdb_top_1000.csv')
|
df = pd.read_csv('biblioteka_DL/imdb_top_1000.csv')
|
||||||
df = drop_relevant_columns(df)
|
df = drop_relevant_columns(df)
|
||||||
df_lowercase = lowercase_columns_names(df)
|
df_lowercase = lowercase_columns_names(df)
|
||||||
df = data_to_numeric(df_lowercase)
|
df = data_to_numeric(df_lowercase)
|
||||||
|
Loading…
Reference in New Issue
Block a user