noise-lab / netml

Feature Extraction and Machine Learning from Network Traffic Traces
Apache License 2.0
54 stars 16 forks source link

Dimension error for statistics #14

Closed yuming-l2 closed 1 year ago

yuming-l2 commented 1 year ago

In PCAP._flow2features with feat_type=STATS, the feature matrix generated will have a lot of trailing zeros.

Should these be self.dim instead of dim? https://github.com/chicago-cdac/netml/blob/bae0e24240a7c82e8c63ef3a0e5f9fbd6d0eeff4/src/netml/pparser/parser.py#L809