Downloads · 30 days
0
NeuralNine999/INET
INET is a tabular classification model from NeuralNine999. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
INet is a simple fully-connected neural network trained on the Iris dataset using PyTorch. It classifies iris flowers into 4 categories based on 4 features: sepal length, sepal width, petal length, and petal width.
Downloads · 30 days
0
Access
Public
Updated Apr 3, 2026
Repo size
15.8 KB
Likes
0
Public
Click a slice to open those files.
.pth15.8 KB · 78%
From the Hugging Face model README
INet is a simple fully-connected neural network trained on the Iris dataset using PyTorch. It classifies iris flowers into 4 categories based on 4 features: sepal length, sepal width, petal length, and petal width.
Architecture flow: Input(4) → Linear(64) → ReLU → Linear(32) → ReLU → Linear(16) → ReLU → Linear(8) → ReLU → Linear(4)
import torch
from model import INet # make sure INet class is in model.py
model = INet()
model.load_state_dict(torch.load("inet.pth"))
model.eval()
# Example usage:
sample_input = torch.tensor([[5.1, 3.5, 1.4, 0.2]])
pred = model(sample_input)
pred_class = pred.argmax(dim=1).item()
print(pred_class)
pip install torch