Adaptive spectrum transformation by topology preserving on indefinite proximity data