Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Global = Default()
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { RangePow []int K []int L []int Sparsity []float64 BatchSize int Rehash int Rebuild int InputDim int TotRecords int TotRecordsTest int LearningRate float64 Epoch int Stepsize int SizesOfLayers []int NumLayer int TrainData string TestData string Weights string SavedWeights string LogFile string UseAdam bool HashFunction HashFunctionType LoadWeight bool LayerMode LayerModeType CpuProfile bool MemProfile bool }
func Default ¶
func Default() *Configuration
func FromJsonFile ¶
func FromJsonFile(jsonFilename string) (*Configuration, error)
type HashFunctionType ¶
type HashFunctionType int8
const ( WtaHashFunction HashFunctionType = iota + 1 DensifiedWtaHashFunction DensifiedMinhashFunction SparseRandomProjectionHashFunction )
type LayerModeType ¶
type LayerModeType int8
const ( LayerMode1 LayerModeType = iota + 1 // mode 1 == top-K treshold ? LayerMode2 LayerMode3 LayerMode4 // mode 4 == sampling ? )
Click to show internal directories.
Click to hide internal directories.