add copy test set
This commit is contained in:
parent
f930036f62
commit
1a5cb15aec
@ -34,6 +34,7 @@ pipeline {
|
||||
}
|
||||
stage('Copy') {
|
||||
steps {
|
||||
copyArtifacts projectName: 's444417-create-dataset'
|
||||
copyArtifacts projectName: 's444417-training/master'
|
||||
sh 'python3 ./src/evalScript.py'
|
||||
archiveArtifacts 'trainResults.csv'
|
||||
|
@ -5,14 +5,10 @@ import tensorflow as tf
|
||||
|
||||
cwd = os.path.abspath(os.path.dirname(sys.argv[0]))
|
||||
modelPath = 'saved_model/MyModel_tf'
|
||||
pathTrain = cwd + "/../Participants_Data_HPP/Train.csv"
|
||||
pathTest = cwd + "/../Participants_Data_HPP/Test.csv"
|
||||
|
||||
features = ["UNDER_CONSTRUCTION", "RERA", "BHK_NO.", "SQUARE_FT", "READY_TO_MOVE", "RESALE", "LONGITUDE", "LATITUDE", "TARGET(PRICE_IN_LACS)"]
|
||||
|
||||
# get dataset
|
||||
house_price_train = pd.read_csv(pathTrain)[features]
|
||||
|
||||
# get test dataset
|
||||
house_price_test = pd.read_csv(pathTest)[features]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user