Enable calculation of data probability from user-specified weight file