🌐
Keras
keras.io › examples
Keras documentation: Code examples
V3 = Keras 3 example · ★ · V3 · Image classification from scratch · ★ · V3 · Simple MNIST convnet · ★ · V3 · Image classification via fine-tuning with EfficientNet · V3 · Image classification with Vision Transformer · V3 · Classification using Attention-based Deep Multiple Instance Learning ·
🌐
Keras
keras.io › examples › vision › image_classification_from_scratch
Keras documentation: Image classification from scratch
This example shows how to do image classification from scratch, starting from JPEG image files on disk, without leveraging pre-trained weights or a pre-made Keras Application model.
Discussions

python - How to do Multiclass classification with Keras? - Stack Overflow
I want to make simple classifier with Keras that will classify my data. Features are numeric data and results are string/categorical data. I'm predicting 15 different categories/classes. This is ho... More on stackoverflow.com
🌐 stackoverflow.com
Keras Time Series Classification
I would 2nd keeping it to one layer at first - training your LSTM for an epoch might take longer than you think with a single GPU system. And if you’re training with a CPU.... ====> More on reddit.com
🌐 r/learnmachinelearning
5
14
April 21, 2018
Stacked LSTM for binary classification - Keras

Does it work without stacking?

More on reddit.com
🌐 r/MachineLearning
7
0
August 25, 2016
Unsupervised LSTM using keras?
http://keras.io/layers/recurrent/#lstm More on reddit.com
🌐 r/MachineLearning
4
2
March 14, 2016
🌐
TensorFlow
tensorflow.org › tensorflow core › basic classification: classify images of clothing
Basic classification: Classify images of clothing | TensorFlow Core
August 16, 2024 - Here, 60,000 images are used to train the network and 10,000 images to evaluate how accurately the network learned to classify images. You can access the Fashion MNIST directly from TensorFlow. Import and load the Fashion MNIST data directly from TensorFlow: fashion_mnist = tf.keras.datasets.fashion_mnist (train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data()
🌐
Pluralsight
pluralsight.com › tech insights & how-to guides › tech guides & tutorials
Classification with Keras | Pluralsight
If you are looking for a guide ... of classification include predicting whether a customer will churn or not, classifying emails into spam or not, or whether a bank loan will default or not....
🌐
BMC Software
bmc.com › blogs › keras-neural-network-classification
How to Use Keras to Solve Classification Problems with a Neural Network – BMC Software | Blogs
October 4, 2019 - In the case of a classification problem a threshold t is arbitrarily set such that if the probability of event x is > t then the result it 1 (true) otherwise false (0). For logistic regression, that threshold is 50%. The functions used are a sigmoid function, meaning a curve, like a sine wave, that varies between two known values. The logistic sigmoid function works well in this example since we are trying to predict whether someone has or will get diabetes (1) or not (0).
🌐
Keras
keras.io › keras_hub › guides › classification_with_keras_hub
Keras documentation: Image Classification with KerasHub
September 24, 2024 - A task is a keras.Model consisting of a (generally pretrained) backbone model and task-specific layers. Here's an example using keras_hub.models.ImageClassifier with an ResNet Backbone. ResNet is a great starting model when constructing an image classification pipeline.
🌐
Keras
blog.keras.io › building-powerful-image-classification-models-using-very-little-data.html
Building powerful image classification models using very little data
June 5, 2016 - This is very similar to the architectures that Yann LeCun advocated in the 1990s for image classification (with the exception of ReLU). The full code for this experiment can be found here. from keras.models import Sequential from keras.layers import Conv2D, MaxPooling2D from keras.layers import Activation, Dropout, Flatten, Dense model = Sequential() model.add(Conv2D(32, (3, 3), input_shape=(3, 150, 150))) model.add(Activation('relu')) model.add(MaxPooling2D(pool_size=(2, 2))) model.add(Conv2D(32, (3, 3))) model.add(Activation('relu')) model.add(MaxPooling2D(pool_size=(2, 2))) model.add(Conv2D(64, (3, 3))) model.add(Activation('relu')) model.add(MaxPooling2D(pool_size=(2, 2))) # the model so far outputs 3D feature maps (height, width, features)
🌐
Keras
keras.io › guides › keras_cv › classification_with_keras_cv
Keras documentation: Classification with KerasCV
March 28, 2023 - A task is a keras.Model consisting of a (generally pretrained) backbone model and task-specific layers. Here's an example using keras_cv.models.ImageClassifier with an EfficientNetV2B0 Backbone. EfficientNetV2B0 is a great starting model when constructing an image classification pipeline.
Find elsewhere
🌐
Medium
medium.com › @golnaz.hosseini › step-by-step-tutorial-image-classification-with-keras-7dc423f79a6b
Step-by-Step Tutorial: Image Classification with Keras | Medium
June 6, 2023 - For analyzing image classification models, the CIFAR10 dataset is frequently utilized. It consists of 60,000 32x32 color images that are divided into 10 categories (airplanes, cars, birds, cats, deer, dogs, frogs, horses, ships, and trucks).
🌐
Keras
keras.io › examples › structured_data › structured_data_classification_from_scratch
Keras documentation: Structured data classification from scratch
June 9, 2020 - Note that this example should be run with TensorFlow 2.5 or higher. Our dataset is provided by the Cleveland Clinic Foundation for Heart Disease. It's a CSV file with 303 rows. Each row contains information about a patient (a sample), and each column describes an attribute of the patient (a feature). We use the features to predict whether a patient has a heart disease (binary classification). ... import os os.environ["KERAS_BACKEND"] = "torch" # or torch, or tensorflow import pandas as pd import keras from keras import layers
🌐
Esciencecenter-digital-skills
esciencecenter-digital-skills.github.io › intro-to-deep-learning-archaeology › 02-keras › index.html
Classification by a Neural Network using Keras – Introduction to deep-learning
April 11, 2023 - We have now designed a neural network ... train to classify our archeological finds. However, we first need to select an appropriate loss function that we will use during training. This loss function tells the training algorithm how wrong, or how ‘far away’ from the true value the predicted value is. For the one-hot encoding that we selected before a fitting loss function is the Categorical Crossentropy loss. In Keras this is ...
🌐
Keras
keras.io › examples › nlp › text_classification_from_scratch
Keras documentation: Text classification from scratch
November 6, 2019 - This example shows how to do text classification starting from raw text (as a set of text files on disk). We demonstrate the workflow on the IMDB sentiment classification dataset (unprocessed version).
🌐
MachineLearningMastery
machinelearningmastery.com › home › blog › binary classification tutorial with the keras deep learning library
Binary Classification Tutorial with the Keras Deep Learning Library - MachineLearningMastery.com
August 5, 2022 - This post provides an example of what you want: https://machinelearningmastery.com/5-step-life-cycle-neural-network-models-keras/ ... Thanks for this excellent tutorial , may I ask you regarding this network model; to which deep learning models does it belong? is it Deep Belief Network, CNN, stacked auto-encoder or other? ... It is a deep neural network. Note that the DBN and autoencoders are generally no longer mainstream for classification problems like this example.
🌐
Gitlab
deapsecure.gitlab.io › deapsecure-lesson04-nn › 20-keras-intro › index.html
DeapSECURE module 4: Deep Learning (Neural Network): An Introduction to Keras with Binary Classification Task
August 11, 2025 - Figure: An example of a complex functional model from the Keras API. Source: Keras Developer’s Guide. The model depicted in the figure above could be useful for analyzing text-based documents or emails. The model has three distinct inputs (title, text body, and tags) and returns two output values (the priority and the appropriate department for the document). The three inputs are fed together into one network, and the network is trained to classify both the appropriate priority and department of the documents it analyzes.
🌐
Keras
keras.io › examples › timeseries › timeseries_classification_from_scratch
Keras documentation: Timeseries classification from scratch
July 21, 2020 - This example shows how to do timeseries classification from scratch, starting from raw CSV timeseries files on disk. We demonstrate the workflow on the FordA dataset from the UCR/UEA archive. import keras import numpy as np import matplotlib.pyplot as plt
🌐
MachineLearningMastery
machinelearningmastery.com › home › blog › multi-class classification tutorial with the keras deep learning library
Multi-Class Classification Tutorial with the Keras Deep Learning Library - MachineLearningMastery.com
August 6, 2022 - Update Mar/2017: Updated for Keras 2.0.2, TensorFlow 1.0.1 and Theano 0.9.0 · Update Jun/2017: Updated to use softmax activation in output layer, larger hidden layer, default weight initialization · Update Aug/2019: Added complete working example for convenience, removed random seed ... Multi-class classification tutorial with the Keras deep learning library Photo by houroumono, some rights reserved.
🌐
Jonathan Bossio
jonathanbossio.com › post › deep-neural-networks-for-multiclass-classification-with-keras-and-pytorch-lightning
Deep Neural Networks for Multiclass Classification with Keras and PyTorch Lightning
May 24, 2024 - There are several models that can be used for multiclass classification. In this article, we will use a deep neural network (DNN). Note: If your data are images or text, you probably need Convolutional Neural Networks (CNN) instead. This is the full list of libraries that are needed to run all the examples in this article: numpy pandas keras from tensorflow torch torchmetrics pytorch-lightning sklearn matplotlib seaborn
🌐
GitHub
github.com › innovationchef › keras-classification-examples
GitHub - innovationchef/keras-classification-examples: Collection of classification examples with Keras deep learning
Here's a simple example of "learning" the best weight by iteratively updating it until the error reaches zero:
Author   innovationchef
🌐
Autokeras
autokeras.com › tutorial › image_classification
Image Classification - AutoKeras
input_node = ak.ImageInput() output_node = ak.ImageBlock( # Only search ResNet architectures. block_type="resnet", # Normalize the dataset. normalize=True, # Do not do data augmentation. augment=False, )(input_node) output_node = ak.ClassificationHead()(output_node) clf = ak.AutoModel( inputs=input_node, outputs=output_node, overwrite=True, max_trials=1 ) clf.fit(x_train, y_train, epochs=1) The usage of AutoModel is similar to the functional API of Keras.