Identifying Chemicals Through Dimensionality Reduction