analyze

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: BSD-3-Clause, GPL-3.0 Imports: 3 Imported by: 0

README

ANALYZE

Run manually:

Train model:

python3 ../analyze/dnn/train.py -mem=True -features 18 -batchSize=24000 -read infiltration_train/Connection.csv -drop=SrcIP,DstIP,SrcMAC,DstMAC,SrcPort  

Eval:

python3 ../analyze/dnn/score.py -mem=True -features 18 -batchSize=24000 -read infiltration_eval/Connection.csv -drop=SrcIP,DstIP,SrcMAC,DstMAC,SrcPort  

Process entire data in memory and run scoring:

python3 $HOME/go/src/github.com/dreadl0ck/netcap/analyze/dnn/train.py -features 18 -batchSize=24000 -read Thursday-01-03-2018.pcapng.net/Connection.csv -score=True -mem=True -epochs 2000

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	WorkDir string   `yaml:"workDir"`
	Command string   `yaml:"command"`
	Args    []string `yaml:"args"`

	Epochs int `yaml:"epochs"`

	// TODO: handle
	AuditRecords []string `yaml:"auditRecords"`
}

Config structure for analyzer plugins.

func ParseConfig

func ParseConfig(path string) *Config

ParseConfig parses and returns a config instance.

Jump to

Keyboard shortcuts

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