コード例 #1
0
 def load_options(self, args):
     super(MRUserCoordinatesSharingDistribution, self).load_options(args)
     filter_filename = self.options.filter_file
     if self.options.apply_filter:
         self._uids = Utils.get_filter_uids(filter_filename)
コード例 #2
0
ファイル: time_series.py プロジェクト: hbarthwal/infolab
 def load_options(self, args):
     super(MRExtractTimeSeries, self).load_options(args)
     key = Utils.get_mrjob_class_key(self.__class__)
     self._start_timestamp = jobsettings[key]['start_timestamp']
     self._end_timestamp = jobsettings[key]['end_timestamp']
     self._bucket_width = jobsettings[key]['bucket_width']
コード例 #3
0
 def load_options(self, args):
     super(MRUserGeoTweetCountDistribution, self).load_options(args)
     filter_filename = self.options.filter_file
     if self.options.apply_filter:
         self._uids = Utils.get_filter_uids(filter_filename)
コード例 #4
0
ファイル: place_type.py プロジェクト: hbarthwal/infolab
 def load_options(self, args):
     super(MRPlacesTypeDistribution, self).load_options(args)
     filter_filename = self.options.filter_file
     if self.options.apply_filter:
         self._uids = Utils.get_filter_uids(filter_filename)