@classmethod
    def from_api_repr(cls, resource, zone):
        name = resource['name']
        record_type = resource['type']
        ttl = int(resource['ttl'])
        rrdatas = resource['rrdatas']
        return cls(name, record_type, ttl, rrdatas, zone=zone)
Yields the minority class (= least frequent class).
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/dns/resource_record_set.py/ResourceRecordSet.from_api_repr--crossover with--dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Classifier.minority