Feature weights of intersections using one-hot encoding