TF: TensorFlow untuk dataset CIFAR-10
Berikut adalah contoh kode Python yang membangun model Convolutional Neural Network (CNN) menggunakan Keras untuk mengklasifikasikan dataset CIFAR-10, melakukan prediksi, dan memvisualisasikan hasilnya: import tensorflow as tf from tensorflow.keras import datasets, layers, models import matplotlib.pyplot as plt import numpy as np # Memuat dataset CIFAR-10 (x_train, y_train), (x_test, y_test) =
| Penerbit | Taratsa |
|---|---|
| Tahun | 2025-03-16 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:929a65c8-0c10-5be5-a786-5e6a024ca501 |
Tentang teks
572 kata · sekitar 3 menit baca · lebih panjang dari 42% buku di pustaka ini
Paling sering muncul
- model21
- plt17
- label14
- num12
- data11
- layers10
- true10
- array8
- predictions8
- cifar7
- color7
- prediksi7
Khas buku ini
Sering di buku ini, jarang di buku lain.
- plt17
- cifar7
- num12
- layers10
- predictions8
- label14
- tensorflow7
- model21
- cols5
- array8
- relu5
- prediksi7
Frasa yang berulang
- true label
- rows num cols
- num rows num
- predictions array
- predicted label
- dataset cifar
- plot value array
- conv d activation