TPnet-small is a lightweight deep neural network (DNN) designed to predict traffic congestion using tabular smart mobility features. It serves as a compact yet powerful alternative to tree-based models.
Includes training trajectory and confusion matrix plots.
1from tensorflow.keras.models import load_model
2
3model = load_model("traffic_predictor_dnn.h5")
4y_pred = model.predict(X_test) # X_test must be scaled [n_samples, 20]
-
Performance limited by small dataset size and feature coverage
-
Currently optimized for CPU inference, not edge deployment