Documentation ¶
Index ¶
- type AttentiveTransformerModule
- type AttentiveTransformerOpts
- type Classifier
- type ClassifierOpts
- type FeatureTransformerModule
- type FeatureTransformerOpts
- type GLUBlockModule
- type GLUBlockOpts
- type Regressor
- type RegressorOpts
- type TabNetModule
- type TabNetNoEmbeddingsModule
- type TabNetNoEmbeddingsOpts
- type TabNetOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttentiveTransformerModule ¶
type AttentiveTransformerModule struct {
// contains filtered or unexported fields
}
func AttentiveTransformer ¶
func AttentiveTransformer(nn *godl.Model, opts AttentiveTransformerOpts) *AttentiveTransformerModule
AttentiveTransformer implements an attetion transformer layer
type Classifier ¶
type Classifier struct {
// contains filtered or unexported fields
}
func NewClassifier ¶
func NewClassifier(inputDim int, catDims []int, catIdxs []int, catEmbDim []int, opts ClassifierOpts) *Classifier
func (*Classifier) Model ¶
func (r *Classifier) Model() *godl.Model
type ClassifierOpts ¶
type FeatureTransformerModule ¶
type FeatureTransformerModule struct {
// contains filtered or unexported fields
}
func FeatureTransformer ¶
func FeatureTransformer(nn *godl.Model, opts FeatureTransformerOpts) *FeatureTransformerModule
FeatureTransformer implements a feature transformer layer
type FeatureTransformerOpts ¶
type FeatureTransformerOpts struct { VirtualBatchSize int IndependentBlocks int InputDimension int OutputDimension int WithBias bool Momentum float64 WeightsInit gorgonia.InitWFn }
FeatureTransformerOpts contains options for feature transformer layer
type GLUBlockModule ¶
type GLUBlockModule struct {
// contains filtered or unexported fields
}
func GLUBlock ¶
func GLUBlock(nn *godl.Model, opts GLUBlockOpts) *GLUBlockModule
type GLUBlockOpts ¶
type Regressor ¶
type Regressor struct {
// contains filtered or unexported fields
}
func NewRegressor ¶
type RegressorOpts ¶
type TabNetModule ¶
type TabNetModule struct {
// contains filtered or unexported fields
}
func TabNet ¶
func TabNet(nn *godl.Model, opts TabNetOpts) *TabNetModule
func (*TabNetModule) Name ¶
func (m *TabNetModule) Name() string
type TabNetNoEmbeddingsModule ¶
type TabNetNoEmbeddingsModule struct {
// contains filtered or unexported fields
}
func TabNetNoEmbeddings ¶
func TabNetNoEmbeddings(nn *godl.Model, opts TabNetNoEmbeddingsOpts) *TabNetNoEmbeddingsModule
TabNetNoEmbeddings implements the tab net architecture
type TabNetNoEmbeddingsOpts ¶
type TabNetNoEmbeddingsOpts struct { OutputSize int InputSize int BatchSize int IndependentBlocks int DecisionSteps int PredictionLayerDim int AttentionLayerDim int MaskFunction activation.Function WithBias bool Gamma float64 Momentum float64 Epsilon float64 VirtualBatchSize int WeightsInit, ScaleInit, BiasInit gorgonia.InitWFn }
TabNetNoEmbeddingsOpts contains parameters to configure the tab net algorithm
type TabNetOpts ¶
type TabNetOpts struct { OutputSize int InputSize int BatchSize int IndependentBlocks int DecisionSteps int PredictionLayerDim int AttentionLayerDim int MaskFunction activation.Function WithBias bool Gamma float64 Momentum float64 Epsilon float64 VirtualBatchSize int WeightsInit, ScaleInit, BiasInit gorgonia.InitWFn CatDims []int CatIdxs []int CatEmbDim []int }
Click to show internal directories.
Click to hide internal directories.