5959be83f8cbb68ae045107b2eb68a58b28afef2,ludwig/features/h3_feature.py,H3InputFeature,__init__,#H3InputFeature#,80
Before Change
self.encoder = "embed"
encoder_parameters = self.overwrite_defaults(feature)
self.encoder_obj = self.get_h3_encoder(encoder_parameters)
def get_h3_encoder(self, encoder_parameters):
After Change
class H3InputFeature(H3BaseFeature, InputFeature):
encoder = "embed"
def __init__(self, feature, encoder_obj=None):
H3BaseFeature.__init__(self, feature)
InputFeature.__init__(self)
self.overwrite_defaults(feature)
if encoder_obj:
self.encoder_obj = encoder_obj
else:
self.encoder_obj = self.initialize_encoder(feature)
@staticmethod
def update_model_definition_with_metadata(
input_feature,
feature_metadata,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: uber/ludwig
Commit Name: 5959be83f8cbb68ae045107b2eb68a58b28afef2
Time: 2020-06-10
Author: jimthompson5802@gmail.com
File Name: ludwig/features/h3_feature.py
Class Name: H3InputFeature
Method Name: __init__
Project Name: uber/ludwig
Commit Name: 1b3c8b3e972227432a0f8d3f93cc76a6639d3f09
Time: 2020-06-01
Author: dudin@uber.com
File Name: ludwig/features/bag_feature.py
Class Name: BagInputFeature
Method Name: __init__
Project Name: uber/ludwig
Commit Name: e5a9ad6ba1ea433d0b25b17b9ed7aad15e403170
Time: 2020-05-08
Author: dudin@uber.com
File Name: ludwig/features/set_feature.py
Class Name: SetInputFeature
Method Name: __init__