Overview - GateNLP/gate-lf-python-data GitHub Wiki

  • Dataset(metafile) creates a representation of the data set, this loads the meta file and makes the meta information available as attribute .meta and also creates a Features instance for the independent features in attribute .features and a TargetNominal or TargetNumeric instance for the dependent feature in attribute .target. These objects are then used to convert rows from the data set to lists of converted representations ([indeplist, deplist]).
  • Features(meta) creates a representation of all the independent features
  • Target.make(meta) returns a Target instance of the proper type to represent the target