Training script fixes
This commit is contained in:
parent
192184cb2c
commit
999da6af32
4
.gitignore
vendored
4
.gitignore
vendored
@ -150,3 +150,7 @@ Thumbs.db #thumbnail cache on Windows
|
|||||||
|
|
||||||
env
|
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
|
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -23,4 +23,11 @@ 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)
|
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
|
# Wczytanie danych
|
||||||
train_data = pd.read_csv("./train.csv")
|
train_data = pd.read_csv("./MoviesOnStreamingPlatforms_updated.train", header=None, usecols=cols)
|
||||||
test_data = pd.read_csv("./test.csv")
|
|
||||||
|
|
||||||
# Stworzenie modelu
|
# Stworzenie modelu
|
||||||
columns_to_use = ['Year', 'Runtime', 'Netflix']
|
columns_to_use = ['Year', 'Runtime', 'Netflix']
|
||||||
|
Loading…
Reference in New Issue
Block a user