Documentation ¶
Index ¶
- Variables
- func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer)
- type DeleteModelRequest
- func (*DeleteModelRequest) Descriptor() ([]byte, []int)
- func (m *DeleteModelRequest) GetDatasetId() string
- func (m *DeleteModelRequest) GetModelId() string
- func (m *DeleteModelRequest) GetProjectId() string
- func (*DeleteModelRequest) ProtoMessage()
- func (m *DeleteModelRequest) Reset()
- func (m *DeleteModelRequest) String() string
- func (m *DeleteModelRequest) XXX_DiscardUnknown()
- func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteModelRequest) XXX_Merge(src proto.Message)
- func (m *DeleteModelRequest) XXX_Size() int
- func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error
- type EncryptionConfiguration
- func (*EncryptionConfiguration) Descriptor() ([]byte, []int)
- func (m *EncryptionConfiguration) GetKmsKeyName() *wrappers.StringValue
- func (*EncryptionConfiguration) ProtoMessage()
- func (m *EncryptionConfiguration) Reset()
- func (m *EncryptionConfiguration) String() string
- func (m *EncryptionConfiguration) XXX_DiscardUnknown()
- func (m *EncryptionConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncryptionConfiguration) XXX_Merge(src proto.Message)
- func (m *EncryptionConfiguration) XXX_Size() int
- func (m *EncryptionConfiguration) XXX_Unmarshal(b []byte) error
- type GetModelRequest
- func (*GetModelRequest) Descriptor() ([]byte, []int)
- func (m *GetModelRequest) GetDatasetId() string
- func (m *GetModelRequest) GetModelId() string
- func (m *GetModelRequest) GetProjectId() string
- func (*GetModelRequest) ProtoMessage()
- func (m *GetModelRequest) Reset()
- func (m *GetModelRequest) String() string
- func (m *GetModelRequest) XXX_DiscardUnknown()
- func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetModelRequest) XXX_Merge(src proto.Message)
- func (m *GetModelRequest) XXX_Size() int
- func (m *GetModelRequest) XXX_Unmarshal(b []byte) error
- type ListModelsRequest
- func (*ListModelsRequest) Descriptor() ([]byte, []int)
- func (m *ListModelsRequest) GetDatasetId() string
- func (m *ListModelsRequest) GetMaxResults() *wrappers.UInt32Value
- func (m *ListModelsRequest) GetPageToken() string
- func (m *ListModelsRequest) GetProjectId() string
- func (*ListModelsRequest) ProtoMessage()
- func (m *ListModelsRequest) Reset()
- func (m *ListModelsRequest) String() string
- func (m *ListModelsRequest) XXX_DiscardUnknown()
- func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListModelsRequest) XXX_Merge(src proto.Message)
- func (m *ListModelsRequest) XXX_Size() int
- func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error
- type ListModelsResponse
- func (*ListModelsResponse) Descriptor() ([]byte, []int)
- func (m *ListModelsResponse) GetModels() []*Model
- func (m *ListModelsResponse) GetNextPageToken() string
- func (*ListModelsResponse) ProtoMessage()
- func (m *ListModelsResponse) Reset()
- func (m *ListModelsResponse) String() string
- func (m *ListModelsResponse) XXX_DiscardUnknown()
- func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListModelsResponse) XXX_Merge(src proto.Message)
- func (m *ListModelsResponse) XXX_Size() int
- func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error
- type Model
- func (*Model) Descriptor() ([]byte, []int)
- func (m *Model) GetCreationTime() int64
- func (m *Model) GetDescription() string
- func (m *Model) GetEncryptionConfiguration() *EncryptionConfiguration
- func (m *Model) GetEtag() string
- func (m *Model) GetExpirationTime() int64
- func (m *Model) GetFeatureColumns() []*StandardSqlField
- func (m *Model) GetFriendlyName() string
- func (m *Model) GetLabelColumns() []*StandardSqlField
- func (m *Model) GetLabels() map[string]string
- func (m *Model) GetLastModifiedTime() int64
- func (m *Model) GetLocation() string
- func (m *Model) GetModelReference() *ModelReference
- func (m *Model) GetModelType() Model_ModelType
- func (m *Model) GetTrainingRuns() []*Model_TrainingRun
- func (*Model) ProtoMessage()
- func (m *Model) Reset()
- func (m *Model) String() string
- func (m *Model) XXX_DiscardUnknown()
- func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model) XXX_Merge(src proto.Message)
- func (m *Model) XXX_Size() int
- func (m *Model) XXX_Unmarshal(b []byte) error
- type ModelReference
- func (*ModelReference) Descriptor() ([]byte, []int)
- func (m *ModelReference) GetDatasetId() string
- func (m *ModelReference) GetModelId() string
- func (m *ModelReference) GetProjectId() string
- func (*ModelReference) ProtoMessage()
- func (m *ModelReference) Reset()
- func (m *ModelReference) String() string
- func (m *ModelReference) XXX_DiscardUnknown()
- func (m *ModelReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModelReference) XXX_Merge(src proto.Message)
- func (m *ModelReference) XXX_Size() int
- func (m *ModelReference) XXX_Unmarshal(b []byte) error
- type ModelServiceClient
- type ModelServiceServer
- type Model_AggregateClassificationMetrics
- func (*Model_AggregateClassificationMetrics) Descriptor() ([]byte, []int)
- func (m *Model_AggregateClassificationMetrics) GetAccuracy() *wrappers.DoubleValue
- func (m *Model_AggregateClassificationMetrics) GetF1Score() *wrappers.DoubleValue
- func (m *Model_AggregateClassificationMetrics) GetLogLoss() *wrappers.DoubleValue
- func (m *Model_AggregateClassificationMetrics) GetPrecision() *wrappers.DoubleValue
- func (m *Model_AggregateClassificationMetrics) GetRecall() *wrappers.DoubleValue
- func (m *Model_AggregateClassificationMetrics) GetRocAuc() *wrappers.DoubleValue
- func (m *Model_AggregateClassificationMetrics) GetThreshold() *wrappers.DoubleValue
- func (*Model_AggregateClassificationMetrics) ProtoMessage()
- func (m *Model_AggregateClassificationMetrics) Reset()
- func (m *Model_AggregateClassificationMetrics) String() string
- func (m *Model_AggregateClassificationMetrics) XXX_DiscardUnknown()
- func (m *Model_AggregateClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_AggregateClassificationMetrics) XXX_Merge(src proto.Message)
- func (m *Model_AggregateClassificationMetrics) XXX_Size() int
- func (m *Model_AggregateClassificationMetrics) XXX_Unmarshal(b []byte) error
- type Model_BinaryClassificationMetrics
- func (*Model_BinaryClassificationMetrics) Descriptor() ([]byte, []int)
- func (m *Model_BinaryClassificationMetrics) GetAggregateClassificationMetrics() *Model_AggregateClassificationMetrics
- func (m *Model_BinaryClassificationMetrics) GetBinaryConfusionMatrixList() []*Model_BinaryClassificationMetrics_BinaryConfusionMatrix
- func (m *Model_BinaryClassificationMetrics) GetNegativeLabel() string
- func (m *Model_BinaryClassificationMetrics) GetPositiveLabel() string
- func (*Model_BinaryClassificationMetrics) ProtoMessage()
- func (m *Model_BinaryClassificationMetrics) Reset()
- func (m *Model_BinaryClassificationMetrics) String() string
- func (m *Model_BinaryClassificationMetrics) XXX_DiscardUnknown()
- func (m *Model_BinaryClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_BinaryClassificationMetrics) XXX_Merge(src proto.Message)
- func (m *Model_BinaryClassificationMetrics) XXX_Size() int
- func (m *Model_BinaryClassificationMetrics) XXX_Unmarshal(b []byte) error
- type Model_BinaryClassificationMetrics_BinaryConfusionMatrix
- func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Descriptor() ([]byte, []int)
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetAccuracy() *wrappers.DoubleValue
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetF1Score() *wrappers.DoubleValue
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalseNegatives() *wrappers.Int64Value
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalsePositives() *wrappers.Int64Value
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPositiveClassThreshold() *wrappers.DoubleValue
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPrecision() *wrappers.DoubleValue
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetRecall() *wrappers.DoubleValue
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTrueNegatives() *wrappers.Int64Value
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTruePositives() *wrappers.Int64Value
- func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) ProtoMessage()
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Reset()
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) String() string
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_DiscardUnknown()
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Merge(src proto.Message)
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Size() int
- func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Unmarshal(b []byte) error
- type Model_ClusteringMetrics
- func (*Model_ClusteringMetrics) Descriptor() ([]byte, []int)
- func (m *Model_ClusteringMetrics) GetClusters() []*Model_ClusteringMetrics_Cluster
- func (m *Model_ClusteringMetrics) GetDaviesBouldinIndex() *wrappers.DoubleValue
- func (m *Model_ClusteringMetrics) GetMeanSquaredDistance() *wrappers.DoubleValue
- func (*Model_ClusteringMetrics) ProtoMessage()
- func (m *Model_ClusteringMetrics) Reset()
- func (m *Model_ClusteringMetrics) String() string
- func (m *Model_ClusteringMetrics) XXX_DiscardUnknown()
- func (m *Model_ClusteringMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_ClusteringMetrics) XXX_Merge(src proto.Message)
- func (m *Model_ClusteringMetrics) XXX_Size() int
- func (m *Model_ClusteringMetrics) XXX_Unmarshal(b []byte) error
- type Model_ClusteringMetrics_Cluster
- func (*Model_ClusteringMetrics_Cluster) Descriptor() ([]byte, []int)
- func (m *Model_ClusteringMetrics_Cluster) GetCentroidId() int64
- func (m *Model_ClusteringMetrics_Cluster) GetCount() *wrappers.Int64Value
- func (m *Model_ClusteringMetrics_Cluster) GetFeatureValues() []*Model_ClusteringMetrics_Cluster_FeatureValue
- func (*Model_ClusteringMetrics_Cluster) ProtoMessage()
- func (m *Model_ClusteringMetrics_Cluster) Reset()
- func (m *Model_ClusteringMetrics_Cluster) String() string
- func (m *Model_ClusteringMetrics_Cluster) XXX_DiscardUnknown()
- func (m *Model_ClusteringMetrics_Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_ClusteringMetrics_Cluster) XXX_Merge(src proto.Message)
- func (m *Model_ClusteringMetrics_Cluster) XXX_Size() int
- func (m *Model_ClusteringMetrics_Cluster) XXX_Unmarshal(b []byte) error
- type Model_ClusteringMetrics_Cluster_FeatureValue
- func (*Model_ClusteringMetrics_Cluster_FeatureValue) Descriptor() ([]byte, []int)
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetCategoricalValue() *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetFeatureColumn() string
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetNumericalValue() *wrappers.DoubleValue
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetValue() isModel_ClusteringMetrics_Cluster_FeatureValue_Value
- func (*Model_ClusteringMetrics_Cluster_FeatureValue) ProtoMessage()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) Reset()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) String() string
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_DiscardUnknown()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Merge(src proto.Message)
- func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_OneofWrappers() []interface{}
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Size() int
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Unmarshal(b []byte) error
- type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue
- func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Descriptor() ([]byte, []int)
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) GetCategoryCounts() []*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount
- func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) ProtoMessage()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Reset()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) String() string
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_DiscardUnknown()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Merge(src proto.Message)
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Size() int
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Unmarshal(b []byte) error
- type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_
- type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount
- func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Descriptor() ([]byte, []int)
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCategory() string
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCount() *wrappers.Int64Value
- func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) ProtoMessage()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Reset()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) String() string
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_DiscardUnknown()
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Merge(src proto.Message)
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Size() int
- func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Unmarshal(b []byte) error
- type Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue
- type Model_DataSplitMethod
- type Model_DistanceType
- type Model_EvaluationMetrics
- func (*Model_EvaluationMetrics) Descriptor() ([]byte, []int)
- func (m *Model_EvaluationMetrics) GetBinaryClassificationMetrics() *Model_BinaryClassificationMetrics
- func (m *Model_EvaluationMetrics) GetClusteringMetrics() *Model_ClusteringMetrics
- func (m *Model_EvaluationMetrics) GetMetrics() isModel_EvaluationMetrics_Metrics
- func (m *Model_EvaluationMetrics) GetMultiClassClassificationMetrics() *Model_MultiClassClassificationMetrics
- func (m *Model_EvaluationMetrics) GetRegressionMetrics() *Model_RegressionMetrics
- func (*Model_EvaluationMetrics) ProtoMessage()
- func (m *Model_EvaluationMetrics) Reset()
- func (m *Model_EvaluationMetrics) String() string
- func (m *Model_EvaluationMetrics) XXX_DiscardUnknown()
- func (m *Model_EvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_EvaluationMetrics) XXX_Merge(src proto.Message)
- func (*Model_EvaluationMetrics) XXX_OneofWrappers() []interface{}
- func (m *Model_EvaluationMetrics) XXX_Size() int
- func (m *Model_EvaluationMetrics) XXX_Unmarshal(b []byte) error
- type Model_EvaluationMetrics_BinaryClassificationMetrics
- type Model_EvaluationMetrics_ClusteringMetrics
- type Model_EvaluationMetrics_MultiClassClassificationMetrics
- type Model_EvaluationMetrics_RegressionMetrics
- type Model_KmeansEnums
- func (*Model_KmeansEnums) Descriptor() ([]byte, []int)
- func (*Model_KmeansEnums) ProtoMessage()
- func (m *Model_KmeansEnums) Reset()
- func (m *Model_KmeansEnums) String() string
- func (m *Model_KmeansEnums) XXX_DiscardUnknown()
- func (m *Model_KmeansEnums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_KmeansEnums) XXX_Merge(src proto.Message)
- func (m *Model_KmeansEnums) XXX_Size() int
- func (m *Model_KmeansEnums) XXX_Unmarshal(b []byte) error
- type Model_KmeansEnums_KmeansInitializationMethod
- type Model_LearnRateStrategy
- type Model_LossType
- type Model_ModelType
- type Model_MultiClassClassificationMetrics
- func (*Model_MultiClassClassificationMetrics) Descriptor() ([]byte, []int)
- func (m *Model_MultiClassClassificationMetrics) GetAggregateClassificationMetrics() *Model_AggregateClassificationMetrics
- func (m *Model_MultiClassClassificationMetrics) GetConfusionMatrixList() []*Model_MultiClassClassificationMetrics_ConfusionMatrix
- func (*Model_MultiClassClassificationMetrics) ProtoMessage()
- func (m *Model_MultiClassClassificationMetrics) Reset()
- func (m *Model_MultiClassClassificationMetrics) String() string
- func (m *Model_MultiClassClassificationMetrics) XXX_DiscardUnknown()
- func (m *Model_MultiClassClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_MultiClassClassificationMetrics) XXX_Merge(src proto.Message)
- func (m *Model_MultiClassClassificationMetrics) XXX_Size() int
- func (m *Model_MultiClassClassificationMetrics) XXX_Unmarshal(b []byte) error
- type Model_MultiClassClassificationMetrics_ConfusionMatrix
- func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) GetConfidenceThreshold() *wrappers.DoubleValue
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) GetRows() []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row
- func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) ProtoMessage()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) Reset()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) String() string
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_DiscardUnknown()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Merge(src proto.Message)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Size() int
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Unmarshal(b []byte) error
- type Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry
- func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Descriptor() ([]byte, []int)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetItemCount() *wrappers.Int64Value
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetPredictedLabel() string
- func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) ProtoMessage()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Reset()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) String() string
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_DiscardUnknown()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Merge(src proto.Message)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Size() int
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Unmarshal(b []byte) error
- type Model_MultiClassClassificationMetrics_ConfusionMatrix_Row
- func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetActualLabel() string
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetEntries() []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry
- func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) ProtoMessage()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Reset()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) String() string
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown()
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Merge(src proto.Message)
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Size() int
- func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error
- type Model_OptimizationStrategy
- type Model_RegressionMetrics
- func (*Model_RegressionMetrics) Descriptor() ([]byte, []int)
- func (m *Model_RegressionMetrics) GetMeanAbsoluteError() *wrappers.DoubleValue
- func (m *Model_RegressionMetrics) GetMeanSquaredError() *wrappers.DoubleValue
- func (m *Model_RegressionMetrics) GetMeanSquaredLogError() *wrappers.DoubleValue
- func (m *Model_RegressionMetrics) GetMedianAbsoluteError() *wrappers.DoubleValue
- func (m *Model_RegressionMetrics) GetRSquared() *wrappers.DoubleValue
- func (*Model_RegressionMetrics) ProtoMessage()
- func (m *Model_RegressionMetrics) Reset()
- func (m *Model_RegressionMetrics) String() string
- func (m *Model_RegressionMetrics) XXX_DiscardUnknown()
- func (m *Model_RegressionMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_RegressionMetrics) XXX_Merge(src proto.Message)
- func (m *Model_RegressionMetrics) XXX_Size() int
- func (m *Model_RegressionMetrics) XXX_Unmarshal(b []byte) error
- type Model_TrainingRun
- func (*Model_TrainingRun) Descriptor() ([]byte, []int)
- func (m *Model_TrainingRun) GetEvaluationMetrics() *Model_EvaluationMetrics
- func (m *Model_TrainingRun) GetResults() []*Model_TrainingRun_IterationResult
- func (m *Model_TrainingRun) GetStartTime() *timestamp.Timestamp
- func (m *Model_TrainingRun) GetTrainingOptions() *Model_TrainingRun_TrainingOptions
- func (*Model_TrainingRun) ProtoMessage()
- func (m *Model_TrainingRun) Reset()
- func (m *Model_TrainingRun) String() string
- func (m *Model_TrainingRun) XXX_DiscardUnknown()
- func (m *Model_TrainingRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_TrainingRun) XXX_Merge(src proto.Message)
- func (m *Model_TrainingRun) XXX_Size() int
- func (m *Model_TrainingRun) XXX_Unmarshal(b []byte) error
- type Model_TrainingRun_IterationResult
- func (*Model_TrainingRun_IterationResult) Descriptor() ([]byte, []int)
- func (m *Model_TrainingRun_IterationResult) GetClusterInfos() []*Model_TrainingRun_IterationResult_ClusterInfo
- func (m *Model_TrainingRun_IterationResult) GetDurationMs() *wrappers.Int64Value
- func (m *Model_TrainingRun_IterationResult) GetEvalLoss() *wrappers.DoubleValue
- func (m *Model_TrainingRun_IterationResult) GetIndex() *wrappers.Int32Value
- func (m *Model_TrainingRun_IterationResult) GetLearnRate() float64
- func (m *Model_TrainingRun_IterationResult) GetTrainingLoss() *wrappers.DoubleValue
- func (*Model_TrainingRun_IterationResult) ProtoMessage()
- func (m *Model_TrainingRun_IterationResult) Reset()
- func (m *Model_TrainingRun_IterationResult) String() string
- func (m *Model_TrainingRun_IterationResult) XXX_DiscardUnknown()
- func (m *Model_TrainingRun_IterationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_TrainingRun_IterationResult) XXX_Merge(src proto.Message)
- func (m *Model_TrainingRun_IterationResult) XXX_Size() int
- func (m *Model_TrainingRun_IterationResult) XXX_Unmarshal(b []byte) error
- type Model_TrainingRun_IterationResult_ClusterInfo
- func (*Model_TrainingRun_IterationResult_ClusterInfo) Descriptor() ([]byte, []int)
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetCentroidId() int64
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetClusterRadius() *wrappers.DoubleValue
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetClusterSize() *wrappers.Int64Value
- func (*Model_TrainingRun_IterationResult_ClusterInfo) ProtoMessage()
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) Reset()
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) String() string
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_DiscardUnknown()
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Merge(src proto.Message)
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Size() int
- func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Unmarshal(b []byte) error
- type Model_TrainingRun_TrainingOptions
- func (*Model_TrainingRun_TrainingOptions) Descriptor() ([]byte, []int)
- func (m *Model_TrainingRun_TrainingOptions) GetDataSplitColumn() string
- func (m *Model_TrainingRun_TrainingOptions) GetDataSplitEvalFraction() float64
- func (m *Model_TrainingRun_TrainingOptions) GetDataSplitMethod() Model_DataSplitMethod
- func (m *Model_TrainingRun_TrainingOptions) GetDistanceType() Model_DistanceType
- func (m *Model_TrainingRun_TrainingOptions) GetEarlyStop() *wrappers.BoolValue
- func (m *Model_TrainingRun_TrainingOptions) GetInitialLearnRate() float64
- func (m *Model_TrainingRun_TrainingOptions) GetInputLabelColumns() []string
- func (m *Model_TrainingRun_TrainingOptions) GetKmeansInitializationColumn() string
- func (m *Model_TrainingRun_TrainingOptions) GetKmeansInitializationMethod() Model_KmeansEnums_KmeansInitializationMethod
- func (m *Model_TrainingRun_TrainingOptions) GetL1Regularization() *wrappers.DoubleValue
- func (m *Model_TrainingRun_TrainingOptions) GetL2Regularization() *wrappers.DoubleValue
- func (m *Model_TrainingRun_TrainingOptions) GetLabelClassWeights() map[string]float64
- func (m *Model_TrainingRun_TrainingOptions) GetLearnRate() float64
- func (m *Model_TrainingRun_TrainingOptions) GetLearnRateStrategy() Model_LearnRateStrategy
- func (m *Model_TrainingRun_TrainingOptions) GetLossType() Model_LossType
- func (m *Model_TrainingRun_TrainingOptions) GetMaxIterations() int64
- func (m *Model_TrainingRun_TrainingOptions) GetMinRelativeProgress() *wrappers.DoubleValue
- func (m *Model_TrainingRun_TrainingOptions) GetModelUri() string
- func (m *Model_TrainingRun_TrainingOptions) GetNumClusters() int64
- func (m *Model_TrainingRun_TrainingOptions) GetOptimizationStrategy() Model_OptimizationStrategy
- func (m *Model_TrainingRun_TrainingOptions) GetWarmStart() *wrappers.BoolValue
- func (*Model_TrainingRun_TrainingOptions) ProtoMessage()
- func (m *Model_TrainingRun_TrainingOptions) Reset()
- func (m *Model_TrainingRun_TrainingOptions) String() string
- func (m *Model_TrainingRun_TrainingOptions) XXX_DiscardUnknown()
- func (m *Model_TrainingRun_TrainingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model_TrainingRun_TrainingOptions) XXX_Merge(src proto.Message)
- func (m *Model_TrainingRun_TrainingOptions) XXX_Size() int
- func (m *Model_TrainingRun_TrainingOptions) XXX_Unmarshal(b []byte) error
- type PatchModelRequest
- func (*PatchModelRequest) Descriptor() ([]byte, []int)
- func (m *PatchModelRequest) GetDatasetId() string
- func (m *PatchModelRequest) GetModel() *Model
- func (m *PatchModelRequest) GetModelId() string
- func (m *PatchModelRequest) GetProjectId() string
- func (*PatchModelRequest) ProtoMessage()
- func (m *PatchModelRequest) Reset()
- func (m *PatchModelRequest) String() string
- func (m *PatchModelRequest) XXX_DiscardUnknown()
- func (m *PatchModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PatchModelRequest) XXX_Merge(src proto.Message)
- func (m *PatchModelRequest) XXX_Size() int
- func (m *PatchModelRequest) XXX_Unmarshal(b []byte) error
- type StandardSqlDataType
- func (*StandardSqlDataType) Descriptor() ([]byte, []int)
- func (m *StandardSqlDataType) GetArrayElementType() *StandardSqlDataType
- func (m *StandardSqlDataType) GetStructType() *StandardSqlStructType
- func (m *StandardSqlDataType) GetSubType() isStandardSqlDataType_SubType
- func (m *StandardSqlDataType) GetTypeKind() StandardSqlDataType_TypeKind
- func (*StandardSqlDataType) ProtoMessage()
- func (m *StandardSqlDataType) Reset()
- func (m *StandardSqlDataType) String() string
- func (m *StandardSqlDataType) XXX_DiscardUnknown()
- func (m *StandardSqlDataType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StandardSqlDataType) XXX_Merge(src proto.Message)
- func (*StandardSqlDataType) XXX_OneofWrappers() []interface{}
- func (m *StandardSqlDataType) XXX_Size() int
- func (m *StandardSqlDataType) XXX_Unmarshal(b []byte) error
- type StandardSqlDataType_ArrayElementType
- type StandardSqlDataType_StructType
- type StandardSqlDataType_TypeKind
- type StandardSqlField
- func (*StandardSqlField) Descriptor() ([]byte, []int)
- func (m *StandardSqlField) GetName() string
- func (m *StandardSqlField) GetType() *StandardSqlDataType
- func (*StandardSqlField) ProtoMessage()
- func (m *StandardSqlField) Reset()
- func (m *StandardSqlField) String() string
- func (m *StandardSqlField) XXX_DiscardUnknown()
- func (m *StandardSqlField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StandardSqlField) XXX_Merge(src proto.Message)
- func (m *StandardSqlField) XXX_Size() int
- func (m *StandardSqlField) XXX_Unmarshal(b []byte) error
- type StandardSqlStructType
- func (*StandardSqlStructType) Descriptor() ([]byte, []int)
- func (m *StandardSqlStructType) GetFields() []*StandardSqlField
- func (*StandardSqlStructType) ProtoMessage()
- func (m *StandardSqlStructType) Reset()
- func (m *StandardSqlStructType) String() string
- func (m *StandardSqlStructType) XXX_DiscardUnknown()
- func (m *StandardSqlStructType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StandardSqlStructType) XXX_Merge(src proto.Message)
- func (m *StandardSqlStructType) XXX_Size() int
- func (m *StandardSqlStructType) XXX_Unmarshal(b []byte) error
- type UnimplementedModelServiceServer
- func (*UnimplementedModelServiceServer) DeleteModel(ctx context.Context, req *DeleteModelRequest) (*empty.Empty, error)
- func (*UnimplementedModelServiceServer) GetModel(ctx context.Context, req *GetModelRequest) (*Model, error)
- func (*UnimplementedModelServiceServer) ListModels(ctx context.Context, req *ListModelsRequest) (*ListModelsResponse, error)
- func (*UnimplementedModelServiceServer) PatchModel(ctx context.Context, req *PatchModelRequest) (*Model, error)
Constants ¶
This section is empty.
Variables ¶
var Model_DataSplitMethod_name = map[int32]string{
0: "DATA_SPLIT_METHOD_UNSPECIFIED",
1: "RANDOM",
2: "CUSTOM",
3: "SEQUENTIAL",
4: "NO_SPLIT",
5: "AUTO_SPLIT",
}
var Model_DataSplitMethod_value = map[string]int32{
"DATA_SPLIT_METHOD_UNSPECIFIED": 0,
"RANDOM": 1,
"CUSTOM": 2,
"SEQUENTIAL": 3,
"NO_SPLIT": 4,
"AUTO_SPLIT": 5,
}
var Model_DistanceType_name = map[int32]string{
0: "DISTANCE_TYPE_UNSPECIFIED",
1: "EUCLIDEAN",
2: "COSINE",
}
var Model_DistanceType_value = map[string]int32{
"DISTANCE_TYPE_UNSPECIFIED": 0,
"EUCLIDEAN": 1,
"COSINE": 2,
}
var Model_KmeansEnums_KmeansInitializationMethod_name = map[int32]string{
0: "KMEANS_INITIALIZATION_METHOD_UNSPECIFIED",
1: "RANDOM",
2: "CUSTOM",
}
var Model_KmeansEnums_KmeansInitializationMethod_value = map[string]int32{
"KMEANS_INITIALIZATION_METHOD_UNSPECIFIED": 0,
"RANDOM": 1,
"CUSTOM": 2,
}
var Model_LearnRateStrategy_name = map[int32]string{
0: "LEARN_RATE_STRATEGY_UNSPECIFIED",
1: "LINE_SEARCH",
2: "CONSTANT",
}
var Model_LearnRateStrategy_value = map[string]int32{
"LEARN_RATE_STRATEGY_UNSPECIFIED": 0,
"LINE_SEARCH": 1,
"CONSTANT": 2,
}
var Model_LossType_name = map[int32]string{
0: "LOSS_TYPE_UNSPECIFIED",
1: "MEAN_SQUARED_LOSS",
2: "MEAN_LOG_LOSS",
}
var Model_LossType_value = map[string]int32{
"LOSS_TYPE_UNSPECIFIED": 0,
"MEAN_SQUARED_LOSS": 1,
"MEAN_LOG_LOSS": 2,
}
var Model_ModelType_name = map[int32]string{
0: "MODEL_TYPE_UNSPECIFIED",
1: "LINEAR_REGRESSION",
2: "LOGISTIC_REGRESSION",
3: "KMEANS",
6: "TENSORFLOW",
}
var Model_ModelType_value = map[string]int32{
"MODEL_TYPE_UNSPECIFIED": 0,
"LINEAR_REGRESSION": 1,
"LOGISTIC_REGRESSION": 2,
"KMEANS": 3,
"TENSORFLOW": 6,
}
var Model_OptimizationStrategy_name = map[int32]string{
0: "OPTIMIZATION_STRATEGY_UNSPECIFIED",
1: "BATCH_GRADIENT_DESCENT",
2: "NORMAL_EQUATION",
}
var Model_OptimizationStrategy_value = map[string]int32{
"OPTIMIZATION_STRATEGY_UNSPECIFIED": 0,
"BATCH_GRADIENT_DESCENT": 1,
"NORMAL_EQUATION": 2,
}
var StandardSqlDataType_TypeKind_name = map[int32]string{
0: "TYPE_KIND_UNSPECIFIED",
2: "INT64",
5: "BOOL",
7: "FLOAT64",
8: "STRING",
9: "BYTES",
19: "TIMESTAMP",
10: "DATE",
20: "TIME",
21: "DATETIME",
22: "GEOGRAPHY",
23: "NUMERIC",
16: "ARRAY",
17: "STRUCT",
}
var StandardSqlDataType_TypeKind_value = map[string]int32{
"TYPE_KIND_UNSPECIFIED": 0,
"INT64": 2,
"BOOL": 5,
"FLOAT64": 7,
"STRING": 8,
"BYTES": 9,
"TIMESTAMP": 19,
"DATE": 10,
"TIME": 20,
"DATETIME": 21,
"GEOGRAPHY": 22,
"NUMERIC": 23,
"ARRAY": 16,
"STRUCT": 17,
}
Functions ¶
func RegisterModelServiceServer ¶
func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer)
Types ¶
type DeleteModelRequest ¶
type DeleteModelRequest struct { // Required. Project ID of the model to delete. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. Dataset ID of the model to delete. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Required. Model ID of the model to delete. ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteModelRequest) Descriptor ¶
func (*DeleteModelRequest) Descriptor() ([]byte, []int)
func (*DeleteModelRequest) GetDatasetId ¶
func (m *DeleteModelRequest) GetDatasetId() string
func (*DeleteModelRequest) GetModelId ¶
func (m *DeleteModelRequest) GetModelId() string
func (*DeleteModelRequest) GetProjectId ¶
func (m *DeleteModelRequest) GetProjectId() string
func (*DeleteModelRequest) ProtoMessage ¶
func (*DeleteModelRequest) ProtoMessage()
func (*DeleteModelRequest) Reset ¶
func (m *DeleteModelRequest) Reset()
func (*DeleteModelRequest) String ¶
func (m *DeleteModelRequest) String() string
func (*DeleteModelRequest) XXX_DiscardUnknown ¶
func (m *DeleteModelRequest) XXX_DiscardUnknown()
func (*DeleteModelRequest) XXX_Marshal ¶
func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteModelRequest) XXX_Merge ¶
func (m *DeleteModelRequest) XXX_Merge(src proto.Message)
func (*DeleteModelRequest) XXX_Size ¶
func (m *DeleteModelRequest) XXX_Size() int
func (*DeleteModelRequest) XXX_Unmarshal ¶
func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error
type EncryptionConfiguration ¶
type EncryptionConfiguration struct { // Optional. Describes the Cloud KMS encryption key that will be used to // protect destination BigQuery table. The BigQuery Service Account associated // with your project requires access to this encryption key. KmsKeyName *wrappers.StringValue `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EncryptionConfiguration) Descriptor ¶
func (*EncryptionConfiguration) Descriptor() ([]byte, []int)
func (*EncryptionConfiguration) GetKmsKeyName ¶
func (m *EncryptionConfiguration) GetKmsKeyName() *wrappers.StringValue
func (*EncryptionConfiguration) ProtoMessage ¶
func (*EncryptionConfiguration) ProtoMessage()
func (*EncryptionConfiguration) Reset ¶
func (m *EncryptionConfiguration) Reset()
func (*EncryptionConfiguration) String ¶
func (m *EncryptionConfiguration) String() string
func (*EncryptionConfiguration) XXX_DiscardUnknown ¶
func (m *EncryptionConfiguration) XXX_DiscardUnknown()
func (*EncryptionConfiguration) XXX_Marshal ¶
func (m *EncryptionConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EncryptionConfiguration) XXX_Merge ¶
func (m *EncryptionConfiguration) XXX_Merge(src proto.Message)
func (*EncryptionConfiguration) XXX_Size ¶
func (m *EncryptionConfiguration) XXX_Size() int
func (*EncryptionConfiguration) XXX_Unmarshal ¶
func (m *EncryptionConfiguration) XXX_Unmarshal(b []byte) error
type GetModelRequest ¶
type GetModelRequest struct { // Required. Project ID of the requested model. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. Dataset ID of the requested model. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Required. Model ID of the requested model. ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetModelRequest) Descriptor ¶
func (*GetModelRequest) Descriptor() ([]byte, []int)
func (*GetModelRequest) GetDatasetId ¶
func (m *GetModelRequest) GetDatasetId() string
func (*GetModelRequest) GetModelId ¶
func (m *GetModelRequest) GetModelId() string
func (*GetModelRequest) GetProjectId ¶
func (m *GetModelRequest) GetProjectId() string
func (*GetModelRequest) ProtoMessage ¶
func (*GetModelRequest) ProtoMessage()
func (*GetModelRequest) Reset ¶
func (m *GetModelRequest) Reset()
func (*GetModelRequest) String ¶
func (m *GetModelRequest) String() string
func (*GetModelRequest) XXX_DiscardUnknown ¶
func (m *GetModelRequest) XXX_DiscardUnknown()
func (*GetModelRequest) XXX_Marshal ¶
func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetModelRequest) XXX_Merge ¶
func (m *GetModelRequest) XXX_Merge(src proto.Message)
func (*GetModelRequest) XXX_Size ¶
func (m *GetModelRequest) XXX_Size() int
func (*GetModelRequest) XXX_Unmarshal ¶
func (m *GetModelRequest) XXX_Unmarshal(b []byte) error
type ListModelsRequest ¶
type ListModelsRequest struct { // Required. Project ID of the models to list. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. Dataset ID of the models to list. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // The maximum number of results to return in a single response page. // Leverage the page tokens to iterate through the entire collection. MaxResults *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // Page token, returned by a previous call to request the next page of // results PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListModelsRequest) Descriptor ¶
func (*ListModelsRequest) Descriptor() ([]byte, []int)
func (*ListModelsRequest) GetDatasetId ¶
func (m *ListModelsRequest) GetDatasetId() string
func (*ListModelsRequest) GetMaxResults ¶
func (m *ListModelsRequest) GetMaxResults() *wrappers.UInt32Value
func (*ListModelsRequest) GetPageToken ¶
func (m *ListModelsRequest) GetPageToken() string
func (*ListModelsRequest) GetProjectId ¶
func (m *ListModelsRequest) GetProjectId() string
func (*ListModelsRequest) ProtoMessage ¶
func (*ListModelsRequest) ProtoMessage()
func (*ListModelsRequest) Reset ¶
func (m *ListModelsRequest) Reset()
func (*ListModelsRequest) String ¶
func (m *ListModelsRequest) String() string
func (*ListModelsRequest) XXX_DiscardUnknown ¶
func (m *ListModelsRequest) XXX_DiscardUnknown()
func (*ListModelsRequest) XXX_Marshal ¶
func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListModelsRequest) XXX_Merge ¶
func (m *ListModelsRequest) XXX_Merge(src proto.Message)
func (*ListModelsRequest) XXX_Size ¶
func (m *ListModelsRequest) XXX_Size() int
func (*ListModelsRequest) XXX_Unmarshal ¶
func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error
type ListModelsResponse ¶
type ListModelsResponse struct { // Models in the requested dataset. Only the following fields are populated: // model_reference, model_type, creation_time, last_modified_time and // labels. Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // A token to request the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListModelsResponse) Descriptor ¶
func (*ListModelsResponse) Descriptor() ([]byte, []int)
func (*ListModelsResponse) GetModels ¶
func (m *ListModelsResponse) GetModels() []*Model
func (*ListModelsResponse) GetNextPageToken ¶
func (m *ListModelsResponse) GetNextPageToken() string
func (*ListModelsResponse) ProtoMessage ¶
func (*ListModelsResponse) ProtoMessage()
func (*ListModelsResponse) Reset ¶
func (m *ListModelsResponse) Reset()
func (*ListModelsResponse) String ¶
func (m *ListModelsResponse) String() string
func (*ListModelsResponse) XXX_DiscardUnknown ¶
func (m *ListModelsResponse) XXX_DiscardUnknown()
func (*ListModelsResponse) XXX_Marshal ¶
func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListModelsResponse) XXX_Merge ¶
func (m *ListModelsResponse) XXX_Merge(src proto.Message)
func (*ListModelsResponse) XXX_Size ¶
func (m *ListModelsResponse) XXX_Size() int
func (*ListModelsResponse) XXX_Unmarshal ¶
func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error
type Model ¶
type Model struct { // Output only. A hash of this resource. Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"` // Required. Unique identifier for this model. ModelReference *ModelReference `protobuf:"bytes,2,opt,name=model_reference,json=modelReference,proto3" json:"model_reference,omitempty"` // Output only. The time when this model was created, in millisecs since the epoch. CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // Output only. The time when this model was last modified, in millisecs since the epoch. LastModifiedTime int64 `protobuf:"varint,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` // Optional. A user-friendly description of this model. Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"` // Optional. A descriptive name for this model. FriendlyName string `protobuf:"bytes,14,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` // The labels associated with this model. You can use these to organize // and group your models. Label keys and values can be no longer // than 63 characters, can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label values are optional. Label keys must start with a letter and each // label in the list must have a different key. Labels map[string]string `` /* 154-byte string literal not displayed */ // Optional. The time when this model expires, in milliseconds since the epoch. // If not present, the model will persist indefinitely. Expired models // will be deleted and their storage reclaimed. The defaultTableExpirationMs // property of the encapsulating dataset can be used to set a default // expirationTime on newly created models. ExpirationTime int64 `protobuf:"varint,16,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` // Output only. The geographic location where the model resides. This value // is inherited from the dataset. Location string `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"` // Custom encryption configuration (e.g., Cloud KMS keys). This shows the // encryption configuration of the model data while stored in BigQuery // storage. EncryptionConfiguration *EncryptionConfiguration `` /* 131-byte string literal not displayed */ // Output only. Type of the model resource. ModelType Model_ModelType `` /* 135-byte string literal not displayed */ // Output only. Information for all training runs in increasing order of start_time. TrainingRuns []*Model_TrainingRun `protobuf:"bytes,9,rep,name=training_runs,json=trainingRuns,proto3" json:"training_runs,omitempty"` // Output only. Input feature columns that were used to train this model. FeatureColumns []*StandardSqlField `protobuf:"bytes,10,rep,name=feature_columns,json=featureColumns,proto3" json:"feature_columns,omitempty"` // Output only. Label columns that were used to train this model. // The output of the model will have a "predicted_" prefix to these columns. LabelColumns []*StandardSqlField `protobuf:"bytes,11,rep,name=label_columns,json=labelColumns,proto3" json:"label_columns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Model) Descriptor ¶
func (*Model) GetCreationTime ¶
func (*Model) GetDescription ¶
func (*Model) GetEncryptionConfiguration ¶
func (m *Model) GetEncryptionConfiguration() *EncryptionConfiguration
func (*Model) GetExpirationTime ¶
func (*Model) GetFeatureColumns ¶
func (m *Model) GetFeatureColumns() []*StandardSqlField
func (*Model) GetFriendlyName ¶
func (*Model) GetLabelColumns ¶
func (m *Model) GetLabelColumns() []*StandardSqlField
func (*Model) GetLastModifiedTime ¶
func (*Model) GetLocation ¶
func (*Model) GetModelReference ¶
func (m *Model) GetModelReference() *ModelReference
func (*Model) GetModelType ¶
func (m *Model) GetModelType() Model_ModelType
func (*Model) GetTrainingRuns ¶
func (m *Model) GetTrainingRuns() []*Model_TrainingRun
func (*Model) ProtoMessage ¶
func (*Model) ProtoMessage()
func (*Model) XXX_DiscardUnknown ¶
func (m *Model) XXX_DiscardUnknown()
func (*Model) XXX_Marshal ¶
func (*Model) XXX_Unmarshal ¶
type ModelReference ¶
type ModelReference struct { // Required. The ID of the project containing this model. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. The ID of the dataset containing this model. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Required. The ID of the model. The ID must contain only // letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum // length is 1,024 characters. ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Id path of a model.
func (*ModelReference) Descriptor ¶
func (*ModelReference) Descriptor() ([]byte, []int)
func (*ModelReference) GetDatasetId ¶
func (m *ModelReference) GetDatasetId() string
func (*ModelReference) GetModelId ¶
func (m *ModelReference) GetModelId() string
func (*ModelReference) GetProjectId ¶
func (m *ModelReference) GetProjectId() string
func (*ModelReference) ProtoMessage ¶
func (*ModelReference) ProtoMessage()
func (*ModelReference) Reset ¶
func (m *ModelReference) Reset()
func (*ModelReference) String ¶
func (m *ModelReference) String() string
func (*ModelReference) XXX_DiscardUnknown ¶
func (m *ModelReference) XXX_DiscardUnknown()
func (*ModelReference) XXX_Marshal ¶
func (m *ModelReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModelReference) XXX_Merge ¶
func (m *ModelReference) XXX_Merge(src proto.Message)
func (*ModelReference) XXX_Size ¶
func (m *ModelReference) XXX_Size() int
func (*ModelReference) XXX_Unmarshal ¶
func (m *ModelReference) XXX_Unmarshal(b []byte) error
type ModelServiceClient ¶
type ModelServiceClient interface { // Gets the specified model resource by model ID. GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) // Lists all models in the specified dataset. Requires the READER dataset // role. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) // Patch specific fields in the specified model. PatchModel(ctx context.Context, in *PatchModelRequest, opts ...grpc.CallOption) (*Model, error) // Deletes the model specified by modelId from the dataset. DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
ModelServiceClient is the client API for ModelService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewModelServiceClient ¶
func NewModelServiceClient(cc grpc.ClientConnInterface) ModelServiceClient
type ModelServiceServer ¶
type ModelServiceServer interface { // Gets the specified model resource by model ID. GetModel(context.Context, *GetModelRequest) (*Model, error) // Lists all models in the specified dataset. Requires the READER dataset // role. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) // Patch specific fields in the specified model. PatchModel(context.Context, *PatchModelRequest) (*Model, error) // Deletes the model specified by modelId from the dataset. DeleteModel(context.Context, *DeleteModelRequest) (*empty.Empty, error) }
ModelServiceServer is the server API for ModelService service.
type Model_AggregateClassificationMetrics ¶
type Model_AggregateClassificationMetrics struct { // Precision is the fraction of actual positive predictions that had // positive actual labels. For multiclass this is a macro-averaged // metric treating each class as a binary classifier. Precision *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=precision,proto3" json:"precision,omitempty"` // Recall is the fraction of actual positive labels that were given a // positive prediction. For multiclass this is a macro-averaged metric. Recall *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=recall,proto3" json:"recall,omitempty"` // Accuracy is the fraction of predictions given the correct label. For // multiclass this is a micro-averaged metric. Accuracy *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=accuracy,proto3" json:"accuracy,omitempty"` // Threshold at which the metrics are computed. For binary // classification models this is the positive class threshold. // For multi-class classfication models this is the confidence // threshold. Threshold *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=threshold,proto3" json:"threshold,omitempty"` // The F1 score is an average of recall and precision. For multiclass // this is a macro-averaged metric. F1Score *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` // Logarithmic Loss. For multiclass this is a macro-averaged metric. LogLoss *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=log_loss,json=logLoss,proto3" json:"log_loss,omitempty"` // Area Under a ROC Curve. For multiclass this is a macro-averaged // metric. RocAuc *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=roc_auc,json=rocAuc,proto3" json:"roc_auc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Aggregate metrics for classification/classifier models. For multi-class models, the metrics are either macro-averaged or micro-averaged. When macro-averaged, the metrics are calculated for each label and then an unweighted average is taken of those values. When micro-averaged, the metric is calculated globally by counting the total number of correctly predicted rows.
func (*Model_AggregateClassificationMetrics) Descriptor ¶
func (*Model_AggregateClassificationMetrics) Descriptor() ([]byte, []int)
func (*Model_AggregateClassificationMetrics) GetAccuracy ¶
func (m *Model_AggregateClassificationMetrics) GetAccuracy() *wrappers.DoubleValue
func (*Model_AggregateClassificationMetrics) GetF1Score ¶
func (m *Model_AggregateClassificationMetrics) GetF1Score() *wrappers.DoubleValue
func (*Model_AggregateClassificationMetrics) GetLogLoss ¶
func (m *Model_AggregateClassificationMetrics) GetLogLoss() *wrappers.DoubleValue
func (*Model_AggregateClassificationMetrics) GetPrecision ¶
func (m *Model_AggregateClassificationMetrics) GetPrecision() *wrappers.DoubleValue
func (*Model_AggregateClassificationMetrics) GetRecall ¶
func (m *Model_AggregateClassificationMetrics) GetRecall() *wrappers.DoubleValue
func (*Model_AggregateClassificationMetrics) GetRocAuc ¶
func (m *Model_AggregateClassificationMetrics) GetRocAuc() *wrappers.DoubleValue
func (*Model_AggregateClassificationMetrics) GetThreshold ¶
func (m *Model_AggregateClassificationMetrics) GetThreshold() *wrappers.DoubleValue
func (*Model_AggregateClassificationMetrics) ProtoMessage ¶
func (*Model_AggregateClassificationMetrics) ProtoMessage()
func (*Model_AggregateClassificationMetrics) Reset ¶
func (m *Model_AggregateClassificationMetrics) Reset()
func (*Model_AggregateClassificationMetrics) String ¶
func (m *Model_AggregateClassificationMetrics) String() string
func (*Model_AggregateClassificationMetrics) XXX_DiscardUnknown ¶
func (m *Model_AggregateClassificationMetrics) XXX_DiscardUnknown()
func (*Model_AggregateClassificationMetrics) XXX_Marshal ¶
func (m *Model_AggregateClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_AggregateClassificationMetrics) XXX_Merge ¶
func (m *Model_AggregateClassificationMetrics) XXX_Merge(src proto.Message)
func (*Model_AggregateClassificationMetrics) XXX_Size ¶
func (m *Model_AggregateClassificationMetrics) XXX_Size() int
func (*Model_AggregateClassificationMetrics) XXX_Unmarshal ¶
func (m *Model_AggregateClassificationMetrics) XXX_Unmarshal(b []byte) error
type Model_BinaryClassificationMetrics ¶
type Model_BinaryClassificationMetrics struct { // Aggregate classification metrics. AggregateClassificationMetrics *Model_AggregateClassificationMetrics `` /* 153-byte string literal not displayed */ // Binary confusion matrix at multiple thresholds. BinaryConfusionMatrixList []*Model_BinaryClassificationMetrics_BinaryConfusionMatrix `` /* 140-byte string literal not displayed */ // Label representing the positive class. PositiveLabel string `protobuf:"bytes,3,opt,name=positive_label,json=positiveLabel,proto3" json:"positive_label,omitempty"` // Label representing the negative class. NegativeLabel string `protobuf:"bytes,4,opt,name=negative_label,json=negativeLabel,proto3" json:"negative_label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Evaluation metrics for binary classification/classifier models.
func (*Model_BinaryClassificationMetrics) Descriptor ¶
func (*Model_BinaryClassificationMetrics) Descriptor() ([]byte, []int)
func (*Model_BinaryClassificationMetrics) GetAggregateClassificationMetrics ¶
func (m *Model_BinaryClassificationMetrics) GetAggregateClassificationMetrics() *Model_AggregateClassificationMetrics
func (*Model_BinaryClassificationMetrics) GetBinaryConfusionMatrixList ¶
func (m *Model_BinaryClassificationMetrics) GetBinaryConfusionMatrixList() []*Model_BinaryClassificationMetrics_BinaryConfusionMatrix
func (*Model_BinaryClassificationMetrics) GetNegativeLabel ¶
func (m *Model_BinaryClassificationMetrics) GetNegativeLabel() string
func (*Model_BinaryClassificationMetrics) GetPositiveLabel ¶
func (m *Model_BinaryClassificationMetrics) GetPositiveLabel() string
func (*Model_BinaryClassificationMetrics) ProtoMessage ¶
func (*Model_BinaryClassificationMetrics) ProtoMessage()
func (*Model_BinaryClassificationMetrics) Reset ¶
func (m *Model_BinaryClassificationMetrics) Reset()
func (*Model_BinaryClassificationMetrics) String ¶
func (m *Model_BinaryClassificationMetrics) String() string
func (*Model_BinaryClassificationMetrics) XXX_DiscardUnknown ¶
func (m *Model_BinaryClassificationMetrics) XXX_DiscardUnknown()
func (*Model_BinaryClassificationMetrics) XXX_Marshal ¶
func (m *Model_BinaryClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_BinaryClassificationMetrics) XXX_Merge ¶
func (m *Model_BinaryClassificationMetrics) XXX_Merge(src proto.Message)
func (*Model_BinaryClassificationMetrics) XXX_Size ¶
func (m *Model_BinaryClassificationMetrics) XXX_Size() int
func (*Model_BinaryClassificationMetrics) XXX_Unmarshal ¶
func (m *Model_BinaryClassificationMetrics) XXX_Unmarshal(b []byte) error
type Model_BinaryClassificationMetrics_BinaryConfusionMatrix ¶
type Model_BinaryClassificationMetrics_BinaryConfusionMatrix struct { // Threshold value used when computing each of the following metric. PositiveClassThreshold *wrappers.DoubleValue `` /* 129-byte string literal not displayed */ // Number of true samples predicted as true. TruePositives *wrappers.Int64Value `protobuf:"bytes,2,opt,name=true_positives,json=truePositives,proto3" json:"true_positives,omitempty"` // Number of false samples predicted as true. FalsePositives *wrappers.Int64Value `protobuf:"bytes,3,opt,name=false_positives,json=falsePositives,proto3" json:"false_positives,omitempty"` // Number of true samples predicted as false. TrueNegatives *wrappers.Int64Value `protobuf:"bytes,4,opt,name=true_negatives,json=trueNegatives,proto3" json:"true_negatives,omitempty"` // Number of false samples predicted as false. FalseNegatives *wrappers.Int64Value `protobuf:"bytes,5,opt,name=false_negatives,json=falseNegatives,proto3" json:"false_negatives,omitempty"` // The fraction of actual positive predictions that had positive actual // labels. Precision *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=precision,proto3" json:"precision,omitempty"` // The fraction of actual positive labels that were given a positive // prediction. Recall *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=recall,proto3" json:"recall,omitempty"` // The equally weighted average of recall and precision. F1Score *wrappers.DoubleValue `protobuf:"bytes,8,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` // The fraction of predictions given the correct label. Accuracy *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=accuracy,proto3" json:"accuracy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Confusion matrix for binary classification models.
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Descriptor ¶
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Descriptor() ([]byte, []int)
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetAccuracy ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetAccuracy() *wrappers.DoubleValue
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetF1Score ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetF1Score() *wrappers.DoubleValue
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalseNegatives ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalseNegatives() *wrappers.Int64Value
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalsePositives ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalsePositives() *wrappers.Int64Value
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPositiveClassThreshold ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPositiveClassThreshold() *wrappers.DoubleValue
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPrecision ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPrecision() *wrappers.DoubleValue
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetRecall ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetRecall() *wrappers.DoubleValue
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTrueNegatives ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTrueNegatives() *wrappers.Int64Value
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTruePositives ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTruePositives() *wrappers.Int64Value
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) ProtoMessage ¶
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) ProtoMessage()
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Reset ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Reset()
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) String ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) String() string
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_DiscardUnknown ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_DiscardUnknown()
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Marshal ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Merge ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Merge(src proto.Message)
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Size ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Size() int
func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Unmarshal ¶
func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Unmarshal(b []byte) error
type Model_ClusteringMetrics ¶
type Model_ClusteringMetrics struct { // Davies-Bouldin index. DaviesBouldinIndex *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=davies_bouldin_index,json=daviesBouldinIndex,proto3" json:"davies_bouldin_index,omitempty"` // Mean of squared distances between each sample to its cluster centroid. MeanSquaredDistance *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=mean_squared_distance,json=meanSquaredDistance,proto3" json:"mean_squared_distance,omitempty"` // [Beta] Information for all clusters. Clusters []*Model_ClusteringMetrics_Cluster `protobuf:"bytes,3,rep,name=clusters,proto3" json:"clusters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Evaluation metrics for clustering models.
func (*Model_ClusteringMetrics) Descriptor ¶
func (*Model_ClusteringMetrics) Descriptor() ([]byte, []int)
func (*Model_ClusteringMetrics) GetClusters ¶
func (m *Model_ClusteringMetrics) GetClusters() []*Model_ClusteringMetrics_Cluster
func (*Model_ClusteringMetrics) GetDaviesBouldinIndex ¶
func (m *Model_ClusteringMetrics) GetDaviesBouldinIndex() *wrappers.DoubleValue
func (*Model_ClusteringMetrics) GetMeanSquaredDistance ¶
func (m *Model_ClusteringMetrics) GetMeanSquaredDistance() *wrappers.DoubleValue
func (*Model_ClusteringMetrics) ProtoMessage ¶
func (*Model_ClusteringMetrics) ProtoMessage()
func (*Model_ClusteringMetrics) Reset ¶
func (m *Model_ClusteringMetrics) Reset()
func (*Model_ClusteringMetrics) String ¶
func (m *Model_ClusteringMetrics) String() string
func (*Model_ClusteringMetrics) XXX_DiscardUnknown ¶
func (m *Model_ClusteringMetrics) XXX_DiscardUnknown()
func (*Model_ClusteringMetrics) XXX_Marshal ¶
func (m *Model_ClusteringMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_ClusteringMetrics) XXX_Merge ¶
func (m *Model_ClusteringMetrics) XXX_Merge(src proto.Message)
func (*Model_ClusteringMetrics) XXX_Size ¶
func (m *Model_ClusteringMetrics) XXX_Size() int
func (*Model_ClusteringMetrics) XXX_Unmarshal ¶
func (m *Model_ClusteringMetrics) XXX_Unmarshal(b []byte) error
type Model_ClusteringMetrics_Cluster ¶
type Model_ClusteringMetrics_Cluster struct { // Centroid id. CentroidId int64 `protobuf:"varint,1,opt,name=centroid_id,json=centroidId,proto3" json:"centroid_id,omitempty"` // Values of highly variant features for this cluster. FeatureValues []*Model_ClusteringMetrics_Cluster_FeatureValue `protobuf:"bytes,2,rep,name=feature_values,json=featureValues,proto3" json:"feature_values,omitempty"` // Count of training data rows that were assigned to this cluster. Count *wrappers.Int64Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message containing the information about one cluster.
func (*Model_ClusteringMetrics_Cluster) Descriptor ¶
func (*Model_ClusteringMetrics_Cluster) Descriptor() ([]byte, []int)
func (*Model_ClusteringMetrics_Cluster) GetCentroidId ¶
func (m *Model_ClusteringMetrics_Cluster) GetCentroidId() int64
func (*Model_ClusteringMetrics_Cluster) GetCount ¶
func (m *Model_ClusteringMetrics_Cluster) GetCount() *wrappers.Int64Value
func (*Model_ClusteringMetrics_Cluster) GetFeatureValues ¶
func (m *Model_ClusteringMetrics_Cluster) GetFeatureValues() []*Model_ClusteringMetrics_Cluster_FeatureValue
func (*Model_ClusteringMetrics_Cluster) ProtoMessage ¶
func (*Model_ClusteringMetrics_Cluster) ProtoMessage()
func (*Model_ClusteringMetrics_Cluster) Reset ¶
func (m *Model_ClusteringMetrics_Cluster) Reset()
func (*Model_ClusteringMetrics_Cluster) String ¶
func (m *Model_ClusteringMetrics_Cluster) String() string
func (*Model_ClusteringMetrics_Cluster) XXX_DiscardUnknown ¶
func (m *Model_ClusteringMetrics_Cluster) XXX_DiscardUnknown()
func (*Model_ClusteringMetrics_Cluster) XXX_Marshal ¶
func (m *Model_ClusteringMetrics_Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_ClusteringMetrics_Cluster) XXX_Merge ¶
func (m *Model_ClusteringMetrics_Cluster) XXX_Merge(src proto.Message)
func (*Model_ClusteringMetrics_Cluster) XXX_Size ¶
func (m *Model_ClusteringMetrics_Cluster) XXX_Size() int
func (*Model_ClusteringMetrics_Cluster) XXX_Unmarshal ¶
func (m *Model_ClusteringMetrics_Cluster) XXX_Unmarshal(b []byte) error
type Model_ClusteringMetrics_Cluster_FeatureValue ¶
type Model_ClusteringMetrics_Cluster_FeatureValue struct { // The feature column name. FeatureColumn string `protobuf:"bytes,1,opt,name=feature_column,json=featureColumn,proto3" json:"feature_column,omitempty"` // Types that are valid to be assigned to Value: // *Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue // *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_ Value isModel_ClusteringMetrics_Cluster_FeatureValue_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Representative value of a single feature within the cluster.
func (*Model_ClusteringMetrics_Cluster_FeatureValue) Descriptor ¶
func (*Model_ClusteringMetrics_Cluster_FeatureValue) Descriptor() ([]byte, []int)
func (*Model_ClusteringMetrics_Cluster_FeatureValue) GetCategoricalValue ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetCategoricalValue() *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue
func (*Model_ClusteringMetrics_Cluster_FeatureValue) GetFeatureColumn ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetFeatureColumn() string
func (*Model_ClusteringMetrics_Cluster_FeatureValue) GetNumericalValue ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetNumericalValue() *wrappers.DoubleValue
func (*Model_ClusteringMetrics_Cluster_FeatureValue) GetValue ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetValue() isModel_ClusteringMetrics_Cluster_FeatureValue_Value
func (*Model_ClusteringMetrics_Cluster_FeatureValue) ProtoMessage ¶
func (*Model_ClusteringMetrics_Cluster_FeatureValue) ProtoMessage()
func (*Model_ClusteringMetrics_Cluster_FeatureValue) Reset ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) Reset()
func (*Model_ClusteringMetrics_Cluster_FeatureValue) String ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) String() string
func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_DiscardUnknown ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_DiscardUnknown()
func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Marshal ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Merge ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Merge(src proto.Message)
func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_OneofWrappers ¶
func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Size ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Size() int
func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Unmarshal ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Unmarshal(b []byte) error
type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue ¶
type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue struct { // Counts of all categories for the categorical feature. If there are // more than ten categories, we return top ten (by count) and return // one more CategoryCount with category "_OTHER_" and count as // aggregate counts of remaining categories. CategoryCounts []*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount `protobuf:"bytes,1,rep,name=category_counts,json=categoryCounts,proto3" json:"category_counts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Representative value of a categorical feature.
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Descriptor ¶
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Descriptor() ([]byte, []int)
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) GetCategoryCounts ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) GetCategoryCounts() []*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) ProtoMessage ¶
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) ProtoMessage()
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Reset ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Reset()
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) String ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) String() string
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_DiscardUnknown ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_DiscardUnknown()
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Marshal ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Merge ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Merge(src proto.Message)
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Size ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Size() int
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Unmarshal ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Unmarshal(b []byte) error
type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_ ¶
type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_ struct {
CategoricalValue *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue `protobuf:"bytes,3,opt,name=categorical_value,json=categoricalValue,proto3,oneof"`
}
type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount ¶
type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount struct { // The name of category. Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` // The count of training samples matching the category within the // cluster. Count *wrappers.Int64Value `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the count of a single category within the cluster.
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Descriptor ¶
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Descriptor() ([]byte, []int)
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCategory ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCategory() string
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCount ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCount() *wrappers.Int64Value
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) ProtoMessage ¶
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) ProtoMessage()
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_DiscardUnknown ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_DiscardUnknown()
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Marshal ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Merge ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Merge(src proto.Message)
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Size ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Size() int
func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Unmarshal ¶
func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Unmarshal(b []byte) error
type Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue ¶
type Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue struct {
NumericalValue *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=numerical_value,json=numericalValue,proto3,oneof"`
}
type Model_DataSplitMethod ¶
type Model_DataSplitMethod int32
Indicates the method to split input data into multiple tables.
const ( Model_DATA_SPLIT_METHOD_UNSPECIFIED Model_DataSplitMethod = 0 // Splits data randomly. Model_RANDOM Model_DataSplitMethod = 1 // Splits data with the user provided tags. Model_CUSTOM Model_DataSplitMethod = 2 // Splits data sequentially. Model_SEQUENTIAL Model_DataSplitMethod = 3 // Data split will be skipped. Model_NO_SPLIT Model_DataSplitMethod = 4 // Splits data automatically: Uses NO_SPLIT if the data size is small. // Otherwise uses RANDOM. Model_AUTO_SPLIT Model_DataSplitMethod = 5 )
func (Model_DataSplitMethod) EnumDescriptor ¶
func (Model_DataSplitMethod) EnumDescriptor() ([]byte, []int)
func (Model_DataSplitMethod) String ¶
func (x Model_DataSplitMethod) String() string
type Model_DistanceType ¶
type Model_DistanceType int32
Distance metric used to compute the distance between two points.
const ( Model_DISTANCE_TYPE_UNSPECIFIED Model_DistanceType = 0 // Eculidean distance. Model_EUCLIDEAN Model_DistanceType = 1 // Cosine distance. Model_COSINE Model_DistanceType = 2 )
func (Model_DistanceType) EnumDescriptor ¶
func (Model_DistanceType) EnumDescriptor() ([]byte, []int)
func (Model_DistanceType) String ¶
func (x Model_DistanceType) String() string
type Model_EvaluationMetrics ¶
type Model_EvaluationMetrics struct { // Types that are valid to be assigned to Metrics: // *Model_EvaluationMetrics_RegressionMetrics // *Model_EvaluationMetrics_BinaryClassificationMetrics // *Model_EvaluationMetrics_MultiClassClassificationMetrics // *Model_EvaluationMetrics_ClusteringMetrics Metrics isModel_EvaluationMetrics_Metrics `protobuf_oneof:"metrics"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Evaluation metrics of a model. These are either computed on all training data or just the eval data based on whether eval data was used during training. These are not present for imported models.
func (*Model_EvaluationMetrics) Descriptor ¶
func (*Model_EvaluationMetrics) Descriptor() ([]byte, []int)
func (*Model_EvaluationMetrics) GetBinaryClassificationMetrics ¶
func (m *Model_EvaluationMetrics) GetBinaryClassificationMetrics() *Model_BinaryClassificationMetrics
func (*Model_EvaluationMetrics) GetClusteringMetrics ¶
func (m *Model_EvaluationMetrics) GetClusteringMetrics() *Model_ClusteringMetrics
func (*Model_EvaluationMetrics) GetMetrics ¶
func (m *Model_EvaluationMetrics) GetMetrics() isModel_EvaluationMetrics_Metrics
func (*Model_EvaluationMetrics) GetMultiClassClassificationMetrics ¶
func (m *Model_EvaluationMetrics) GetMultiClassClassificationMetrics() *Model_MultiClassClassificationMetrics
func (*Model_EvaluationMetrics) GetRegressionMetrics ¶
func (m *Model_EvaluationMetrics) GetRegressionMetrics() *Model_RegressionMetrics
func (*Model_EvaluationMetrics) ProtoMessage ¶
func (*Model_EvaluationMetrics) ProtoMessage()
func (*Model_EvaluationMetrics) Reset ¶
func (m *Model_EvaluationMetrics) Reset()
func (*Model_EvaluationMetrics) String ¶
func (m *Model_EvaluationMetrics) String() string
func (*Model_EvaluationMetrics) XXX_DiscardUnknown ¶
func (m *Model_EvaluationMetrics) XXX_DiscardUnknown()
func (*Model_EvaluationMetrics) XXX_Marshal ¶
func (m *Model_EvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_EvaluationMetrics) XXX_Merge ¶
func (m *Model_EvaluationMetrics) XXX_Merge(src proto.Message)
func (*Model_EvaluationMetrics) XXX_OneofWrappers ¶
func (*Model_EvaluationMetrics) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Model_EvaluationMetrics) XXX_Size ¶
func (m *Model_EvaluationMetrics) XXX_Size() int
func (*Model_EvaluationMetrics) XXX_Unmarshal ¶
func (m *Model_EvaluationMetrics) XXX_Unmarshal(b []byte) error
type Model_EvaluationMetrics_BinaryClassificationMetrics ¶
type Model_EvaluationMetrics_BinaryClassificationMetrics struct {
BinaryClassificationMetrics *Model_BinaryClassificationMetrics `protobuf:"bytes,2,opt,name=binary_classification_metrics,json=binaryClassificationMetrics,proto3,oneof"`
}
type Model_EvaluationMetrics_ClusteringMetrics ¶
type Model_EvaluationMetrics_ClusteringMetrics struct {
ClusteringMetrics *Model_ClusteringMetrics `protobuf:"bytes,4,opt,name=clustering_metrics,json=clusteringMetrics,proto3,oneof"`
}
type Model_EvaluationMetrics_MultiClassClassificationMetrics ¶
type Model_EvaluationMetrics_MultiClassClassificationMetrics struct {
MultiClassClassificationMetrics *Model_MultiClassClassificationMetrics `protobuf:"bytes,3,opt,name=multi_class_classification_metrics,json=multiClassClassificationMetrics,proto3,oneof"`
}
type Model_EvaluationMetrics_RegressionMetrics ¶
type Model_EvaluationMetrics_RegressionMetrics struct {
RegressionMetrics *Model_RegressionMetrics `protobuf:"bytes,1,opt,name=regression_metrics,json=regressionMetrics,proto3,oneof"`
}
type Model_KmeansEnums ¶
type Model_KmeansEnums struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Model_KmeansEnums) Descriptor ¶
func (*Model_KmeansEnums) Descriptor() ([]byte, []int)
func (*Model_KmeansEnums) ProtoMessage ¶
func (*Model_KmeansEnums) ProtoMessage()
func (*Model_KmeansEnums) Reset ¶
func (m *Model_KmeansEnums) Reset()
func (*Model_KmeansEnums) String ¶
func (m *Model_KmeansEnums) String() string
func (*Model_KmeansEnums) XXX_DiscardUnknown ¶
func (m *Model_KmeansEnums) XXX_DiscardUnknown()
func (*Model_KmeansEnums) XXX_Marshal ¶
func (m *Model_KmeansEnums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_KmeansEnums) XXX_Merge ¶
func (m *Model_KmeansEnums) XXX_Merge(src proto.Message)
func (*Model_KmeansEnums) XXX_Size ¶
func (m *Model_KmeansEnums) XXX_Size() int
func (*Model_KmeansEnums) XXX_Unmarshal ¶
func (m *Model_KmeansEnums) XXX_Unmarshal(b []byte) error
type Model_KmeansEnums_KmeansInitializationMethod ¶
type Model_KmeansEnums_KmeansInitializationMethod int32
Indicates the method used to initialize the centroids for KMeans clustering algorithm.
const ( Model_KmeansEnums_KMEANS_INITIALIZATION_METHOD_UNSPECIFIED Model_KmeansEnums_KmeansInitializationMethod = 0 // Initializes the centroids randomly. Model_KmeansEnums_RANDOM Model_KmeansEnums_KmeansInitializationMethod = 1 // Initializes the centroids using data specified in // kmeans_initialization_column. Model_KmeansEnums_CUSTOM Model_KmeansEnums_KmeansInitializationMethod = 2 )
func (Model_KmeansEnums_KmeansInitializationMethod) EnumDescriptor ¶
func (Model_KmeansEnums_KmeansInitializationMethod) EnumDescriptor() ([]byte, []int)
func (Model_KmeansEnums_KmeansInitializationMethod) String ¶
func (x Model_KmeansEnums_KmeansInitializationMethod) String() string
type Model_LearnRateStrategy ¶
type Model_LearnRateStrategy int32
Indicates the learning rate optimization strategy to use.
const ( Model_LEARN_RATE_STRATEGY_UNSPECIFIED Model_LearnRateStrategy = 0 // Use line search to determine learning rate. Model_LINE_SEARCH Model_LearnRateStrategy = 1 // Use a constant learning rate. Model_CONSTANT Model_LearnRateStrategy = 2 )
func (Model_LearnRateStrategy) EnumDescriptor ¶
func (Model_LearnRateStrategy) EnumDescriptor() ([]byte, []int)
func (Model_LearnRateStrategy) String ¶
func (x Model_LearnRateStrategy) String() string
type Model_LossType ¶
type Model_LossType int32
Loss metric to evaluate model training performance.
const ( Model_LOSS_TYPE_UNSPECIFIED Model_LossType = 0 // Mean squared loss, used for linear regression. Model_MEAN_SQUARED_LOSS Model_LossType = 1 // Mean log loss, used for logistic regression. Model_MEAN_LOG_LOSS Model_LossType = 2 )
func (Model_LossType) EnumDescriptor ¶
func (Model_LossType) EnumDescriptor() ([]byte, []int)
func (Model_LossType) String ¶
func (x Model_LossType) String() string
type Model_ModelType ¶
type Model_ModelType int32
Indicates the type of the Model.
const ( Model_MODEL_TYPE_UNSPECIFIED Model_ModelType = 0 // Linear regression model. Model_LINEAR_REGRESSION Model_ModelType = 1 // Logistic regression based classification model. Model_LOGISTIC_REGRESSION Model_ModelType = 2 // K-means clustering model. Model_KMEANS Model_ModelType = 3 // [Beta] An imported TensorFlow model. Model_TENSORFLOW Model_ModelType = 6 )
func (Model_ModelType) EnumDescriptor ¶
func (Model_ModelType) EnumDescriptor() ([]byte, []int)
func (Model_ModelType) String ¶
func (x Model_ModelType) String() string
type Model_MultiClassClassificationMetrics ¶
type Model_MultiClassClassificationMetrics struct { // Aggregate classification metrics. AggregateClassificationMetrics *Model_AggregateClassificationMetrics `` /* 153-byte string literal not displayed */ // Confusion matrix at different thresholds. ConfusionMatrixList []*Model_MultiClassClassificationMetrics_ConfusionMatrix `protobuf:"bytes,2,rep,name=confusion_matrix_list,json=confusionMatrixList,proto3" json:"confusion_matrix_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Evaluation metrics for multi-class classification/classifier models.
func (*Model_MultiClassClassificationMetrics) Descriptor ¶
func (*Model_MultiClassClassificationMetrics) Descriptor() ([]byte, []int)
func (*Model_MultiClassClassificationMetrics) GetAggregateClassificationMetrics ¶
func (m *Model_MultiClassClassificationMetrics) GetAggregateClassificationMetrics() *Model_AggregateClassificationMetrics
func (*Model_MultiClassClassificationMetrics) GetConfusionMatrixList ¶
func (m *Model_MultiClassClassificationMetrics) GetConfusionMatrixList() []*Model_MultiClassClassificationMetrics_ConfusionMatrix
func (*Model_MultiClassClassificationMetrics) ProtoMessage ¶
func (*Model_MultiClassClassificationMetrics) ProtoMessage()
func (*Model_MultiClassClassificationMetrics) Reset ¶
func (m *Model_MultiClassClassificationMetrics) Reset()
func (*Model_MultiClassClassificationMetrics) String ¶
func (m *Model_MultiClassClassificationMetrics) String() string
func (*Model_MultiClassClassificationMetrics) XXX_DiscardUnknown ¶
func (m *Model_MultiClassClassificationMetrics) XXX_DiscardUnknown()
func (*Model_MultiClassClassificationMetrics) XXX_Marshal ¶
func (m *Model_MultiClassClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_MultiClassClassificationMetrics) XXX_Merge ¶
func (m *Model_MultiClassClassificationMetrics) XXX_Merge(src proto.Message)
func (*Model_MultiClassClassificationMetrics) XXX_Size ¶
func (m *Model_MultiClassClassificationMetrics) XXX_Size() int
func (*Model_MultiClassClassificationMetrics) XXX_Unmarshal ¶
func (m *Model_MultiClassClassificationMetrics) XXX_Unmarshal(b []byte) error
type Model_MultiClassClassificationMetrics_ConfusionMatrix ¶
type Model_MultiClassClassificationMetrics_ConfusionMatrix struct { // Confidence threshold used when computing the entries of the // confusion matrix. ConfidenceThreshold *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` // One row per actual label. Rows []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Confusion matrix for multi-class classification models.
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) Descriptor ¶
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) GetConfidenceThreshold ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) GetConfidenceThreshold() *wrappers.DoubleValue
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) ProtoMessage ¶
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) ProtoMessage()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) Reset ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) Reset()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) String ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) String() string
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_DiscardUnknown ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_DiscardUnknown()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Marshal ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Merge ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Merge(src proto.Message)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Size ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Size() int
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Unmarshal ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Unmarshal(b []byte) error
type Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry ¶
type Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry struct { // The predicted label. For confidence_threshold > 0, we will // also add an entry indicating the number of items under the // confidence threshold. PredictedLabel string `protobuf:"bytes,1,opt,name=predicted_label,json=predictedLabel,proto3" json:"predicted_label,omitempty"` // Number of items being predicted as this label. ItemCount *wrappers.Int64Value `protobuf:"bytes,2,opt,name=item_count,json=itemCount,proto3" json:"item_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A single entry in the confusion matrix.
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Descriptor ¶
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Descriptor() ([]byte, []int)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetItemCount ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetItemCount() *wrappers.Int64Value
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetPredictedLabel ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetPredictedLabel() string
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) ProtoMessage ¶
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) ProtoMessage()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Reset ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Reset()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) String ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) String() string
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_DiscardUnknown ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_DiscardUnknown()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Marshal ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Merge ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Merge(src proto.Message)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Size ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Size() int
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Unmarshal ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Unmarshal(b []byte) error
type Model_MultiClassClassificationMetrics_ConfusionMatrix_Row ¶
type Model_MultiClassClassificationMetrics_ConfusionMatrix_Row struct { // The original label of this row. ActualLabel string `protobuf:"bytes,1,opt,name=actual_label,json=actualLabel,proto3" json:"actual_label,omitempty"` // Info describing predicted label distribution. Entries []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A single row in the confusion matrix.
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Descriptor ¶
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetActualLabel ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetActualLabel() string
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetEntries ¶
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) ProtoMessage ¶
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) ProtoMessage()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Reset ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Reset()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) String ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) String() string
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown()
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Marshal ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Merge ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Merge(src proto.Message)
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Size ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Size() int
func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Unmarshal ¶
func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error
type Model_OptimizationStrategy ¶
type Model_OptimizationStrategy int32
Indicates the optimization strategy used for training.
const ( Model_OPTIMIZATION_STRATEGY_UNSPECIFIED Model_OptimizationStrategy = 0 // Uses an iterative batch gradient descent algorithm. Model_BATCH_GRADIENT_DESCENT Model_OptimizationStrategy = 1 // Uses a normal equation to solve linear regression problem. Model_NORMAL_EQUATION Model_OptimizationStrategy = 2 )
func (Model_OptimizationStrategy) EnumDescriptor ¶
func (Model_OptimizationStrategy) EnumDescriptor() ([]byte, []int)
func (Model_OptimizationStrategy) String ¶
func (x Model_OptimizationStrategy) String() string
type Model_RegressionMetrics ¶
type Model_RegressionMetrics struct { // Mean absolute error. MeanAbsoluteError *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=mean_absolute_error,json=meanAbsoluteError,proto3" json:"mean_absolute_error,omitempty"` // Mean squared error. MeanSquaredError *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=mean_squared_error,json=meanSquaredError,proto3" json:"mean_squared_error,omitempty"` // Mean squared log error. MeanSquaredLogError *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=mean_squared_log_error,json=meanSquaredLogError,proto3" json:"mean_squared_log_error,omitempty"` // Median absolute error. MedianAbsoluteError *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=median_absolute_error,json=medianAbsoluteError,proto3" json:"median_absolute_error,omitempty"` // R^2 score. RSquared *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=r_squared,json=rSquared,proto3" json:"r_squared,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Evaluation metrics for regression and explicit feedback type matrix factorization models.
func (*Model_RegressionMetrics) Descriptor ¶
func (*Model_RegressionMetrics) Descriptor() ([]byte, []int)
func (*Model_RegressionMetrics) GetMeanAbsoluteError ¶
func (m *Model_RegressionMetrics) GetMeanAbsoluteError() *wrappers.DoubleValue
func (*Model_RegressionMetrics) GetMeanSquaredError ¶
func (m *Model_RegressionMetrics) GetMeanSquaredError() *wrappers.DoubleValue
func (*Model_RegressionMetrics) GetMeanSquaredLogError ¶
func (m *Model_RegressionMetrics) GetMeanSquaredLogError() *wrappers.DoubleValue
func (*Model_RegressionMetrics) GetMedianAbsoluteError ¶
func (m *Model_RegressionMetrics) GetMedianAbsoluteError() *wrappers.DoubleValue
func (*Model_RegressionMetrics) GetRSquared ¶
func (m *Model_RegressionMetrics) GetRSquared() *wrappers.DoubleValue
func (*Model_RegressionMetrics) ProtoMessage ¶
func (*Model_RegressionMetrics) ProtoMessage()
func (*Model_RegressionMetrics) Reset ¶
func (m *Model_RegressionMetrics) Reset()
func (*Model_RegressionMetrics) String ¶
func (m *Model_RegressionMetrics) String() string
func (*Model_RegressionMetrics) XXX_DiscardUnknown ¶
func (m *Model_RegressionMetrics) XXX_DiscardUnknown()
func (*Model_RegressionMetrics) XXX_Marshal ¶
func (m *Model_RegressionMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_RegressionMetrics) XXX_Merge ¶
func (m *Model_RegressionMetrics) XXX_Merge(src proto.Message)
func (*Model_RegressionMetrics) XXX_Size ¶
func (m *Model_RegressionMetrics) XXX_Size() int
func (*Model_RegressionMetrics) XXX_Unmarshal ¶
func (m *Model_RegressionMetrics) XXX_Unmarshal(b []byte) error
type Model_TrainingRun ¶
type Model_TrainingRun struct { // Options that were used for this training run, includes // user specified and default options that were used. TrainingOptions *Model_TrainingRun_TrainingOptions `protobuf:"bytes,1,opt,name=training_options,json=trainingOptions,proto3" json:"training_options,omitempty"` // The start time of this training run. StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output of each iteration run, results.size() <= max_iterations. Results []*Model_TrainingRun_IterationResult `protobuf:"bytes,6,rep,name=results,proto3" json:"results,omitempty"` // The evaluation metrics over training/eval data that were computed at the // end of training. EvaluationMetrics *Model_EvaluationMetrics `protobuf:"bytes,7,opt,name=evaluation_metrics,json=evaluationMetrics,proto3" json:"evaluation_metrics,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about a single training query run for the model.
func (*Model_TrainingRun) Descriptor ¶
func (*Model_TrainingRun) Descriptor() ([]byte, []int)
func (*Model_TrainingRun) GetEvaluationMetrics ¶
func (m *Model_TrainingRun) GetEvaluationMetrics() *Model_EvaluationMetrics
func (*Model_TrainingRun) GetResults ¶
func (m *Model_TrainingRun) GetResults() []*Model_TrainingRun_IterationResult
func (*Model_TrainingRun) GetStartTime ¶
func (m *Model_TrainingRun) GetStartTime() *timestamp.Timestamp
func (*Model_TrainingRun) GetTrainingOptions ¶
func (m *Model_TrainingRun) GetTrainingOptions() *Model_TrainingRun_TrainingOptions
func (*Model_TrainingRun) ProtoMessage ¶
func (*Model_TrainingRun) ProtoMessage()
func (*Model_TrainingRun) Reset ¶
func (m *Model_TrainingRun) Reset()
func (*Model_TrainingRun) String ¶
func (m *Model_TrainingRun) String() string
func (*Model_TrainingRun) XXX_DiscardUnknown ¶
func (m *Model_TrainingRun) XXX_DiscardUnknown()
func (*Model_TrainingRun) XXX_Marshal ¶
func (m *Model_TrainingRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_TrainingRun) XXX_Merge ¶
func (m *Model_TrainingRun) XXX_Merge(src proto.Message)
func (*Model_TrainingRun) XXX_Size ¶
func (m *Model_TrainingRun) XXX_Size() int
func (*Model_TrainingRun) XXX_Unmarshal ¶
func (m *Model_TrainingRun) XXX_Unmarshal(b []byte) error
type Model_TrainingRun_IterationResult ¶
type Model_TrainingRun_IterationResult struct { // Index of the iteration, 0 based. Index *wrappers.Int32Value `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` // Time taken to run the iteration in milliseconds. DurationMs *wrappers.Int64Value `protobuf:"bytes,4,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` // Loss computed on the training data at the end of iteration. TrainingLoss *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=training_loss,json=trainingLoss,proto3" json:"training_loss,omitempty"` // Loss computed on the eval data at the end of iteration. EvalLoss *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=eval_loss,json=evalLoss,proto3" json:"eval_loss,omitempty"` // Learn rate used for this iteration. LearnRate float64 `protobuf:"fixed64,7,opt,name=learn_rate,json=learnRate,proto3" json:"learn_rate,omitempty"` // Information about top clusters for clustering models. ClusterInfos []*Model_TrainingRun_IterationResult_ClusterInfo `protobuf:"bytes,8,rep,name=cluster_infos,json=clusterInfos,proto3" json:"cluster_infos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about a single iteration of the training run.
func (*Model_TrainingRun_IterationResult) Descriptor ¶
func (*Model_TrainingRun_IterationResult) Descriptor() ([]byte, []int)
func (*Model_TrainingRun_IterationResult) GetClusterInfos ¶
func (m *Model_TrainingRun_IterationResult) GetClusterInfos() []*Model_TrainingRun_IterationResult_ClusterInfo
func (*Model_TrainingRun_IterationResult) GetDurationMs ¶
func (m *Model_TrainingRun_IterationResult) GetDurationMs() *wrappers.Int64Value
func (*Model_TrainingRun_IterationResult) GetEvalLoss ¶
func (m *Model_TrainingRun_IterationResult) GetEvalLoss() *wrappers.DoubleValue
func (*Model_TrainingRun_IterationResult) GetIndex ¶
func (m *Model_TrainingRun_IterationResult) GetIndex() *wrappers.Int32Value
func (*Model_TrainingRun_IterationResult) GetLearnRate ¶
func (m *Model_TrainingRun_IterationResult) GetLearnRate() float64
func (*Model_TrainingRun_IterationResult) GetTrainingLoss ¶
func (m *Model_TrainingRun_IterationResult) GetTrainingLoss() *wrappers.DoubleValue
func (*Model_TrainingRun_IterationResult) ProtoMessage ¶
func (*Model_TrainingRun_IterationResult) ProtoMessage()
func (*Model_TrainingRun_IterationResult) Reset ¶
func (m *Model_TrainingRun_IterationResult) Reset()
func (*Model_TrainingRun_IterationResult) String ¶
func (m *Model_TrainingRun_IterationResult) String() string
func (*Model_TrainingRun_IterationResult) XXX_DiscardUnknown ¶
func (m *Model_TrainingRun_IterationResult) XXX_DiscardUnknown()
func (*Model_TrainingRun_IterationResult) XXX_Marshal ¶
func (m *Model_TrainingRun_IterationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_TrainingRun_IterationResult) XXX_Merge ¶
func (m *Model_TrainingRun_IterationResult) XXX_Merge(src proto.Message)
func (*Model_TrainingRun_IterationResult) XXX_Size ¶
func (m *Model_TrainingRun_IterationResult) XXX_Size() int
func (*Model_TrainingRun_IterationResult) XXX_Unmarshal ¶
func (m *Model_TrainingRun_IterationResult) XXX_Unmarshal(b []byte) error
type Model_TrainingRun_IterationResult_ClusterInfo ¶
type Model_TrainingRun_IterationResult_ClusterInfo struct { // Centroid id. CentroidId int64 `protobuf:"varint,1,opt,name=centroid_id,json=centroidId,proto3" json:"centroid_id,omitempty"` // Cluster radius, the average distance from centroid // to each point assigned to the cluster. ClusterRadius *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=cluster_radius,json=clusterRadius,proto3" json:"cluster_radius,omitempty"` // Cluster size, the total number of points assigned to the cluster. ClusterSize *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information about a single cluster for clustering model.
func (*Model_TrainingRun_IterationResult_ClusterInfo) Descriptor ¶
func (*Model_TrainingRun_IterationResult_ClusterInfo) Descriptor() ([]byte, []int)
func (*Model_TrainingRun_IterationResult_ClusterInfo) GetCentroidId ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetCentroidId() int64
func (*Model_TrainingRun_IterationResult_ClusterInfo) GetClusterRadius ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetClusterRadius() *wrappers.DoubleValue
func (*Model_TrainingRun_IterationResult_ClusterInfo) GetClusterSize ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetClusterSize() *wrappers.Int64Value
func (*Model_TrainingRun_IterationResult_ClusterInfo) ProtoMessage ¶
func (*Model_TrainingRun_IterationResult_ClusterInfo) ProtoMessage()
func (*Model_TrainingRun_IterationResult_ClusterInfo) Reset ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) Reset()
func (*Model_TrainingRun_IterationResult_ClusterInfo) String ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) String() string
func (*Model_TrainingRun_IterationResult_ClusterInfo) XXX_DiscardUnknown ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_DiscardUnknown()
func (*Model_TrainingRun_IterationResult_ClusterInfo) XXX_Marshal ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_TrainingRun_IterationResult_ClusterInfo) XXX_Merge ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Merge(src proto.Message)
func (*Model_TrainingRun_IterationResult_ClusterInfo) XXX_Size ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Size() int
func (*Model_TrainingRun_IterationResult_ClusterInfo) XXX_Unmarshal ¶
func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Unmarshal(b []byte) error
type Model_TrainingRun_TrainingOptions ¶
type Model_TrainingRun_TrainingOptions struct { // The maximum number of iterations in training. Used only for iterative // training algorithms. MaxIterations int64 `protobuf:"varint,1,opt,name=max_iterations,json=maxIterations,proto3" json:"max_iterations,omitempty"` // Type of loss function used during training run. LossType Model_LossType `` /* 131-byte string literal not displayed */ // Learning rate in training. Used only for iterative training algorithms. LearnRate float64 `protobuf:"fixed64,3,opt,name=learn_rate,json=learnRate,proto3" json:"learn_rate,omitempty"` // L1 regularization coefficient. L1Regularization *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=l1_regularization,json=l1Regularization,proto3" json:"l1_regularization,omitempty"` // L2 regularization coefficient. L2Regularization *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=l2_regularization,json=l2Regularization,proto3" json:"l2_regularization,omitempty"` // When early_stop is true, stops training when accuracy improvement is // less than 'min_relative_progress'. Used only for iterative training // algorithms. MinRelativeProgress *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=min_relative_progress,json=minRelativeProgress,proto3" json:"min_relative_progress,omitempty"` // Whether to train a model from the last checkpoint. WarmStart *wrappers.BoolValue `protobuf:"bytes,7,opt,name=warm_start,json=warmStart,proto3" json:"warm_start,omitempty"` // Whether to stop early when the loss doesn't improve significantly // any more (compared to min_relative_progress). Used only for iterative // training algorithms. EarlyStop *wrappers.BoolValue `protobuf:"bytes,8,opt,name=early_stop,json=earlyStop,proto3" json:"early_stop,omitempty"` // Name of input label columns in training data. InputLabelColumns []string `protobuf:"bytes,9,rep,name=input_label_columns,json=inputLabelColumns,proto3" json:"input_label_columns,omitempty"` // The data split type for training and evaluation, e.g. RANDOM. DataSplitMethod Model_DataSplitMethod `` /* 162-byte string literal not displayed */ // The fraction of evaluation data over the whole input data. The rest // of data will be used as training data. The format should be double. // Accurate to two decimal places. // Default value is 0.2. DataSplitEvalFraction float64 `` /* 131-byte string literal not displayed */ // The column to split data with. This column won't be used as a // feature. // 1. When data_split_method is CUSTOM, the corresponding column should // be boolean. The rows with true value tag are eval data, and the false // are training data. // 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION // rows (from smallest to largest) in the corresponding column are used // as training data, and the rest are eval data. It respects the order // in Orderable data types: // https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data-type-properties DataSplitColumn string `protobuf:"bytes,12,opt,name=data_split_column,json=dataSplitColumn,proto3" json:"data_split_column,omitempty"` // The strategy to determine learn rate for the current iteration. LearnRateStrategy Model_LearnRateStrategy `` /* 170-byte string literal not displayed */ // Specifies the initial learning rate for the line search learn rate // strategy. InitialLearnRate float64 `protobuf:"fixed64,16,opt,name=initial_learn_rate,json=initialLearnRate,proto3" json:"initial_learn_rate,omitempty"` // Weights associated with each label class, for rebalancing the // training data. Only applicable for classification models. LabelClassWeights map[string]float64 `` /* 205-byte string literal not displayed */ // Distance type for clustering models. DistanceType Model_DistanceType `` /* 148-byte string literal not displayed */ // Number of clusters for clustering models. NumClusters int64 `protobuf:"varint,21,opt,name=num_clusters,json=numClusters,proto3" json:"num_clusters,omitempty"` // [Beta] Google Cloud Storage URI from which the model was imported. Only // applicable for imported models. ModelUri string `protobuf:"bytes,22,opt,name=model_uri,json=modelUri,proto3" json:"model_uri,omitempty"` // Optimization strategy for training linear regression models. OptimizationStrategy Model_OptimizationStrategy `` /* 180-byte string literal not displayed */ // The method used to initialize the centroids for kmeans algorithm. KmeansInitializationMethod Model_KmeansEnums_KmeansInitializationMethod `` /* 218-byte string literal not displayed */ // The column used to provide the initial centroids for kmeans algorithm // when kmeans_initialization_method is CUSTOM. KmeansInitializationColumn string `` /* 142-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Model_TrainingRun_TrainingOptions) Descriptor ¶
func (*Model_TrainingRun_TrainingOptions) Descriptor() ([]byte, []int)
func (*Model_TrainingRun_TrainingOptions) GetDataSplitColumn ¶
func (m *Model_TrainingRun_TrainingOptions) GetDataSplitColumn() string
func (*Model_TrainingRun_TrainingOptions) GetDataSplitEvalFraction ¶
func (m *Model_TrainingRun_TrainingOptions) GetDataSplitEvalFraction() float64
func (*Model_TrainingRun_TrainingOptions) GetDataSplitMethod ¶
func (m *Model_TrainingRun_TrainingOptions) GetDataSplitMethod() Model_DataSplitMethod
func (*Model_TrainingRun_TrainingOptions) GetDistanceType ¶
func (m *Model_TrainingRun_TrainingOptions) GetDistanceType() Model_DistanceType
func (*Model_TrainingRun_TrainingOptions) GetEarlyStop ¶
func (m *Model_TrainingRun_TrainingOptions) GetEarlyStop() *wrappers.BoolValue
func (*Model_TrainingRun_TrainingOptions) GetInitialLearnRate ¶
func (m *Model_TrainingRun_TrainingOptions) GetInitialLearnRate() float64
func (*Model_TrainingRun_TrainingOptions) GetInputLabelColumns ¶
func (m *Model_TrainingRun_TrainingOptions) GetInputLabelColumns() []string
func (*Model_TrainingRun_TrainingOptions) GetKmeansInitializationColumn ¶
func (m *Model_TrainingRun_TrainingOptions) GetKmeansInitializationColumn() string
func (*Model_TrainingRun_TrainingOptions) GetKmeansInitializationMethod ¶
func (m *Model_TrainingRun_TrainingOptions) GetKmeansInitializationMethod() Model_KmeansEnums_KmeansInitializationMethod
func (*Model_TrainingRun_TrainingOptions) GetL1Regularization ¶
func (m *Model_TrainingRun_TrainingOptions) GetL1Regularization() *wrappers.DoubleValue
func (*Model_TrainingRun_TrainingOptions) GetL2Regularization ¶
func (m *Model_TrainingRun_TrainingOptions) GetL2Regularization() *wrappers.DoubleValue
func (*Model_TrainingRun_TrainingOptions) GetLabelClassWeights ¶
func (m *Model_TrainingRun_TrainingOptions) GetLabelClassWeights() map[string]float64
func (*Model_TrainingRun_TrainingOptions) GetLearnRate ¶
func (m *Model_TrainingRun_TrainingOptions) GetLearnRate() float64
func (*Model_TrainingRun_TrainingOptions) GetLearnRateStrategy ¶
func (m *Model_TrainingRun_TrainingOptions) GetLearnRateStrategy() Model_LearnRateStrategy
func (*Model_TrainingRun_TrainingOptions) GetLossType ¶
func (m *Model_TrainingRun_TrainingOptions) GetLossType() Model_LossType
func (*Model_TrainingRun_TrainingOptions) GetMaxIterations ¶
func (m *Model_TrainingRun_TrainingOptions) GetMaxIterations() int64
func (*Model_TrainingRun_TrainingOptions) GetMinRelativeProgress ¶
func (m *Model_TrainingRun_TrainingOptions) GetMinRelativeProgress() *wrappers.DoubleValue
func (*Model_TrainingRun_TrainingOptions) GetModelUri ¶
func (m *Model_TrainingRun_TrainingOptions) GetModelUri() string
func (*Model_TrainingRun_TrainingOptions) GetNumClusters ¶
func (m *Model_TrainingRun_TrainingOptions) GetNumClusters() int64
func (*Model_TrainingRun_TrainingOptions) GetOptimizationStrategy ¶
func (m *Model_TrainingRun_TrainingOptions) GetOptimizationStrategy() Model_OptimizationStrategy
func (*Model_TrainingRun_TrainingOptions) GetWarmStart ¶
func (m *Model_TrainingRun_TrainingOptions) GetWarmStart() *wrappers.BoolValue
func (*Model_TrainingRun_TrainingOptions) ProtoMessage ¶
func (*Model_TrainingRun_TrainingOptions) ProtoMessage()
func (*Model_TrainingRun_TrainingOptions) Reset ¶
func (m *Model_TrainingRun_TrainingOptions) Reset()
func (*Model_TrainingRun_TrainingOptions) String ¶
func (m *Model_TrainingRun_TrainingOptions) String() string
func (*Model_TrainingRun_TrainingOptions) XXX_DiscardUnknown ¶
func (m *Model_TrainingRun_TrainingOptions) XXX_DiscardUnknown()
func (*Model_TrainingRun_TrainingOptions) XXX_Marshal ¶
func (m *Model_TrainingRun_TrainingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Model_TrainingRun_TrainingOptions) XXX_Merge ¶
func (m *Model_TrainingRun_TrainingOptions) XXX_Merge(src proto.Message)
func (*Model_TrainingRun_TrainingOptions) XXX_Size ¶
func (m *Model_TrainingRun_TrainingOptions) XXX_Size() int
func (*Model_TrainingRun_TrainingOptions) XXX_Unmarshal ¶
func (m *Model_TrainingRun_TrainingOptions) XXX_Unmarshal(b []byte) error
type PatchModelRequest ¶
type PatchModelRequest struct { // Required. Project ID of the model to patch. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. Dataset ID of the model to patch. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Required. Model ID of the model to patch. ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // Required. Patched model. // Follows RFC5789 patch semantics. Missing fields are not updated. // To clear a field, explicitly set to default value. Model *Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PatchModelRequest) Descriptor ¶
func (*PatchModelRequest) Descriptor() ([]byte, []int)
func (*PatchModelRequest) GetDatasetId ¶
func (m *PatchModelRequest) GetDatasetId() string
func (*PatchModelRequest) GetModel ¶
func (m *PatchModelRequest) GetModel() *Model
func (*PatchModelRequest) GetModelId ¶
func (m *PatchModelRequest) GetModelId() string
func (*PatchModelRequest) GetProjectId ¶
func (m *PatchModelRequest) GetProjectId() string
func (*PatchModelRequest) ProtoMessage ¶
func (*PatchModelRequest) ProtoMessage()
func (*PatchModelRequest) Reset ¶
func (m *PatchModelRequest) Reset()
func (*PatchModelRequest) String ¶
func (m *PatchModelRequest) String() string
func (*PatchModelRequest) XXX_DiscardUnknown ¶
func (m *PatchModelRequest) XXX_DiscardUnknown()
func (*PatchModelRequest) XXX_Marshal ¶
func (m *PatchModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PatchModelRequest) XXX_Merge ¶
func (m *PatchModelRequest) XXX_Merge(src proto.Message)
func (*PatchModelRequest) XXX_Size ¶
func (m *PatchModelRequest) XXX_Size() int
func (*PatchModelRequest) XXX_Unmarshal ¶
func (m *PatchModelRequest) XXX_Unmarshal(b []byte) error
type StandardSqlDataType ¶
type StandardSqlDataType struct { // Required. The top level type of this field. // Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY"). TypeKind StandardSqlDataType_TypeKind `` /* 145-byte string literal not displayed */ // Types that are valid to be assigned to SubType: // *StandardSqlDataType_ArrayElementType // *StandardSqlDataType_StructType SubType isStandardSqlDataType_SubType `protobuf_oneof:"sub_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The type of a variable, e.g., a function argument. Examples: INT64: {type_kind="INT64"} ARRAY<STRING>: {type_kind="ARRAY", array_element_type="STRING"} STRUCT<x STRING, y ARRAY<DATE>>:
{type_kind="STRUCT", struct_type={fields=[ {name="x", type={type_kind="STRING"}}, {name="y", type={type_kind="ARRAY", array_element_type="DATE"}} ]}}
func (*StandardSqlDataType) Descriptor ¶
func (*StandardSqlDataType) Descriptor() ([]byte, []int)
func (*StandardSqlDataType) GetArrayElementType ¶
func (m *StandardSqlDataType) GetArrayElementType() *StandardSqlDataType
func (*StandardSqlDataType) GetStructType ¶
func (m *StandardSqlDataType) GetStructType() *StandardSqlStructType
func (*StandardSqlDataType) GetSubType ¶
func (m *StandardSqlDataType) GetSubType() isStandardSqlDataType_SubType
func (*StandardSqlDataType) GetTypeKind ¶
func (m *StandardSqlDataType) GetTypeKind() StandardSqlDataType_TypeKind
func (*StandardSqlDataType) ProtoMessage ¶
func (*StandardSqlDataType) ProtoMessage()
func (*StandardSqlDataType) Reset ¶
func (m *StandardSqlDataType) Reset()
func (*StandardSqlDataType) String ¶
func (m *StandardSqlDataType) String() string
func (*StandardSqlDataType) XXX_DiscardUnknown ¶
func (m *StandardSqlDataType) XXX_DiscardUnknown()
func (*StandardSqlDataType) XXX_Marshal ¶
func (m *StandardSqlDataType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StandardSqlDataType) XXX_Merge ¶
func (m *StandardSqlDataType) XXX_Merge(src proto.Message)
func (*StandardSqlDataType) XXX_OneofWrappers ¶
func (*StandardSqlDataType) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*StandardSqlDataType) XXX_Size ¶
func (m *StandardSqlDataType) XXX_Size() int
func (*StandardSqlDataType) XXX_Unmarshal ¶
func (m *StandardSqlDataType) XXX_Unmarshal(b []byte) error
type StandardSqlDataType_ArrayElementType ¶
type StandardSqlDataType_ArrayElementType struct {
ArrayElementType *StandardSqlDataType `protobuf:"bytes,2,opt,name=array_element_type,json=arrayElementType,proto3,oneof"`
}
type StandardSqlDataType_StructType ¶
type StandardSqlDataType_StructType struct {
StructType *StandardSqlStructType `protobuf:"bytes,3,opt,name=struct_type,json=structType,proto3,oneof"`
}
type StandardSqlDataType_TypeKind ¶
type StandardSqlDataType_TypeKind int32
const ( // Invalid type. StandardSqlDataType_TYPE_KIND_UNSPECIFIED StandardSqlDataType_TypeKind = 0 // Encoded as a string in decimal format. StandardSqlDataType_INT64 StandardSqlDataType_TypeKind = 2 // Encoded as a boolean "false" or "true". StandardSqlDataType_BOOL StandardSqlDataType_TypeKind = 5 // Encoded as a number, or string "NaN", "Infinity" or "-Infinity". StandardSqlDataType_FLOAT64 StandardSqlDataType_TypeKind = 7 // Encoded as a string value. StandardSqlDataType_STRING StandardSqlDataType_TypeKind = 8 // Encoded as a base64 string per RFC 4648, section 4. StandardSqlDataType_BYTES StandardSqlDataType_TypeKind = 9 // Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: // 1985-04-12T23:20:50.52Z StandardSqlDataType_TIMESTAMP StandardSqlDataType_TypeKind = 19 // Encoded as RFC 3339 full-date format string: 1985-04-12 StandardSqlDataType_DATE StandardSqlDataType_TypeKind = 10 // Encoded as RFC 3339 partial-time format string: 23:20:50.52 StandardSqlDataType_TIME StandardSqlDataType_TypeKind = 20 // Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52 StandardSqlDataType_DATETIME StandardSqlDataType_TypeKind = 21 // Encoded as WKT StandardSqlDataType_GEOGRAPHY StandardSqlDataType_TypeKind = 22 // Encoded as a decimal string. StandardSqlDataType_NUMERIC StandardSqlDataType_TypeKind = 23 // Encoded as a list with types matching Type.array_type. StandardSqlDataType_ARRAY StandardSqlDataType_TypeKind = 16 // Encoded as a list with fields of type Type.struct_type[i]. List is used // because a JSON object cannot have duplicate field names. StandardSqlDataType_STRUCT StandardSqlDataType_TypeKind = 17 )
func (StandardSqlDataType_TypeKind) EnumDescriptor ¶
func (StandardSqlDataType_TypeKind) EnumDescriptor() ([]byte, []int)
func (StandardSqlDataType_TypeKind) String ¶
func (x StandardSqlDataType_TypeKind) String() string
type StandardSqlField ¶
type StandardSqlField struct { // Optional. The name of this field. Can be absent for struct fields. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The type of this parameter. Absent if not explicitly // specified (e.g., CREATE FUNCTION statement can omit the return type; // in this case the output parameter does not have this "type" field). Type *StandardSqlDataType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A field or a column.
func (*StandardSqlField) Descriptor ¶
func (*StandardSqlField) Descriptor() ([]byte, []int)
func (*StandardSqlField) GetName ¶
func (m *StandardSqlField) GetName() string
func (*StandardSqlField) GetType ¶
func (m *StandardSqlField) GetType() *StandardSqlDataType
func (*StandardSqlField) ProtoMessage ¶
func (*StandardSqlField) ProtoMessage()
func (*StandardSqlField) Reset ¶
func (m *StandardSqlField) Reset()
func (*StandardSqlField) String ¶
func (m *StandardSqlField) String() string
func (*StandardSqlField) XXX_DiscardUnknown ¶
func (m *StandardSqlField) XXX_DiscardUnknown()
func (*StandardSqlField) XXX_Marshal ¶
func (m *StandardSqlField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StandardSqlField) XXX_Merge ¶
func (m *StandardSqlField) XXX_Merge(src proto.Message)
func (*StandardSqlField) XXX_Size ¶
func (m *StandardSqlField) XXX_Size() int
func (*StandardSqlField) XXX_Unmarshal ¶
func (m *StandardSqlField) XXX_Unmarshal(b []byte) error
type StandardSqlStructType ¶
type StandardSqlStructType struct { Fields []*StandardSqlField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StandardSqlStructType) Descriptor ¶
func (*StandardSqlStructType) Descriptor() ([]byte, []int)
func (*StandardSqlStructType) GetFields ¶
func (m *StandardSqlStructType) GetFields() []*StandardSqlField
func (*StandardSqlStructType) ProtoMessage ¶
func (*StandardSqlStructType) ProtoMessage()
func (*StandardSqlStructType) Reset ¶
func (m *StandardSqlStructType) Reset()
func (*StandardSqlStructType) String ¶
func (m *StandardSqlStructType) String() string
func (*StandardSqlStructType) XXX_DiscardUnknown ¶
func (m *StandardSqlStructType) XXX_DiscardUnknown()
func (*StandardSqlStructType) XXX_Marshal ¶
func (m *StandardSqlStructType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StandardSqlStructType) XXX_Merge ¶
func (m *StandardSqlStructType) XXX_Merge(src proto.Message)
func (*StandardSqlStructType) XXX_Size ¶
func (m *StandardSqlStructType) XXX_Size() int
func (*StandardSqlStructType) XXX_Unmarshal ¶
func (m *StandardSqlStructType) XXX_Unmarshal(b []byte) error
type UnimplementedModelServiceServer ¶
type UnimplementedModelServiceServer struct { }
UnimplementedModelServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedModelServiceServer) DeleteModel ¶
func (*UnimplementedModelServiceServer) DeleteModel(ctx context.Context, req *DeleteModelRequest) (*empty.Empty, error)
func (*UnimplementedModelServiceServer) GetModel ¶
func (*UnimplementedModelServiceServer) GetModel(ctx context.Context, req *GetModelRequest) (*Model, error)
func (*UnimplementedModelServiceServer) ListModels ¶
func (*UnimplementedModelServiceServer) ListModels(ctx context.Context, req *ListModelsRequest) (*ListModelsResponse, error)
func (*UnimplementedModelServiceServer) PatchModel ¶
func (*UnimplementedModelServiceServer) PatchModel(ctx context.Context, req *PatchModelRequest) (*Model, error)