File size: 543 Bytes
71b6402 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from HousePricePrediction import Model
from utils import utils
from tensorflow.keras.optimizers import Adam
model = Model()
txtPath = r'/home/alifathi/Documents/AI/Git/House price prediction/Data/HousesInfo.txt'
imgPath = r'/home/alifathi/Documents/AI/Git/House price prediction/Data/house_dataset'
util = utils(txtPath = txtPath,imagePath=imgPath)
const = util.const
model.compile(loss = 'mse',metrics = ['mse'],optim = Adam(learning_rate = 0.01))
Hist = model.train(1,512,[util.image[3],util.txtFeatur],util.label)
model.plotHistory(Hist) |