Semi supervised weighted maximum variance dimensionality reduction