Tensorflow Keras Implementation of Structured data classification from scratch
This repo contains models and notebook for
Structured data classification from scratch
.
This example demonstrates how to do structured data classification, starting from a raw CSV file. Our data includes both numerical and categorical features. We will use Keras preprocessing layers to normalize the numerical features and vectorize the categorical ones.
Full credits to
François Chollet
, creator of Keras!
Model description
The model is a very simple MLP with only one hidden layer.
This example showcases how to perform preprocessing of common tabular data
inside
a Keras model.
It uses tensorflow.keras.layers.{IntegerLookup, Normalization, StringLookup} to process numerical and categorical (integer or string) features.
Intended uses & limitations
This tool does not provide medical advice It is intended for informational purposes only. It is not a substitute for professional medical advice, diagnosis or treatment.
Training and evaluation data
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).
The model is trained on 80% of data and evaluated on remaining 20%.
Training procedure
Training proceeds for 50 epochs with default Adam optimizer on binary crossentropy.
Training hyperparameters
The following hyperparameters were used during training:
Training achieves >83% accuracy on the held-out validation data.
Check TensorBoard "Metrics" tab above for details.
Model Plot
View Model Plot
Runs of keras-io structured-data-classification on huggingface.co
36
Total runs
1
24-hour runs
-1
3-day runs
-3
7-day runs
7
30-day runs
More Information About structured-data-classification huggingface.co Model
structured-data-classification huggingface.co
structured-data-classification huggingface.co is an AI model on huggingface.co that provides structured-data-classification's model effect (), which can be used instantly with this keras-io structured-data-classification model. huggingface.co supports a free trial of the structured-data-classification model, and also provides paid use of the structured-data-classification. Support call structured-data-classification model through api, including Node.js, Python, http.
structured-data-classification huggingface.co is an online trial and call api platform, which integrates structured-data-classification's modeling effects, including api services, and provides a free online trial of structured-data-classification, you can try structured-data-classification online for free by clicking the link below.
keras-io structured-data-classification online free url in huggingface.co:
structured-data-classification is an open source model from GitHub that offers a free installation service, and any user can find structured-data-classification on GitHub to install. At the same time, huggingface.co provides the effect of structured-data-classification install, users can directly use structured-data-classification installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
structured-data-classification install url in huggingface.co: