training

package
v0.0.0-...-c888d9e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: MIT Imports: 8 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//QueryCounter state
	QueryCounter = uint64(0)

	//AbnormalCounter state
	AbnormalCounter = uint64(0)

	//DBCon holds a pointer to our local database connection
	DBCon *bolt.DB
)

Functions

func AddToTrainingSet

func AddToTrainingSet(context sql.QueryContext) error

AddToTrainingSet records query context in local database

func CheckQuery

func CheckQuery(context sql.QueryContext) bool

CheckQuery pattern, returns true if it finds the pattern We should keep it as fast as possible

Types

This section is empty.

Jump to

Keyboard shortcuts

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