TensorFlow Pertanyaan dan Jawaban Wawancara
Question: Explain the concept of data augmentation in image classification using TensorFlow.Answer: Data augmentation involves applying random transformations to input data during training to increase the diversity of the dataset. In image classification, this can include rotations, flips, and zooms.Example: data_augmentation = tf.keras.Sequential([ tf.keras.layers.experimental.preprocessing.RandomFlip('horizontal'), tf.keras.layers.experimental.preprocessing.RandomRotation(0.2), ]) |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users: