Training script fixes
This commit is contained in:
parent
192184cb2c
commit
999da6af32
6
.gitignore
vendored
6
.gitignore
vendored
@ -149,4 +149,8 @@ Thumbs.db #thumbnail cache on Windows
|
||||
.prof
|
||||
|
||||
env
|
||||
# End of https://www.toptal.com/developers/gitignore/api/python
|
||||
# End of https://www.toptal.com/developers/gitignore/api/python
|
||||
|
||||
/MoviesOnStreamingPlatforms_updated.train
|
||||
/MoviesOnStreamingPlatforms_updated.test
|
||||
/MoviesOnStreamingPlatforms_updated.dev
|
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -22,5 +22,12 @@ stages {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
build job: 's434704-training/master', parameters: [
|
||||
string(name: 'options', value: "-shuffle=true")
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -19,11 +19,4 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
build job: 's434704-training/master', parameters: [
|
||||
string(name: 'options', value: "-shuffle=true")
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -9,9 +9,10 @@ from tensorflow.keras.layers.experimental import preprocessing
|
||||
|
||||
pd.set_option("display.max_columns", None)
|
||||
|
||||
cols = ['0','ID','Title','Year','Age','IMDb','Rotten Tomatoes','Netflix','Hulu','Prime Video','Disney+','Type','Directors','Genres','Country','Language','Runtime']
|
||||
|
||||
# Wczytanie danych
|
||||
train_data = pd.read_csv("./train.csv")
|
||||
test_data = pd.read_csv("./test.csv")
|
||||
train_data = pd.read_csv("./MoviesOnStreamingPlatforms_updated.train", header=None, usecols=cols)
|
||||
|
||||
# Stworzenie modelu
|
||||
columns_to_use = ['Year', 'Runtime', 'Netflix']
|
||||
|
Loading…
Reference in New Issue
Block a user