modcentroid

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "ref2vec-centroid"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CentroidModule

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

func New

func New() *CentroidModule

func (*CentroidModule) ClassConfigDefaults

func (m *CentroidModule) ClassConfigDefaults() map[string]interface{}

func (*CentroidModule) Init

func (*CentroidModule) MetaInfo

func (m *CentroidModule) MetaInfo() (map[string]interface{}, error)

func (*CentroidModule) Name

func (m *CentroidModule) Name() string

func (*CentroidModule) PropertyConfigDefaults

func (m *CentroidModule) PropertyConfigDefaults(dataType *schema.DataType) map[string]interface{}

func (*CentroidModule) RootHandler

func (m *CentroidModule) RootHandler() http.Handler

func (*CentroidModule) Type

func (*CentroidModule) ValidateClass

func (m *CentroidModule) ValidateClass(ctx context.Context,
	class *models.Class, classConfig moduletools.ClassConfig,
) error

func (*CentroidModule) VectorizeObject

func (m *CentroidModule) VectorizeObject(ctx context.Context,
	obj *models.Object, cfg moduletools.ClassConfig,
	findRefVecsFn modulecapabilities.FindObjectFn,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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