Keras modeli oluşturma

Python ile Deep Learning'e Giriş

Dan Becker

Data Scientist and contributor to Keras and TensorFlow libraries

Model kurma adımları

  • Mimarîyi belirtin

  • Derleyin

  • Eğitin

  • Tahmin edin

Python ile Deep Learning'e Giriş

Model belirtimi

import numpy as np
from tensorflow.keras.layers import Dense
from tensorflow.keras.models import Sequential

predictors = np.loadtxt('predictors_data.csv', delimiter=',')
n_cols = predictors.shape[1]

model = Sequential()
model.add(Dense(100, activation='relu', input_shape = (n_cols,)))
model.add(Dense(100, activation='relu'))
model.add(Dense(1))
Python ile Deep Learning'e Giriş

Haydi pratik yapalım!

Python ile Deep Learning'e Giriş

Preparing Video For Download...