@classmethod
def from_uirt(cls, data, seed=None):
    """Constructing Dataset from UIRT (User, Item, Rating, Timestamp) 
        quadruplet data.

        Parameters
        ----------
        data: array-like, shape: [n_examples, 4]
            Data in the form of triplets (user, item, rating, timestamp)

        seed: int, optional, default: None
            Random seed for reproducing data sampling.

        Returns
        -------
        res: :obj:`<cornac.data.Dataset>`
            Dataset object.

        """
    return cls.build(data, fmt='UIRT', seed=seed)
