dga

package
v0.0.0-...-c6549bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_LEN = 75

Variables

This section is empty.

Functions

func SeqPadding

func SeqPadding(dns string) [MAX_LEN]float32

SeqPadding : function to convert dns string to float32 array with left padding

Types

type DGAModel

type DGAModel struct {
	// contains filtered or unexported fields
}

func New

func New(modelpath string) *DGAModel

func (*DGAModel) Predict

func (d *DGAModel) Predict(dns string) bool

Predict :main function to predict domain risk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL