sparse autocoding based on energy model