model

package
v0.1.102 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmetPropertyDictWithCustom

type AdmetPropertyDictWithCustom struct {
}

AdmetPropertyDictWithCustom 分子ADMET属性字典(包含自定义属性)

func (AdmetPropertyDictWithCustom) String

type AdmetWithCustomRequest

type AdmetWithCustomRequest struct {

	// 分子SMILES表达式
	Smiles string `json:"smiles"`

	// 用户已开启的自定义属性集合
	CustomProps *[]CustomProp `json:"custom_props,omitempty"`
}

AdmetWithCustomRequest ADMET with custom请求体

func (AdmetWithCustomRequest) String

func (o AdmetWithCustomRequest) String() string

type CustomProp

type CustomProp struct {

	// 自定义属性的ID(API侧)
	Id string `json:"id"`

	PropDefinition *PropDefinition `json:"prop_definition,omitempty"`
}

CustomProp 用户开启的自定义属性

func (CustomProp) String

func (o CustomProp) String() string

type PropDefinition

type PropDefinition struct {

	// 属性业务侧ID
	Id *string `json:"id,omitempty"`

	// 属性名称
	Name *string `json:"name,omitempty"`

	// 属性类型
	Type *PropDefinitionType `json:"type,omitempty"`

	// 属性具体描述信息
	Description *string `json:"description,omitempty"`

	ValueRange *ValueRange `json:"value_range,omitempty"`

	OptimalRange *ValueRange `json:"optimal_range,omitempty"`

	WarningRange *ValueRange `json:"warning_range,omitempty"`

	// 模型参数呈现类型
	Style *PropDefinitionStyle `json:"style,omitempty"`

	// 模型推理是否呈现置信区间
	ConfidentialInterval *bool `json:"confidential_interval,omitempty"`
}

PropDefinition 属性定义的相关结构

func (PropDefinition) String

func (o PropDefinition) String() string

type PropDefinitionStyle

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

func (PropDefinitionStyle) MarshalJSON

func (c PropDefinitionStyle) MarshalJSON() ([]byte, error)

func (*PropDefinitionStyle) UnmarshalJSON

func (c *PropDefinitionStyle) UnmarshalJSON(b []byte) error

func (PropDefinitionStyle) Value

func (c PropDefinitionStyle) Value() string

type PropDefinitionStyleEnum

type PropDefinitionStyleEnum struct {
	NUMBER      PropDefinitionStyle
	PROBABILITY PropDefinitionStyle
}

func GetPropDefinitionStyleEnum

func GetPropDefinitionStyleEnum() PropDefinitionStyleEnum

type PropDefinitionType

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

func (PropDefinitionType) MarshalJSON

func (c PropDefinitionType) MarshalJSON() ([]byte, error)

func (*PropDefinitionType) UnmarshalJSON

func (c *PropDefinitionType) UnmarshalJSON(b []byte) error

func (PropDefinitionType) Value

func (c PropDefinitionType) Value() string

type PropDefinitionTypeEnum

type PropDefinitionTypeEnum struct {
	BINARY    PropDefinitionType
	NUMERICAL PropDefinitionType
}

func GetPropDefinitionTypeEnum

func GetPropDefinitionTypeEnum() PropDefinitionTypeEnum

type ShowAdmetWithCustomPropsRequest

type ShowAdmetWithCustomPropsRequest struct {
	Body *AdmetWithCustomRequest `json:"body,omitempty"`
}

ShowAdmetWithCustomPropsRequest Request Object

func (ShowAdmetWithCustomPropsRequest) String

type ShowAdmetWithCustomPropsResponse

type ShowAdmetWithCustomPropsResponse struct {

	// 用户已开启的自定义属性集合
	CustomProps *[]CustomProp `json:"custom_props,omitempty"`

	Props          *AdmetPropertyDictWithCustom `json:"props,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

ShowAdmetWithCustomPropsResponse Response Object

func (ShowAdmetWithCustomPropsResponse) String

type Smiles

type Smiles struct {
}

Smiles 分子SMILES表达式

func (Smiles) String

func (o Smiles) String() string

type ValueRange

type ValueRange struct {

	// 值域下限
	Lower float32 `json:"lower,omitempty"`

	// 是否包含值域下限
	LowerInclusive *bool `json:"lower_inclusive,omitempty"`

	// 值域上限
	Upper float32 `json:"upper,omitempty"`

	// 是否包含值域上限
	UpperInclusive *bool `json:"upper_inclusive,omitempty"`
}

ValueRange 数值值域区间定义

func (ValueRange) String

func (o ValueRange) String() string

Jump to

Keyboard shortcuts

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