Scalable Learning of Segment-Level Traffic Congestion Functions