← Back to Applications

Glass Type API

Classify glass type (window / non-window) from its chemical composition.

A classification API that determines whether a glass sample is window glass or non-window glass, based on its chemical composition (refractive index, content of Na, Mg, Al, Si, K, Ca, Ba, Fe).

Trained on the UCI Glass Identification dataset and served via R plumber as a REST API.

Endpoints

  • POST /classify — accepts chemical composition values, returns glass type and confidence

Tech

Built with R and plumber. The classification model was trained on the UCI Glass Identification dataset using standard supervised learning methods.