1. A method comprising: examining electronic programming guide (EPG) data to identify television programs scheduled in corresponding timeslots; collecting metadata related to the identified television programs, the metadata including data regarding one or more cast members; comparing metadata of a first identified television program with metadata of a second identified television program; constructing a matrix based, at least in part, on the compared metadata to represent a scheduling of a particular cast member of the first identified television program and a particular cast member of the second identified television program; applying a conversion to one or more values included in the matrix; responsive to applying the conversion, determining affinity values to represent a frequency that the particular cast member of the first identified television program matches the particular cast member of the second identified television program; and forming one or more affinity clusters based, at least in part, on the determined affinity values, the formed one or more affinity clusters including at least some of the collected metadata of the first identified television program and at least some of the collected metadata of the second identified television program.