Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassifierPrediction ¶
type ClassifierPrediction struct { Class string `json:"predicted_class,omitempty"` Probability float64 `json:"predicted_probability,omitempty"` Score string `json:"predicted_score,omitempty"` SHA256 string `json:"sha256,omitempty"` }
ClassifierPrediction represents the classifier prediction result.
func PEClassPrediction ¶
func PEClassPrediction(server string, buff []byte) ( ClassifierPrediction, error)
PEClassPrediction returns the ML PE classifier results.
type StringsRanker ¶
type StringsRanker struct { Strings []string `json:"strings,omitempty"` SHA256 string `json:"sha256,omitempty"` }
StringsRanker represents the string ranker results.
func RankStrings ¶
func RankStrings(server string, buff []byte) (StringsRanker, error)
RankStrings applies the String ranker model to a list of strings.
Click to show internal directories.
Click to hide internal directories.