Weighted complex network based framework for epilepsy detection from EEG signals