Leveraging triplet loss and nonlinear dimensionality reduction for on-the-fly channel charting