Effective and efficient structure learning with pruning and model averaging strategies