proto

package
v0.0.0-...-7d47eef Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package proto includes all proto definitions used in the golang package in one large package.

It uses go generate tools to generate it from the source code, but we include the generated files in github, so one doesn't need to install anything.

Index

Constants

This section is empty.

Variables

View Source
var File_yggdrasil_decision_forests_utils_distribution_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IntegerDistributionDouble

type IntegerDistributionDouble struct {

	// [required]
	Counts []float64 `protobuf:"fixed64,1,rep,packed,name=counts" json:"counts,omitempty"`
	// [required]
	Sum *float64 `protobuf:"fixed64,2,opt,name=sum" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

Represents the (discrete) probability distribution of a random variable with natural (i.e. integer greater of equal to zero) support: counts[i]/sum is the probability of observation of i.

func (*IntegerDistributionDouble) Descriptor deprecated

func (*IntegerDistributionDouble) Descriptor() ([]byte, []int)

Deprecated: Use IntegerDistributionDouble.ProtoReflect.Descriptor instead.

func (*IntegerDistributionDouble) GetCounts

func (x *IntegerDistributionDouble) GetCounts() []float64

func (*IntegerDistributionDouble) GetSum

func (x *IntegerDistributionDouble) GetSum() float64

func (*IntegerDistributionDouble) ProtoMessage

func (*IntegerDistributionDouble) ProtoMessage()

func (*IntegerDistributionDouble) ProtoReflect

func (*IntegerDistributionDouble) Reset

func (x *IntegerDistributionDouble) Reset()

func (*IntegerDistributionDouble) String

func (x *IntegerDistributionDouble) String() string

type IntegerDistributionFloat

type IntegerDistributionFloat struct {

	// [required]
	Counts []float32 `protobuf:"fixed32,1,rep,packed,name=counts" json:"counts,omitempty"`
	// [required]
	Sum *float32 `protobuf:"fixed32,2,opt,name=sum" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

func (*IntegerDistributionFloat) Descriptor deprecated

func (*IntegerDistributionFloat) Descriptor() ([]byte, []int)

Deprecated: Use IntegerDistributionFloat.ProtoReflect.Descriptor instead.

func (*IntegerDistributionFloat) GetCounts

func (x *IntegerDistributionFloat) GetCounts() []float32

func (*IntegerDistributionFloat) GetSum

func (x *IntegerDistributionFloat) GetSum() float32

func (*IntegerDistributionFloat) ProtoMessage

func (*IntegerDistributionFloat) ProtoMessage()

func (*IntegerDistributionFloat) ProtoReflect

func (x *IntegerDistributionFloat) ProtoReflect() protoreflect.Message

func (*IntegerDistributionFloat) Reset

func (x *IntegerDistributionFloat) Reset()

func (*IntegerDistributionFloat) String

func (x *IntegerDistributionFloat) String() string

type IntegerDistributionInt64

type IntegerDistributionInt64 struct {

	// [required]
	Counts []int64 `protobuf:"varint,1,rep,packed,name=counts" json:"counts,omitempty"`
	// [required]
	Sum *int64 `protobuf:"varint,2,opt,name=sum" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

func (*IntegerDistributionInt64) Descriptor deprecated

func (*IntegerDistributionInt64) Descriptor() ([]byte, []int)

Deprecated: Use IntegerDistributionInt64.ProtoReflect.Descriptor instead.

func (*IntegerDistributionInt64) GetCounts

func (x *IntegerDistributionInt64) GetCounts() []int64

func (*IntegerDistributionInt64) GetSum

func (x *IntegerDistributionInt64) GetSum() int64

func (*IntegerDistributionInt64) ProtoMessage

func (*IntegerDistributionInt64) ProtoMessage()

func (*IntegerDistributionInt64) ProtoReflect

func (x *IntegerDistributionInt64) ProtoReflect() protoreflect.Message

func (*IntegerDistributionInt64) Reset

func (x *IntegerDistributionInt64) Reset()

func (*IntegerDistributionInt64) String

func (x *IntegerDistributionInt64) String() string

type IntegersConfusionMatrixDouble

type IntegersConfusionMatrixDouble struct {

	// Contains nrow x ncol elements. Low column indexed i.e. the second element
	// is counts[1,0].
	// [required]
	Counts []float64 `protobuf:"fixed64,1,rep,packed,name=counts" json:"counts,omitempty"`
	// [required]
	Sum *float64 `protobuf:"fixed64,2,opt,name=sum" json:"sum,omitempty"`
	// [required]
	Nrow *int32 `protobuf:"varint,3,opt,name=nrow" json:"nrow,omitempty"`
	// [required]
	Ncol *int32 `protobuf:"varint,4,opt,name=ncol" json:"ncol,omitempty"`
	// contains filtered or unexported fields
}

Confusion matrix between two integer distributions.

func (*IntegersConfusionMatrixDouble) Descriptor deprecated

func (*IntegersConfusionMatrixDouble) Descriptor() ([]byte, []int)

Deprecated: Use IntegersConfusionMatrixDouble.ProtoReflect.Descriptor instead.

func (*IntegersConfusionMatrixDouble) GetCounts

func (x *IntegersConfusionMatrixDouble) GetCounts() []float64

func (*IntegersConfusionMatrixDouble) GetNcol

func (x *IntegersConfusionMatrixDouble) GetNcol() int32

func (*IntegersConfusionMatrixDouble) GetNrow

func (x *IntegersConfusionMatrixDouble) GetNrow() int32

func (*IntegersConfusionMatrixDouble) GetSum

func (*IntegersConfusionMatrixDouble) ProtoMessage

func (*IntegersConfusionMatrixDouble) ProtoMessage()

func (*IntegersConfusionMatrixDouble) ProtoReflect

func (*IntegersConfusionMatrixDouble) Reset

func (x *IntegersConfusionMatrixDouble) Reset()

func (*IntegersConfusionMatrixDouble) String

type NormalDistributionDouble

type NormalDistributionDouble struct {

	// [required]
	Sum *float64 `protobuf:"fixed64,1,opt,name=sum" json:"sum,omitempty"`
	// [required]
	SumSquares *float64 `protobuf:"fixed64,2,opt,name=sum_squares,json=sumSquares" json:"sum_squares,omitempty"`
	// [required]
	Count *float64 `protobuf:"fixed64,3,opt,name=count" json:"count,omitempty"`
	// contains filtered or unexported fields
}

Describe a 1d normal distribution.

func (*NormalDistributionDouble) Descriptor deprecated

func (*NormalDistributionDouble) Descriptor() ([]byte, []int)

Deprecated: Use NormalDistributionDouble.ProtoReflect.Descriptor instead.

func (*NormalDistributionDouble) GetCount

func (x *NormalDistributionDouble) GetCount() float64

func (*NormalDistributionDouble) GetSum

func (x *NormalDistributionDouble) GetSum() float64

func (*NormalDistributionDouble) GetSumSquares

func (x *NormalDistributionDouble) GetSumSquares() float64

func (*NormalDistributionDouble) ProtoMessage

func (*NormalDistributionDouble) ProtoMessage()

func (*NormalDistributionDouble) ProtoReflect

func (x *NormalDistributionDouble) ProtoReflect() protoreflect.Message

func (*NormalDistributionDouble) Reset

func (x *NormalDistributionDouble) Reset()

func (*NormalDistributionDouble) String

func (x *NormalDistributionDouble) String() string

Jump to

Keyboard shortcuts

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