model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlgorithmSpecifyParameters

type AlgorithmSpecifyParameters struct {

	// 隐向量长度(DEEPFM需要提供此参数)。
	LatentVectorLength *int32 `json:"latent_vector_length,omitempty"`

	// 神经网络结构(DEEPFM需要提供此参数)。
	Architecture *[]int32 `json:"architecture,omitempty"`

	// 激活函数(DEEPFM需要提供此参数,AutoGroup需要提供此参数)。
	ActiveFunction *AlgorithmSpecifyParametersActiveFunction `json:"active_function,omitempty"`

	// 神经元值保留概率(DEEPFM需要提供此参数,AutoGroup需要提供此参数)。
	ValueKeepProbability *float64 `json:"value_keep_probability,omitempty"`

	// 各阶隐向量长度(AutoGroup需要提供此参数)。
	EmbedSize *[]int32 `json:"embed_size,omitempty"`

	// 神经网络结构(AutoGroup需要提供此参数)。
	MlpArchitecture *[]int32 `json:"mlp_architecture,omitempty"`

	// 最大交互阶数(AutoGroup需要提供此参数)。
	MaxOrder *int32 `json:"max_order,omitempty"`

	// 哈希长度(AutoGroup需要提供此参数)。
	HashSizes *[]int32 `json:"hash_sizes,omitempty"`

	// 特征交互层惩罚项系数(AutoGroup需要提供此参数)。
	HashCompensation *[]float64 `json:"hash_compensation,omitempty"`

	// 使用线性部分(AutoGroup需要提供此参数)。
	UseWidePart *bool `json:"use_wide_part,omitempty"`

	StructureOptimizer *Optimizer `json:"structure_optimizer,omitempty"`

	// 融合多值特征(AutoGroup需要提供此参数)。
	MergeMultiHot *bool `json:"merge_multi_hot,omitempty"`

	// 固定哈希结构(AutoGroup需要提供此参数)。
	FixStructure *bool `json:"fix_structure,omitempty"`
}

AlgorithmSpecifyParameters

func (AlgorithmSpecifyParameters) String

type AlgorithmSpecifyParametersActiveFunction

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

func (AlgorithmSpecifyParametersActiveFunction) MarshalJSON

func (*AlgorithmSpecifyParametersActiveFunction) UnmarshalJSON

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

func (AlgorithmSpecifyParametersActiveFunction) Value

type AttrPair

type AttrPair struct {

	// 被推荐对象的属性名。
	PartyA *string `json:"party_a,omitempty"`

	// 被推荐对象的属性名。
	PartyB *string `json:"party_b,omitempty"`
}

AttrPair

func (AttrPair) String

func (o AttrPair) String() string

type AttrPairRules

type AttrPairRules struct {

	// 属性对。
	AttrPairs *[]AttrPair `json:"attr_pairs,omitempty"`
}

AttrPairRules 属性对规则

func (AttrPairRules) String

func (o AttrPairRules) String() string

type AttrValue

type AttrValue struct {

	// 属性名称。
	Name string `json:"name"`

	// 属性值。
	Value string `json:"value"`
}

AttrValue

func (AttrValue) String

func (o AttrValue) String() string

type AttrValueRules

type AttrValueRules struct {

	// 被推荐对象的属性-值配置。
	AttrValuesA *[]AttrValue `json:"attr_values_a,omitempty"`

	// 待推荐对象的属性-值配置。
	AttrValuesB []AttrValue `json:"attr_values_b"`
}

AttrValueRules

func (AttrValueRules) String

func (o AttrValueRules) String() string

type Attribute

type Attribute struct {

	// 名称。
	Name string `json:"name"`

	// 数据类型。
	DataType *string `json:"data_type,omitempty"`

	// 其他用途。
	OtherUses *[]string `json:"other_uses,omitempty"`
}

Attribute

func (Attribute) String

func (o Attribute) String() string

type AttributeInfo

type AttributeInfo struct {

	// 属性匹配对。
	RankFeaturePairs *[]RankFeaturePair `json:"rank_feature_pairs,omitempty"`

	// 属性权重。
	NumericalAttrs *[]NumericalAttr `json:"numerical_attrs,omitempty"`

	// 统计方式: - ORDER,顺序 - ABS,绝对值
	NumStatisticsType *AttributeInfoNumStatisticsType `json:"num_statistics_type,omitempty"`
}

AttributeInfo 综合排序信息

func (AttributeInfo) String

func (o AttributeInfo) String() string

type AttributeInfoNumStatisticsType

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

func (AttributeInfoNumStatisticsType) MarshalJSON

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

func (*AttributeInfoNumStatisticsType) UnmarshalJSON

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

func (AttributeInfoNumStatisticsType) Value

type AttributeInfoNumStatisticsTypeEnum

type AttributeInfoNumStatisticsTypeEnum struct {
	ORDER AttributeInfoNumStatisticsType
	ABS   AttributeInfoNumStatisticsType
}

func GetAttributeInfoNumStatisticsTypeEnum

func GetAttributeInfoNumStatisticsTypeEnum() AttributeInfoNumStatisticsTypeEnum

type BehaviorFrequency

type BehaviorFrequency struct {

	// 行为类型: - view,曝光 - click,点击 - collect,收藏 - uncollect,取消收藏 - search_click,搜索后点击 - comment,评论 - share,分享 - like,点赞 - dislike,点衰 - grade,评分 - consume,消费 - use,观看视频/听音乐/阅读 - download,下载 - tip,打赏 - subscribe,关注
	BehaviorType string `json:"behavior_type"`

	// 最小次数。
	LowerLimit *int32 `json:"lower_limit,omitempty"`

	// 最大次数。
	UpperLimit *int32 `json:"upper_limit,omitempty"`

	// 时间区间。
	TimeInterval int32 `json:"time_interval"`
}

BehaviorFrequency

func (BehaviorFrequency) String

func (o BehaviorFrequency) String() string

type BehaviorGravity

type BehaviorGravity struct {

	// 衰减因子。
	WeakenFactor *float64 `json:"weaken_factor,omitempty"`

	// 行为次数统计方法: - pv,访问量 - uv,独立访客
	ViewType *string `json:"view_type,omitempty"`

	// 算法类型: - normal,通用 - time,时间
	AlgoType *string `json:"algo_type,omitempty"`
}

BehaviorGravity 重力衰减因子

func (BehaviorGravity) String

func (o BehaviorGravity) String() string

type BehaviorWeights

type BehaviorWeights struct {

	// 行为类型。
	BehaviorType *string `json:"behavior_type,omitempty"`

	// 行为权重。
	Weight *int32 `json:"weight,omitempty"`

	// 其他用途。
	OtherUses *[]string `json:"other_uses,omitempty"`
}

func (BehaviorWeights) String

func (o BehaviorWeights) String() string

type BehaviorsConfig

type BehaviorsConfig struct {

	// 正向行为。
	PositiveBehaviors *[]BehaviorWeights `json:"positive_behaviors,omitempty"`

	// 负向行为。
	NegativeBehaviors *[]BehaviorWeights `json:"negative_behaviors,omitempty"`
}

BehaviorsConfig

func (BehaviorsConfig) String

func (o BehaviorsConfig) String() string

type BloomFilterConf

type BloomFilterConf struct {

	// 待过滤行为类型。
	Behaviors *[]string `json:"behaviors,omitempty"`

	// 过滤时间。
	Interval *int32 `json:"interval,omitempty"`
}

BloomFilterConf

func (BloomFilterConf) String

func (o BloomFilterConf) String() string

type Category

type Category struct {

	// 用户特征。
	UserMetaList *[]string `json:"user_meta_list,omitempty"`

	// 物品特征。
	ItemMetaList *[]string `json:"item_meta_list,omitempty"`
}

Category 热度策略的分群配置

func (Category) String

func (o Category) String() string

type CreateResDatasourceRequest

type CreateResDatasourceRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	Body *CreateResDatasourceRequestBody `json:"body,omitempty"`
}

CreateResDatasourceRequest Request Object

func (CreateResDatasourceRequest) String

type CreateResDatasourceRequestBody

type CreateResDatasourceRequestBody struct {

	// 数据源名称,1-64位字母、数字、下划线、中划线组合。
	DatasourceName string `json:"datasource_name"`

	SpecsConfig *SpecsConfig `json:"specs_config"`

	DataConfig *DataConfig `json:"data_config"`
}

CreateResDatasourceRequestBody This is a auto create Body Object

func (CreateResDatasourceRequestBody) String

type CreateResDatasourceResponse

type CreateResDatasourceResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	Datasource *Datasource `json:"datasource,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateResDatasourceResponse Response Object

func (CreateResDatasourceResponse) String

type CreateResIntelligentSceneRequest

type CreateResIntelligentSceneRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	Body *CreateResIntelligentSceneRequestNBody `json:"body,omitempty"`
}

CreateResIntelligentSceneRequest Request Object

func (CreateResIntelligentSceneRequest) String

type CreateResIntelligentSceneRequestNBody

type CreateResIntelligentSceneRequestNBody struct {

	// 场景类型: - popularity,热门推荐 - relation,关联推荐 - personalization,猜你喜欢
	Category string `json:"category"`

	// 数据源id。
	DatasourceId string `json:"datasource_id"`

	// 场景名称:字母、数字、下划线、中划线组合。
	SceneName string `json:"scene_name"`

	SpecsConfig *SpecsConfig `json:"specs_config"`

	// 调度信息。
	Schedule *string `json:"schedule,omitempty"`

	JobConfigs *JobConfig `json:"job_configs"`
}

CreateResIntelligentSceneRequestNBody This is a auto create Body Object

func (CreateResIntelligentSceneRequestNBody) String

type CreateResIntelligentSceneResponse

type CreateResIntelligentSceneResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode *string `json:"error_code,omitempty"`

	Scene          *Scene `json:"scene,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateResIntelligentSceneResponse Response Object

func (CreateResIntelligentSceneResponse) String

type CreateResJobRequest

type CreateResJobRequest struct {

	// 资源id
	ResourceId string `json:"resource_id"`

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`

	Body *CreateResJobRequestBody `json:"body,omitempty"`
}

CreateResJobRequest Request Object

func (CreateResJobRequest) String

func (o CreateResJobRequest) String() string

type CreateResJobRequestBody

type CreateResJobRequestBody struct {

	// 类别: - RECALL,召回作业 - DATASOURCE,数据源作业 - FILTER,过滤作业 - SORTING,排序作业 - EVALUATE,效果评估作业
	Category string `json:"category"`

	// 描述
	Description *string `json:"description,omitempty"`

	JobConfig *JobConfig `json:"job_config"`

	ExecConfig *ResExecConfig `json:"exec_config,omitempty"`

	// 作业名称,1-64位字母、数字、下划线、中划线组合
	JobName string `json:"job_name"`

	// 作业类型: - WriteUserProfile,用户画像实时导入作业 - WriteItemProfile,物品画像实时导入作业 - UniversalProcess,行为数据实时导入作业 - NearlineRecall,近线召回作业 - EncodeProfile,近线特征工程作业 - AttributeMatch,属性匹配召回作业 - AlsCF,交替最小二乘协同过滤作业 - BhvHistory,历史行为记忆召回作业 - ItemCf,物品协同过滤召回作业 - MenEdit,人工配置候选集作业 - Ucb,UCB召回作业 - UserCf,用户协同过滤召回作业 - WeightBehavior,综合行为热度召回作业 - Filter,历史行为过滤作业 - AutoPreRank,智能ETL参数生成作业 - ETL,离线特征工程作业 - LR,LR作业 - DEEPFM,DEEPFM作业 - AutoGroup,AutoGroup作业 - StreamRank,在线训练作业 - DataStruct,识别数据结构作业 - DataExploration,数据探索作业 - DataImport,离线数据导入作业 - Evaluate,效果评估作业
	JobType string `json:"job_type"`

	// 调度参数
	Schedule *string `json:"schedule,omitempty"`
}

CreateResJobRequestBody This is a auto create Body Object

func (CreateResJobRequestBody) String

func (o CreateResJobRequestBody) String() string

type CreateResJobResponse

type CreateResJobResponse struct {

	// 是否成功
	IsSuccess *bool `json:"is_success,omitempty"`

	Job *Jobs `json:"job,omitempty"`

	// 返回消息(请求成功时,不返回此字段)
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateResJobResponse Response Object

func (CreateResJobResponse) String

func (o CreateResJobResponse) String() string

type CreateResJobsRequest

type CreateResJobsRequest struct {

	// 资源id
	ResourceId string `json:"resource_id"`

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`

	Body *CreateResJobsReququestBody `json:"body,omitempty"`
}

CreateResJobsRequest Request Object

func (CreateResJobsRequest) String

func (o CreateResJobsRequest) String() string

type CreateResJobsReququestBody

type CreateResJobsReququestBody struct {

	// 类别: - RECALL,召回作业 - DATASOURCE,数据源作业 - FILTER,过滤作业 - SORTING,排序作业 - EVALUATE,效果评估作业
	Category string `json:"category"`

	// 描述
	Description *string `json:"description,omitempty"`

	JobConfig *JobConfig `json:"job_config"`

	ExecConfig *ResExecConfig `json:"exec_config,omitempty"`

	// 作业名称,1-64位字母、数字、下划线、中划线组合
	JobName string `json:"job_name"`

	// 作业类型: - WriteUserProfile,用户画像实时导入作业 - WriteItemProfile,物品画像实时导入作业 - UniversalProcess,行为数据实时导入作业 - NearlineRecall,近线召回作业 - EncodeProfile,近线特征工程作业 - AttributeMatch,属性匹配召回作业 - AlsCF,交替最小二乘协同过滤作业 - BhvHistory,历史行为记忆召回作业 - ItemCf,物品协同过滤召回作业 - MenEdit,人工配置候选集作业 - Ucb,UCB召回作业 - UserCf,用户协同过滤召回作业 - WeightBehavior,综合行为热度召回作业 - Filter,历史行为过滤作业 - AutoPreRank,智能ETL参数生成作业 - ETL,离线特征工程作业 - LR,LR作业 - DEEPFM,DEEPFM作业 - AutoGroup,AutoGroup作业 - StreamRank,在线训练作业 - DataStruct,识别数据结构作业 - DataExploration,数据探索作业 - DataImport,离线数据导入作业 - Evaluate,效果评估作业
	JobType string `json:"job_type"`

	// 调度参数
	Schedule *string `json:"schedule,omitempty"`
}

CreateResJobsReququestBody This is a auto create Body Object

func (CreateResJobsReququestBody) String

type CreateResJobsResponse

type CreateResJobsResponse struct {

	// 请求是否成功
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateResJobsResponse Response Object

func (CreateResJobsResponse) String

func (o CreateResJobsResponse) String() string

type CreateResOnlineInstanceRequest

type CreateResOnlineInstanceRequest struct {

	// 资源id(数据源id或场景id)。
	ResourceId string `json:"resource_id"`

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	Body *CreateResOnlineInstanceRequestBody `json:"body,omitempty"`
}

CreateResOnlineInstanceRequest Request Object

func (CreateResOnlineInstanceRequest) String

type CreateResOnlineInstanceRequestBody

type CreateResOnlineInstanceRequestBody struct {

	// 作业名称,1-64位的字母、数字、下划线、中划线组合。
	JobName string `json:"job_name"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 类别: - SERVICE,在线服务
	Category string `json:"category"`

	// 作业类型: - infer,推理服务
	JobType string `json:"job_type"`

	JobConfig *JobConfig `json:"job_config"`

	// 通知消息配置。
	TopicUrn *string `json:"topicUrn,omitempty"`
}

CreateResOnlineInstanceRequestBody This is a auto create Body Object

func (CreateResOnlineInstanceRequestBody) String

type CreateResOnlineInstanceResponse

type CreateResOnlineInstanceResponse struct {

	// 是否成功
	IsSuccess *bool `json:"is_success,omitempty"`

	Job *Jobs `json:"job,omitempty"`

	// 返回消息(请求成功时,不返回此字段)
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateResOnlineInstanceResponse Response Object

func (CreateResOnlineInstanceResponse) String

type CreateResSceneRequest

type CreateResSceneRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	Body *CreateResSceneRequestBody `json:"body,omitempty"`
}

CreateResSceneRequest Request Object

func (CreateResSceneRequest) String

func (o CreateResSceneRequest) String() string

type CreateResSceneRequestBody

type CreateResSceneRequestBody struct {

	// 场景类型: - customize,自定义推荐
	Category string `json:"category"`

	// 数据源id。
	DatasourceId string `json:"datasource_id"`

	DsConfig *DsConfig `json:"ds_config"`

	// 场景名称,1-64位的字母、数字、下划线、中划线组合。
	SceneName string `json:"scene_name"`

	SpecsConfig *SpecsConfig `json:"specs_config"`

	// 场景类型: - UI,基于用户推荐物品 - UU,基于用户推荐用户 - II,基于物品推荐物品 - IU,基于物品推荐用户
	Type string `json:"type"`

	// 服务类型: - rank,排序服务 - rec,推荐服务
	ServiceType string `json:"service_type"`
}

CreateResSceneRequestBody This is a auto create Body Object

func (CreateResSceneRequestBody) String

func (o CreateResSceneRequestBody) String() string

type CreateResSceneResponse

type CreateResSceneResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	Scene *Scene `json:"scene,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateResSceneResponse Response Object

func (CreateResSceneResponse) String

func (o CreateResSceneResponse) String() string

type CreateResWorkspaceRequest

type CreateResWorkspaceRequest struct {
	Body *CreateResWorkspaceRequestBody `json:"body,omitempty"`
}

CreateResWorkspaceRequest Request Object

func (CreateResWorkspaceRequest) String

func (o CreateResWorkspaceRequest) String() string

type CreateResWorkspaceRequestBody

type CreateResWorkspaceRequestBody struct {

	// 工作空间名称,1-64位的数字、字母、下划线、中划线组成,支持中文,不能以 - 结尾。
	Name string `json:"name"`

	// 企业项目编号。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 描述。
	Description *string `json:"description,omitempty"`
}

CreateResWorkspaceRequestBody This is a auto create Body Object

func (CreateResWorkspaceRequestBody) String

type CreateResWorkspaceResponse

type CreateResWorkspaceResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateResWorkspaceResponse Response Object

func (CreateResWorkspaceResponse) String

type CustomizeFormula

type CustomizeFormula struct {

	// 别名。
	Alias *string `json:"alias,omitempty"`

	// 公式。
	Formula *string `json:"formula,omitempty"`
}

CustomizeFormula 自定义公式

func (CustomizeFormula) String

func (o CustomizeFormula) String() string

type CustomizeParameter

type CustomizeParameter struct {

	// 别名。
	Alias string `json:"alias"`

	// 行为类型。
	BehaviorType string `json:"behavior_type"`

	// 阈值。
	Threshold *float64 `json:"threshold,omitempty"`

	// 去重。
	Deduplication string `json:"deduplication"`
}

CustomizeParameter 自定义参数

func (CustomizeParameter) String

func (o CustomizeParameter) String() string

type DataConfig

type DataConfig struct {
	Offline *Offline `json:"offline"`

	Nearline *Nearline `json:"nearline,omitempty"`
}

DataConfig

func (DataConfig) String

func (o DataConfig) String() string

type DataStruct

type DataStruct struct {
	Behaviors *BehaviorsConfig `json:"behaviors,omitempty"`

	// 物品参数。
	ItemAttrs *[]ItemAttrs `json:"item_attrs,omitempty"`

	// 用户参数。
	UserAttrs *[]UserAttrs `json:"user_attrs,omitempty"`

	UserDynamicAttr *UserDynamicAttr `json:"user_dynamic_attr,omitempty"`
}

func (DataStruct) String

func (o DataStruct) String() string

type Datasource

type Datasource struct {

	// 数据源名称。
	DatasourceName string `json:"datasource_name"`

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 数据源id。
	DatasourceId *string `json:"datasource_id,omitempty"`

	// 状态。
	Status *string `json:"status,omitempty"`

	// 创建时间。
	CreatedAt *int64 `json:"created_at,omitempty"`
}

Datasource

func (Datasource) String

func (o Datasource) String() string

type Datasources

type Datasources struct {

	// 数据源id。
	DatasourceId *string `json:"datasource_id,omitempty"`

	// 名称。
	DatasourceName *string `json:"datasource_name,omitempty"`

	// 状态。
	Status *string `json:"status,omitempty"`

	// 结构。
	Structure *string `json:"structure,omitempty"`

	// 工作空间编号。
	WorkspaceId *string `json:"workspace_id,omitempty"`

	DataConfig *DataConfig `json:"data_config,omitempty"`

	SpecsConfig *SpecsConfig `json:"specs_config,omitempty"`

	// 创建时间。
	CreatedAt *int64 `json:"created_at,omitempty"`

	// 更新时间。
	UpdateAt *int64 `json:"update_at,omitempty"`
}

func (Datasources) String

func (o Datasources) String() string

type Deduplication

type Deduplication struct {

	// 属性。
	Attributes *[]string `json:"attributes,omitempty"`
}

Deduplication 属性去重复,只能选择整型和字符串类型属性

func (Deduplication) String

func (o Deduplication) String() string

type DeepLearingParam

type DeepLearingParam struct {
	InitialParameters *Initial `json:"initial_parameters,omitempty"`

	OptimizeParameters *Optimizer `json:"optimize_parameters,omitempty"`

	RegularParameters *Regular `json:"regular_parameters,omitempty"`

	// 最大迭代轮数。
	MaxIterations *int32 `json:"max_iterations,omitempty"`

	// 提前终止训练轮数。
	EarlyStopIterations *int32 `json:"early_stop_iterations,omitempty"`

	// 批量大小。
	BatchSize *int32 `json:"batch_size,omitempty"`

	// 训练数据集切分数量。
	DatasetSplitParts *int32 `json:"dataset_split_parts,omitempty"`

	// 重新训练。
	RestartTrain *bool `json:"restart_train,omitempty"`
}

DeepLearingParam 深度学习作业通用参数

func (DeepLearingParam) String

func (o DeepLearingParam) String() string

type DeleteResDatasourceRequest

type DeleteResDatasourceRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 数据源id。
	DatasourceId string `json:"datasource_id"`
}

DeleteResDatasourceRequest Request Object

func (DeleteResDatasourceRequest) String

type DeleteResDatasourceResponse

type DeleteResDatasourceResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteResDatasourceResponse Response Object

func (DeleteResDatasourceResponse) String

type DeleteResJobRequest

type DeleteResJobRequest struct {

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`

	// 资源id(数据源id或场景id)
	ResourceId string `json:"resource_id"`

	// 作业id
	JobId string `json:"job_id"`
}

DeleteResJobRequest Request Object

func (DeleteResJobRequest) String

func (o DeleteResJobRequest) String() string

type DeleteResJobResponse

type DeleteResJobResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteResJobResponse Response Object

func (DeleteResJobResponse) String

func (o DeleteResJobResponse) String() string

type DeleteResOnlineInstanceRequest

type DeleteResOnlineInstanceRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 资源id(数据源id或场景id)。
	ResourceId string `json:"resource_id"`

	// 作业id。
	JobId string `json:"job_id"`
}

DeleteResOnlineInstanceRequest Request Object

func (DeleteResOnlineInstanceRequest) String

type DeleteResOnlineInstanceResponse

type DeleteResOnlineInstanceResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteResOnlineInstanceResponse Response Object

func (DeleteResOnlineInstanceResponse) String

type DeleteResSceneRequest

type DeleteResSceneRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 场景id。
	SceneId string `json:"scene_id"`
}

DeleteResSceneRequest Request Object

func (DeleteResSceneRequest) String

func (o DeleteResSceneRequest) String() string

type DeleteResSceneResponse

type DeleteResSceneResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteResSceneResponse Response Object

func (DeleteResSceneResponse) String

func (o DeleteResSceneResponse) String() string

type DeleteResWorkspaceRequest

type DeleteResWorkspaceRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`
}

DeleteResWorkspaceRequest Request Object

func (DeleteResWorkspaceRequest) String

func (o DeleteResWorkspaceRequest) String() string

type DeleteResWorkspaceResponse

type DeleteResWorkspaceResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteResWorkspaceResponse Response Object

func (DeleteResWorkspaceResponse) String

type DsConfig

type DsConfig struct {

	// 数据选择(天)。
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 物品类别。
	CategoryType *string `json:"category_type,omitempty"`
}

func (DsConfig) String

func (o DsConfig) String() string

type EnterpriseProjects

type EnterpriseProjects struct {

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 企业项目id。
	Id *string `json:"id,omitempty"`

	// 企业项目名称。
	Name *string `json:"name,omitempty"`

	// 状态。
	Status *int32 `json:"status,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

func (EnterpriseProjects) String

func (o EnterpriseProjects) String() string

type ErrorCount

type ErrorCount struct {

	// 为空。
	Empty *bool `json:"empty,omitempty"`
}

func (ErrorCount) String

func (o ErrorCount) String() string

type ErrorSample

type ErrorSample struct {

	// 检测源描述。
	Source string `json:"source"`

	// 此错误共计次数。
	Count *int32 `json:"count,omitempty"`

	// 错误数据和错误提示消息。
	Msg *string `json:"msg,omitempty"`
}

ErrorSample 错误样例

func (ErrorSample) String

func (o ErrorSample) String() string

type EtlBasicParameter

type EtlBasicParameter struct {

	// 用户特征。
	UserFeatures *[]FeatureTransformation `json:"user_features,omitempty"`

	// 物品特征。
	ItemFeatures *[]FeatureTransformation `json:"item_features,omitempty"`

	RankEtlFilter *RankEtlFilter `json:"rank_etl_filter,omitempty"`
}

EtlBasicParameter

func (EtlBasicParameter) String

func (o EtlBasicParameter) String() string

type FeatureTransformation

type FeatureTransformation struct {
	Attr *Attribute `json:"attr,omitempty"`

	// 离散方法: - equal_distance_discrete,等距离散 - user_define_discrete,自定义离散 - normalize,归一化 - null,不离散
	DiscreteMethod *string `json:"discrete_method,omitempty"`

	// 具体处理参数。
	Params *interface{} `json:"params,omitempty"`
}

FeatureTransformation

func (FeatureTransformation) String

func (o FeatureTransformation) String() string

type FinalReport

type FinalReport struct {

	// 报告生成时间。
	GeneratedTime *string `json:"generated_time,omitempty"`

	// 宽表条目数,行为数据去重以后的数目。
	WideTableNum *int64 `json:"wide_table_num,omitempty"`

	// 用户齐全度,一条行为中的用户是否在产生这条行为的时候拥有画像。
	UserCompleteDegree *float64 `json:"user_complete_degree,omitempty"`

	// 物品齐全度,一条行为中的物品是否在这条行为产生的时候拥有画像。
	ItemCompleteDegree *float64 `json:"item_complete_degree,omitempty"`

	// 行为次数统计。
	BhvCount map[string]int64 `json:"bhv_count,omitempty"`

	// 用户数字类型特征统计。
	UserLongFeatureReport *[]NumFeatureReport `json:"user_long_feature_report,omitempty"`

	// 用户连续类型特征统计。
	UserFloatFeatureReport *[]NumFeatureReport `json:"user_float_feature_report,omitempty"`

	// 用户单值离散值类型特征统计。
	UserStrFeatureReport *[]StrFeatureReport `json:"user_str_feature_report,omitempty"`

	// 用户多值离散值类型特征统计。
	UserStrArrayFeatureReport *[]StrFeatureReport `json:"user_strArray_feature_report,omitempty"`

	// 物品数字类型特征统计。
	ItemLongFeatureReport *[]NumFeatureReport `json:"item_long_feature_report,omitempty"`

	// 物品连续类型特征统计。
	ItemFloatFeatureReport *[]NumFeatureReport `json:"item_float_feature_report,omitempty"`

	// 物品单值离散值类型特征统计。
	ItemStrFeatureReport *[]StrFeatureReport `json:"item_str_feature_report,omitempty"`

	// 物品多值离散值类型特征统计。
	ItemStrArrayFeatureReport *[]StrFeatureReport `json:"item_strArray_feature_report,omitempty"`
}

FinalReport 数据探索报告

func (FinalReport) String

func (o FinalReport) String() string

type Flow

type Flow struct {

	// 流程id。
	FlowId string `json:"flow_id"`

	// 属性对过滤。
	AttrPairRulesFilter *[]AttrPairRules `json:"attr_pair_rules_filter,omitempty"`

	// 属性对保留。
	AttrPairRulesReserve *[]AttrPairRules `json:"attr_pair_rules_reserve,omitempty"`

	// 属性去重。
	DeduplicationList *[]Deduplication `json:"deduplication_list,omitempty"`

	AttributeInfo *AttributeInfo `json:"attribute_info,omitempty"`

	BloomFilterConf *BloomFilterConf `json:"bloom_filter_conf,omitempty"`

	// 分组打散属性。
	GroupAttr *string `json:"group_attr,omitempty"`

	// 在排序前去重。
	PreDeal *bool `json:"pre_deal,omitempty"`

	// 排序配置信息。
	RankSetting *string `json:"rank_setting,omitempty"`

	Rules *Rule `json:"rules,omitempty"`

	// 过滤配置信息。
	FilterSets *[]string `json:"filter_sets,omitempty"`

	// 属性值过滤。
	AttrValueRulesFilter *[]AttrValueRules `json:"attr_value_rules_filter,omitempty"`

	// 属性值保留。
	AttrValueRulesReserve *[]AttrValueRules `json:"attr_value_rules_reserve,omitempty"`

	// 排序作业(使用点击率预估时需要提供此参数)。
	CtrJob *string `json:"ctr_job,omitempty"`

	// 流量占比。
	Ratio *int32 `json:"ratio,omitempty"`

	// 需要置顶的候选集列表。
	Toppings *[]string `json:"toppings,omitempty"`
}

Flow

func (Flow) String

func (o Flow) String() string

type Indicator

type Indicator struct {

	// 指标名称: - clickPVRate,点击PV率 - clickUVRate,点击UV率 - customize,自定义
	IndicatorName *string `json:"indicator_name,omitempty"`

	IndicatorParams *IndicatorParam `json:"indicator_params,omitempty"`
}

Indicator

func (Indicator) String

func (o Indicator) String() string

type IndicatorParam

type IndicatorParam struct {
	CustomizeParameter *CustomizeParameter `json:"customize_parameter,omitempty"`

	CustomizeFormula *CustomizeFormula `json:"customize_formula,omitempty"`
}

IndicatorParam 自定义指标参数

func (IndicatorParam) String

func (o IndicatorParam) String() string

type Initial

type Initial struct {

	// 初始化方法。
	InitialMethod InitialInitialMethod `json:"initial_method"`

	// 平均值。
	MeanValue *float64 `json:"mean_value,omitempty"`

	// 标准差。
	StandardDeviation *float64 `json:"standard_deviation,omitempty"`

	// 最小值。
	MinValue *float64 `json:"min_value,omitempty"`

	// 最大值。
	MaxValue *float64 `json:"max_value,omitempty"`
}

Initial 初始化参数

func (Initial) String

func (o Initial) String() string

type InitialInitialMethod

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

func (InitialInitialMethod) MarshalJSON

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

func (*InitialInitialMethod) UnmarshalJSON

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

func (InitialInitialMethod) Value

func (c InitialInitialMethod) Value() string

type InitialInitialMethodEnum

type InitialInitialMethodEnum struct {
	NORMAL  InitialInitialMethod
	UNIFORM InitialInitialMethod
	XAVIER  InitialInitialMethod
}

func GetInitialInitialMethodEnum

func GetInitialInitialMethodEnum() InitialInitialMethodEnum

type InspectResult

type InspectResult struct {

	// 数据类型。
	Type *string `json:"type,omitempty"`

	// 条目数。
	CountNum *int32 `json:"count_num,omitempty"`

	// 重复读。
	Multiplicity *float64 `json:"multiplicity,omitempty"`

	// 合法率。
	LegalRate *float64 `json:"legal_rate,omitempty"`
}

func (InspectResult) String

func (o InspectResult) String() string

type ItemAttrs

type ItemAttrs struct {

	// 数据类型。
	DataType *string `json:"data_type,omitempty"`

	// 物品。
	Name *string `json:"name,omitempty"`

	// 其他用途。
	OtherUses *[]string `json:"other_uses,omitempty"`
}

func (ItemAttrs) String

func (o ItemAttrs) String() string

type JobConfig

type JobConfig struct {
	NearlineRecallParam *NearLineRecallParam `json:"nearline_recall_param,omitempty"`

	// 最大候选集个数(所有召回作业需提供此参数)。
	MaxRecommendedNum *int32 `json:"max_recommended_num,omitempty"`

	// 匹配特征对(属性匹配召回作业需要提供此参数)。
	MatchFeaturePairs *[]MatchFeaturePair `json:"match_feature_pairs,omitempty"`

	Striping *Striping `json:"striping,omitempty"`

	// 匹配类型(属性匹配召回作业需提供此参数): - UI,基于用户推荐物品 - UU,基于用户推荐用户 - II,基于物品推荐物品 - IU,基于物品推荐用户
	MatchType *string `json:"match_type,omitempty"`

	MatrixFactorization *MatrixFactorization `json:"matrix_factorization,omitempty"`

	// 行为频率信息(历史行为记忆召回作业、历史行为过滤作业需提供此参数)。
	BehaviorFrequencys *[]BehaviorFrequency `json:"behavior_frequencys,omitempty"`

	// 文件路径(人工配置候选集作业需要提供此参数)。
	FilePath *string `json:"file_path,omitempty"`

	UcbParam *UcbParam `json:"ucb_param,omitempty"`

	BehaviorGravity *BehaviorGravity `json:"behavior_gravity,omitempty"`

	Category *Category `json:"category,omitempty"`

	// 行为逻辑过滤(历史行为过滤作业需提供此参数): - AND,同时满足则过滤 - OR, 满足一个则过滤
	BehaviorLogic *string `json:"behavior_logic,omitempty"`

	FeaturesEngineering *EtlBasicParameter `json:"features_engineering,omitempty"`

	SampleParam *SampleParam `json:"sample_param,omitempty"`

	DeepLearningParameters *DeepLearingParam `json:"deep_learning_parameters,omitempty"`

	AlgorithmSpecifyParameters *AlgorithmSpecifyParameters `json:"algorithm_specify_parameters,omitempty"`

	// 导入宽表(离线数据导入作业需要提供此参数)。
	LoadWidetable *bool `json:"load_widetable,omitempty"`

	// 导入画像(离线数据导入作业需要提供此参数)。
	LoadProfile *bool `json:"load_profile,omitempty"`

	// 保留已有宽表(离线数据导入作业需要提供此参数): - append,是 - new,否 - overwirte,覆盖
	SaveMode *string `json:"save_mode,omitempty"`

	// 统计指标(效果评估作业需要提供此参数)。
	Indicators *[]Indicator `json:"indicators,omitempty"`

	// 离线排序作业名称(在线训练任务需要提供此参数)。
	OfflineRankJobName *string `json:"offline_rank_job_name,omitempty"`

	// 更新周期(在线训练任务需要提供此参数)。
	UpdateInterval *int32 `json:"update_interval,omitempty"`

	Optimizer *Optimizer `json:"optimizer,omitempty"`

	Flows *Flow `json:"flows,omitempty"`
}

func (JobConfig) String

func (o JobConfig) String() string

type Jobs

type Jobs struct {

	// 类别。
	Category *string `json:"category,omitempty"`

	// 配置信息。
	ConfigInfo *string `json:"config_info,omitempty"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 作业id。
	JobId string `json:"job_id"`

	// 作业名称。
	JobName *string `json:"job_name,omitempty"`

	// 作业类型。
	JobType *string `json:"job_type,omitempty"`

	// 下次调度时间。
	NextScheduleTime *int32 `json:"next_schedule_time,omitempty"`

	// 平台。
	Platform *string `json:"platform,omitempty"`

	// 资源id。
	ResourceId *string `json:"resource_id,omitempty"`

	// 调度参数。
	Schedule *string `json:"schedule,omitempty"`

	// 状态。
	Status *string `json:"status,omitempty"`

	// 工作空间id。
	WorkspaceId *string `json:"workspace_id,omitempty"`

	JobConfig *JobConfig `json:"job_config,omitempty"`
}

func (Jobs) String

func (o Jobs) String() string

type ListResDatasourcesRequest

type ListResDatasourcesRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`
}

ListResDatasourcesRequest Request Object

func (ListResDatasourcesRequest) String

func (o ListResDatasourcesRequest) String() string

type ListResDatasourcesResponse

type ListResDatasourcesResponse struct {

	// 数据源详情列表。
	Datasources *[]Datasources `json:"datasources,omitempty"`

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListResDatasourcesResponse Response Object

func (ListResDatasourcesResponse) String

type ListResEnterprisesRequest

type ListResEnterprisesRequest struct {
}

ListResEnterprisesRequest Request Object

func (ListResEnterprisesRequest) String

func (o ListResEnterprisesRequest) String() string

type ListResEnterprisesResponse

type ListResEnterprisesResponse struct {

	// 企业项目列表。
	EnterpriseProjects *[]EnterpriseProjects `json:"enterprise_projects,omitempty"`

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListResEnterprisesResponse Response Object

func (ListResEnterprisesResponse) String

type ListResOnlineServiceDetailsRequest

type ListResOnlineServiceDetailsRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 资源id。
	ResourceId string `json:"resource_id"`

	// 服务类别: - SERVICE,在线服务
	Category string `json:"category"`
}

ListResOnlineServiceDetailsRequest Request Object

func (ListResOnlineServiceDetailsRequest) String

type ListResOnlineServiceDetailsResponse

type ListResOnlineServiceDetailsResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	Jobs *Jobs `json:"jobs,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListResOnlineServiceDetailsResponse Response Object

func (ListResOnlineServiceDetailsResponse) String

type ListResResourceSpecRequest

type ListResResourceSpecRequest struct {
}

ListResResourceSpecRequest Request Object

func (ListResResourceSpecRequest) String

type ListResResourceSpecResponse

type ListResResourceSpecResponse struct {

	// 离线计算规格。
	OfflineSpec *[]string `json:"offline_spec,omitempty"`

	// 实时计算规格。
	NearlineSpec *[]string `json:"nearline_spec,omitempty"`

	// 排序模型计算规格。
	DeepLearningSpec *[]string `json:"deep_learning_spec,omitempty"`

	// 请求是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListResResourceSpecResponse Response Object

func (ListResResourceSpecResponse) String

type ListResScenesRequest

type ListResScenesRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 场景类型: - customize,自定义推荐 - intelligent,智能场景
	Category string `json:"category"`
}

ListResScenesRequest Request Object

func (ListResScenesRequest) String

func (o ListResScenesRequest) String() string

type ListResScenesResponse

type ListResScenesResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 场景列表信息。
	ResScenes *[]ResScene `json:"res_scenes,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListResScenesResponse Response Object

func (ListResScenesResponse) String

func (o ListResScenesResponse) String() string

type ListResWorkspacesRequest

type ListResWorkspacesRequest struct {
}

ListResWorkspacesRequest Request Object

func (ListResWorkspacesRequest) String

func (o ListResWorkspacesRequest) String() string

type ListResWorkspacesResponse

type ListResWorkspacesResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 工作空间列表。
	Workspaces *[]Workspaces `json:"workspaces,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListResWorkspacesResponse Response Object

func (ListResWorkspacesResponse) String

func (o ListResWorkspacesResponse) String() string

type MatchFeaturePair

type MatchFeaturePair struct {

	// 用户特征。
	UserFeatureName *string `json:"user_feature_name,omitempty"`

	// 物品特征。
	ItemFeatureName *string `json:"item_feature_name,omitempty"`

	// 权重。
	Weight *float64 `json:"weight,omitempty"`

	// 匹配个数度量。
	MatchCount *bool `json:"match_count,omitempty"`
}

MatchFeaturePair

func (MatchFeaturePair) String

func (o MatchFeaturePair) String() string

type MatrixFactorization

type MatrixFactorization struct {

	// 隐向量维度。
	ImplicitVectorRank int32 `json:"implicit_vector_rank"`

	// 优化正则化系数。
	RegularParam float64 `json:"regular_param"`

	// 迭代次数。
	MaxIteratorNum int32 `json:"max_iterator_num"`
}

MatrixFactorization 矩阵分解参数配置

func (MatrixFactorization) String

func (o MatrixFactorization) String() string

type NearLineRecallParam

type NearLineRecallParam struct {

	// 时间过滤。
	TimeLimit *bool `json:"time_limit,omitempty"`

	// 时间特征。
	TimeFeature *string `json:"timeFeature,omitempty"`

	// 保留期(天)。
	RetainDays *int32 `json:"retainDays,omitempty"`

	// 召回字段。
	RecallFileds *[]RecallFiled `json:"recall_fileds,omitempty"`

	// 物品协同过滤作业名称。
	ItemCFJobName *string `json:"itemCF_job_name,omitempty"`
}

NearLineRecallParam

func (NearLineRecallParam) String

func (o NearLineRecallParam) String() string

type Nearline

type Nearline struct {
	ItemTopic *Topic `json:"item_topic,omitempty"`

	UserTopic *Topic `json:"user_topic,omitempty"`

	BehaviorTopic *Topic `json:"behavior_topic,omitempty"`
}

Nearline

func (Nearline) String

func (o Nearline) String() string

type NumFeatureReport

type NumFeatureReport struct {

	// 平均值。
	Avg *float64 `json:"avg,omitempty"`

	// 最小值。
	Min *float64 `json:"min,omitempty"`

	// 最大值。
	Max *float64 `json:"max,omitempty"`

	// 中位数。
	Median *float64 `json:"median,omitempty"`

	// 百分位统计。
	PercentsAgg *string `json:"percents_agg,omitempty"`

	// 特征名。
	Name *string `json:"name,omitempty"`

	// 特征类型。
	DataType *string `json:"data_type,omitempty"`
}

NumFeatureReport 用户数字类型特征统计

func (NumFeatureReport) String

func (o NumFeatureReport) String() string

type NumericalAttr

type NumericalAttr struct {

	// 特征名。
	Name string `json:"name"`

	// 权重。
	Weight float32 `json:"weight"`
}

NumericalAttr 属性权重

func (NumericalAttr) String

func (o NumericalAttr) String() string

type Offline

type Offline struct {

	// 用户数据url。
	UserUrl string `json:"user_url"`

	// 物品数据url。
	ItemUrl string `json:"item_url"`

	// 行为数据url。
	BehaviorUrl string `json:"behavior_url"`
}

Offline

func (Offline) String

func (o Offline) String() string

type Optimizer

type Optimizer struct {

	// 优化器类型。
	Type *OptimizerType `json:"type,omitempty"`

	// 学习率。
	LearningRate *float64 `json:"learning_rate,omitempty"`

	// 初始梯度累加和。
	InitialAccumulatorValue *float64 `json:"initial_accumulator_value,omitempty"`

	// L1正则项系数。
	Lambda1 *float64 `json:"lambda1,omitempty"`

	// L2正则项系数。
	Lambda2 *float64 `json:"lambda2,omitempty"`

	// 数值稳定常量。
	Epsilon *float64 `json:"epsilon,omitempty"`

	// 衰减因子。
	DecayRate *float64 `json:"decay_rate,omitempty"`

	// 衰减步长。
	DecaySteps *float64 `json:"decay_steps,omitempty"`
}

Optimizer 优化器参数

func (Optimizer) String

func (o Optimizer) String() string

type OptimizerType

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

func (OptimizerType) MarshalJSON

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

func (*OptimizerType) UnmarshalJSON

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

func (OptimizerType) Value

func (c OptimizerType) Value() string

type OptimizerTypeEnum

type OptimizerTypeEnum struct {
	ADAM    OptimizerType
	ADAGRAD OptimizerType
	FTRL    OptimizerType
}

func GetOptimizerTypeEnum

func GetOptimizerTypeEnum() OptimizerTypeEnum

type RankEtlFilter

type RankEtlFilter struct {

	// 行为去重方式: - abs_weight,权重绝对值 - date,日期
	FilterType string `json:"filter_type"`

	// 时间类型: - day,天 - week,周 - month,月
	TimeType string `json:"time_type"`

	// 周一是否是第一天。
	IsMondayFirst *bool `json:"is_monday_first,omitempty"`
}

RankEtlFilter

func (RankEtlFilter) String

func (o RankEtlFilter) String() string

type RankFeaturePair

type RankFeaturePair struct {

	// 待推荐对象的属性。
	FeatureNameA *string `json:"feature_name_a,omitempty"`

	// 被推荐对象的属性。
	FeatureNameB *string `json:"feature_name_b,omitempty"`

	// 权重。
	Weight *float32 `json:"weight,omitempty"`
}

RankFeaturePair

func (RankFeaturePair) String

func (o RankFeaturePair) String() string

type RecallFiled

type RecallFiled struct {

	// 字段名称。
	Name *string `json:"name,omitempty"`

	// 使用字段值的个数。
	Value *int32 `json:"value,omitempty"`
}

RecallFiled 召回字段

func (RecallFiled) String

func (o RecallFiled) String() string

type Regular

type Regular struct {

	// L2正则项系数。
	L2Regularization *float64 `json:"l2_regularization,omitempty"`

	// 正则损失计算方式。
	RegularLossComputeMode *RegularRegularLossComputeMode `json:"regular_loss_compute_mode,omitempty"`

	// 隐向量层L2正则化系数。
	EmbedL2Regularization *float64 `json:"embed_l2_regularization,omitempty"`

	// wide部分L2正则化系数。
	WideL2Regularization *float64 `json:"wide_l2_regularization,omitempty"`

	// 结构化部分L2正则化系数。
	StructureL2Regularization *float64 `json:"structure_l2_regularization,omitempty"`
}

Regular 正则化参数

func (Regular) String

func (o Regular) String() string

type RegularRegularLossComputeMode

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

func (RegularRegularLossComputeMode) MarshalJSON

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

func (*RegularRegularLossComputeMode) UnmarshalJSON

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

func (RegularRegularLossComputeMode) Value

type RegularRegularLossComputeModeEnum

type RegularRegularLossComputeModeEnum struct {
	FULL  RegularRegularLossComputeMode
	BATCH RegularRegularLossComputeMode
}

func GetRegularRegularLossComputeModeEnum

func GetRegularRegularLossComputeModeEnum() RegularRegularLossComputeModeEnum

type ResExecConfig

type ResExecConfig struct {
	SparkCalcSpec *SparkCalcSpec `json:"spark_calc_spec,omitempty"`

	// spark可选配置项
	SparkOptionConfs *[]SparkOptionConf `json:"spark_option_confs,omitempty"`
}

ResExecConfig

func (ResExecConfig) String

func (o ResExecConfig) String() string

type ResScene

type ResScene struct {

	// 类型。
	Category *string `json:"category,omitempty"`

	// 数据源id。
	DatasourceId *string `json:"datasource_id,omitempty"`

	DsConfig *DataConfig `json:"ds_config,omitempty"`

	// 场景id。
	SceneId *string `json:"scene_id,omitempty"`

	// 场景名称。
	SceneName *string `json:"scene_name,omitempty"`

	// 场景类型。
	Type *string `json:"type,omitempty"`

	// 服务类型。
	ServiceType *string `json:"service_type,omitempty"`

	// 状态。
	Status *string `json:"status,omitempty"`

	// 工作空间id。
	WorkspaceId *string `json:"workspace_id,omitempty"`

	// 创建时间。
	CreatedAt *int64 `json:"created_at,omitempty"`

	// 更新时间。
	UpdateAt *int64 `json:"update_at,omitempty"`

	SpecsConfig *SpecsConfig `json:"specs_config,omitempty"`
}

func (ResScene) String

func (o ResScene) String() string

type ResultSet

type ResultSet struct {

	// 可用性
	Availability *int32 `json:"availability,omitempty"`

	// 类别
	Category *string `json:"category,omitempty"`

	// 作业编号
	JobId *string `json:"job_id,omitempty"`

	// 作业类型
	JobType *string `json:"job_type,omitempty"`

	// rec编号
	RecId *string `json:"rec_id,omitempty"`

	// rec类型
	RecType *string `json:"rec_type,omitempty"`

	// 场景编号
	SceneId *string `json:"scene_id,omitempty"`

	// 表名
	TableName *string `json:"table_name,omitempty"`

	// 工作空间编号
	WorkspaceId *string `json:"workspace_id,omitempty"`
}

func (ResultSet) String

func (o ResultSet) String() string

type Rule

type Rule struct {

	// 候选集表名。
	TableName string `json:"table_name"`

	// 规则占比。
	RuleRatio int32 `json:"rule_ratio"`

	// 优先级。
	Priority int32 `json:"priority"`
}

Rule

func (Rule) String

func (o Rule) String() string

type SampleParam

type SampleParam struct {

	// 训练集测试集划分方式: - TIME,时间比例 - RAMDOM,个数比例
	DivideType string `json:"divide_type"`

	// 训练数据占比。
	TrainRate *float64 `json:"train_rate,omitempty"`

	// 测试数据占比。
	TestRate *float64 `json:"test_rate,omitempty"`
}

SampleParam

func (SampleParam) String

func (o SampleParam) String() string

type Scene

type Scene struct {

	// 类型。
	Category string `json:"category"`

	// 场景类型。
	Type string `json:"type"`

	// 场景名称。
	SceneName string `json:"scene_name"`

	// 场景id。
	SceneId string `json:"scene_id"`

	// 数据源id。
	DatasourceId string `json:"datasource_id"`

	// 状态。
	Status string `json:"status"`

	// 创建时间。
	CreatedAt int64 `json:"created_at"`

	// 更新时间。
	UpdateAt *int64 `json:"update_at,omitempty"`

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 服务类型。
	ServiceType string `json:"service_type"`
}

Scene

func (Scene) String

func (o Scene) String() string

type ShowResDatasourceRequest

type ShowResDatasourceRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 数据源id。
	DatasourceId string `json:"datasource_id"`
}

ShowResDatasourceRequest Request Object

func (ShowResDatasourceRequest) String

func (o ShowResDatasourceRequest) String() string

type ShowResDatasourceResponse

type ShowResDatasourceResponse struct {
	Datasource *Datasources `json:"datasource,omitempty"`

	// 数据源相关任务详情。
	Jobs *[]Jobs `json:"jobs,omitempty"`

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowResDatasourceResponse Response Object

func (ShowResDatasourceResponse) String

func (o ShowResDatasourceResponse) String() string

type ShowResDatasourceWorkDetailRequest

type ShowResDatasourceWorkDetailRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 资源id。
	ResourceId string `json:"resource_id"`

	// 任务类型: - DATA_STRUCT,数据结构 - DATA_INSPECTION,数据检测 - DATA_EXPLORATION,数据探索
	Type string `json:"type"`
}

ShowResDatasourceWorkDetailRequest Request Object

func (ShowResDatasourceWorkDetailRequest) String

type ShowResDatasourceWorkDetailResponse

type ShowResDatasourceWorkDetailResponse struct {
	ErrorCount *ErrorCount `json:"error_count,omitempty"`

	DataStruct *DataStruct `json:"data_struct,omitempty"`

	// 错误样例(请求类型为DATA_INSPECTION时返回)。
	ErrorSamples *[]ErrorSample `json:"error_samples,omitempty"`

	// 数据检测结果(请求类型为DATA_INSPECTION时返回)。
	InspectResult *[]InspectResult `json:"inspect_result,omitempty"`

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 合法率(请求类型为DATA_INSPECTION时返回)。
	LegalRate *float64 `json:"legal_rate,omitempty"`

	// 检测结果生成时间(请求类型为DATA_INSPECTION时返回)。
	InspectRstGeneratedTime *string `json:"inspect_rst_generated_time,omitempty"`

	FinalReport    *FinalReport `json:"final_report,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowResDatasourceWorkDetailResponse Response Object

func (ShowResDatasourceWorkDetailResponse) String

type ShowResJobRequest

type ShowResJobRequest struct {

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`

	// 资源id(数据源id 或 场景id)
	ResourceId string `json:"resource_id"`

	// 类别: - RECALL,召回作业 - DATASOURCE,数据源作业 - FILTER,过滤作业 - SORTING,排序作业 - EVALUATE,效果评估作业
	Category string `json:"category"`
}

ShowResJobRequest Request Object

func (ShowResJobRequest) String

func (o ShowResJobRequest) String() string

type ShowResJobResponse

type ShowResJobResponse struct {

	// 是否成功
	IsSuccess *bool `json:"is_success,omitempty"`

	// 作业详情
	Jobs *[]Jobs `json:"jobs,omitempty"`

	// 返回消息(请求成功时,不返回此字段)
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowResJobResponse Response Object

func (ShowResJobResponse) String

func (o ShowResJobResponse) String() string

type ShowResRecallSetRequest

type ShowResRecallSetRequest struct {

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`

	// 资源id
	ResourceId string `json:"resource_id"`

	// 使用类型: - UI,基于用户推荐物品 - UU,基于用户推荐用户 - II,基于物品推荐物品 - IU,基于物品推荐用户
	UseType string `json:"use_type"`
}

ShowResRecallSetRequest Request Object

func (ShowResRecallSetRequest) String

func (o ShowResRecallSetRequest) String() string

type ShowResRecallSetResponse

type ShowResRecallSetResponse struct {

	// 候选集列表
	ResultSet *[]ResultSet `json:"result_set,omitempty"`

	// 是否成功
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowResRecallSetResponse Response Object

func (ShowResRecallSetResponse) String

func (o ShowResRecallSetResponse) String() string

type ShowResSceneRequest

type ShowResSceneRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 场景id。
	SceneId string `json:"scene_id"`
}

ShowResSceneRequest Request Object

func (ShowResSceneRequest) String

func (o ShowResSceneRequest) String() string

type ShowResSceneResponse

type ShowResSceneResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	Scene *ResScene `json:"scene,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowResSceneResponse Response Object

func (ShowResSceneResponse) String

func (o ShowResSceneResponse) String() string

type ShowResWrokspaceRequest

type ShowResWrokspaceRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`
}

ShowResWrokspaceRequest Request Object

func (ShowResWrokspaceRequest) String

func (o ShowResWrokspaceRequest) String() string

type ShowResWrokspaceResponse

type ShowResWrokspaceResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 工作空间详情。
	Workspaces *[]Workspaces `json:"workspaces,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowResWrokspaceResponse Response Object

func (ShowResWrokspaceResponse) String

func (o ShowResWrokspaceResponse) String() string

type SparkCalcSpec

type SparkCalcSpec struct {

	// driver内存
	DriverMemory string `json:"driver_memory"`

	// driver核数
	DriverCores int32 `json:"driver_cores"`

	// executor内存
	ExecutorMemory string `json:"executor_memory"`

	// executor核数
	ExecutorCores int32 `json:"executor_cores"`

	// executor个数
	NumExecutors int32 `json:"num_executors"`
}

SparkCalcSpec spark自定义计算规格

func (SparkCalcSpec) String

func (o SparkCalcSpec) String() string

type SparkOptionConf

type SparkOptionConf struct {

	// 参数名称
	Name *string `json:"name,omitempty"`

	// 参数值
	Value *string `json:"value,omitempty"`
}

SparkOptionConf spark可选配置项

func (SparkOptionConf) String

func (o SparkOptionConf) String() string

type SpecsConfig

type SpecsConfig struct {

	// 离线计算规格。
	Offline string `json:"offline"`

	// 实时计算规格。
	Nearline *string `json:"nearline,omitempty"`

	// 深度学习计算规格。
	Rank *string `json:"rank,omitempty"`

	// 在线服务最大并发数。
	OnlineTps *int32 `json:"online_tps,omitempty"`
}

SpecsConfig

func (SpecsConfig) String

func (o SpecsConfig) String() string

type StartResJobRequest

type StartResJobRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 资源id,可以为数据源id或场景id。
	ResourceId string `json:"resource_id"`

	// 作业id。
	JobId string `json:"job_id"`

	// 动作类型: - START,启动 - STOP,停止
	Action *string `json:"action,omitempty"`
}

StartResJobRequest Request Object

func (StartResJobRequest) String

func (o StartResJobRequest) String() string

type StartResJobResponse

type StartResJobResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StartResJobResponse Response Object

func (StartResJobResponse) String

func (o StartResJobResponse) String() string

type StartResSceneJobsRequest

type StartResSceneJobsRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	// 资源id,可以为数据源id或场景id。
	ResourceId string `json:"resource_id"`

	// 动作类型: - START,启动 - STOP,停止
	Action *string `json:"action,omitempty"`
}

StartResSceneJobsRequest Request Object

func (StartResSceneJobsRequest) String

func (o StartResSceneJobsRequest) String() string

type StartResSceneJobsResponse

type StartResSceneJobsResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StartResSceneJobsResponse Response Object

func (StartResSceneJobsResponse) String

func (o StartResSceneJobsResponse) String() string

type StrFeatureReport

type StrFeatureReport struct {

	// 特征名。
	Name *string `json:"name,omitempty"`

	// 特征类型。
	DataType *string `json:"data_type,omitempty"`

	// 离散类型特征出现次数统计。
	StrCount map[string]int32 `json:"str_count,omitempty"`
}

StrFeatureReport 物品离散值类型特征统计

func (StrFeatureReport) String

func (o StrFeatureReport) String() string

type Striping

type Striping struct {

	// 最近领域个数。
	NearestNeighborhood int32 `json:"nearest_neighborhood"`

	// 相似程度。
	Band int32 `json:"band"`

	// 相似距离。
	Row int32 `json:"row"`
}

Striping

func (Striping) String

func (o Striping) String() string

type Topic

type Topic struct {

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

	// id。
	Id *string `json:"id,omitempty"`
}

Topic

func (Topic) String

func (o Topic) String() string

type UcbParam

type UcbParam struct {

	// 折中参数。
	Alpha float64 `json:"alpha"`

	// 最小行为次数。
	MinUsedNum int32 `json:"min_used_num"`
}

UcbParam

func (UcbParam) String

func (o UcbParam) String() string

type UpdateResDatasourceRequest

type UpdateResDatasourceRequest struct {

	// 数据源id
	DatasourceId string `json:"datasource_id"`

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`

	Body *UpdateResDatastructRequestBody `json:"body,omitempty"`
}

UpdateResDatasourceRequest Request Object

func (UpdateResDatasourceRequest) String

type UpdateResDatasourceResponse

type UpdateResDatasourceResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateResDatasourceResponse Response Object

func (UpdateResDatasourceResponse) String

type UpdateResDatastructRequest

type UpdateResDatastructRequest struct {

	// 数据源id。
	DatasourceId string `json:"datasource_id"`

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	Body *UpdateResDatastructRequestBodyBody `json:"body,omitempty"`
}

UpdateResDatastructRequest Request Object

func (UpdateResDatastructRequest) String

type UpdateResDatastructRequestBody

type UpdateResDatastructRequestBody struct {

	// 数据源名称:,1-64位字母、数字、下划线、中划线组合。
	Name string `json:"name"`

	DataConfig *DataConfig `json:"data_config"`

	SpecsConfig *SpecsConfig `json:"specs_config"`
}

UpdateResDatastructRequestBody This is a auto create Body Object

func (UpdateResDatastructRequestBody) String

type UpdateResDatastructRequestBodyBody

type UpdateResDatastructRequestBodyBody struct {

	// 物品特征信息。
	ItemAttrs []ItemAttrs `json:"item_attrs"`

	// 用户特征信息。
	UserAttrs []UserAttrs `json:"user_attrs"`

	Behaviors *BehaviorsConfig `json:"behaviors"`
}

UpdateResDatastructRequestBodyBody This is a auto create Body Object

func (UpdateResDatastructRequestBodyBody) String

type UpdateResDatastructResponse

type UpdateResDatastructResponse struct {

	// 是否成功
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateResDatastructResponse Response Object

func (UpdateResDatastructResponse) String

type UpdateResIntelligentSceneRequest

type UpdateResIntelligentSceneRequest struct {

	// 场景id
	SceneId string `json:"scene_id"`

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`

	Body *UpdateResIntelligentSceneRequestBody `json:"body,omitempty"`
}

UpdateResIntelligentSceneRequest Request Object

func (UpdateResIntelligentSceneRequest) String

type UpdateResIntelligentSceneRequestBody

type UpdateResIntelligentSceneRequestBody struct {

	// 场景类型: - customize,自定义场景 - intelligent,智能场景
	Category string `json:"category"`

	// 数据源id,字母、数字、下划线、减号组合32位。
	DatasourceId string `json:"datasource_id"`

	SpecsConfig *SpecsConfig `json:"specs_config"`

	// 调度信息。
	Schedule *string `json:"schedule,omitempty"`

	JobConfigs *JobConfig `json:"job_configs"`

	// 场景名称,1-64位字母、数字、下划线、中划线组合。
	SceneName string `json:"scene_name"`
}

UpdateResIntelligentSceneRequestBody This is a auto create Body Object

func (UpdateResIntelligentSceneRequestBody) String

type UpdateResIntelligentSceneResponse

type UpdateResIntelligentSceneResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateResIntelligentSceneResponse Response Object

func (UpdateResIntelligentSceneResponse) String

type UpdateResJobRequest

type UpdateResJobRequest struct {

	// 作业id
	JobId string `json:"job_id"`

	// 资源id(数据源id或场景id)
	ResourceId string `json:"resource_id"`

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`

	Body *UpdateResJobRequestBody `json:"body,omitempty"`
}

UpdateResJobRequest Request Object

func (UpdateResJobRequest) String

func (o UpdateResJobRequest) String() string

type UpdateResJobRequestBody

type UpdateResJobRequestBody struct {

	// 类别: - RECALL,召回作业 - DATASOURCE,数据源作业 - FILTER,过滤作业 - SORTING,排序作业 - EVALUATE,效果评估作业
	Category string `json:"category"`

	// 描述
	Description *string `json:"description,omitempty"`

	JobConfig *JobConfig `json:"job_config"`

	// 作业名称
	JobName string `json:"job_name"`

	// 作业类型: - WriteUserProfile,用户画像实时导入作业 - WriteItemProfile,物品画像实时导入作业 - UniversalProcess,行为数据实时导入作业 - NearlineRecall,近线召回作业 - EncodeProfile,近线特征工程作业 - AttributeMatch,属性匹配召回作业 - AlsCF,交替最小二乘协同过滤作业 - BhvHistory,历史行为记忆召回作业 - ItemCf,物品协同过滤召回作业 - MenEdit,人工配置候选集作业 - Ucb,UCB召回作业 - UserCf,用户协同过滤召回作业 - WeightBehavior,综合行为热度召回作业 - Filter,历史行为过滤作业 - AutoPreRank,智能ETL参数生成作业 - ETL,离线特征工程作业 - LR,LR作业 - DEEPFM,DEEPFM作业 - AutoGroup,AutoGroup作业 - StreamRank,在线训练作业 - DataStruct,识别数据结构作业 - DataExploration,数据探索作业 - DataImport,离线数据导入作业 - Evaluate,效果评估作业
	JobType string `json:"job_type"`

	// 调度参数
	Schedule *string `json:"schedule,omitempty"`
}

UpdateResJobRequestBody This is a auto create Body Object

func (UpdateResJobRequestBody) String

func (o UpdateResJobRequestBody) String() string

type UpdateResJobResponse

type UpdateResJobResponse struct {

	// 是否成功
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateResJobResponse Response Object

func (UpdateResJobResponse) String

func (o UpdateResJobResponse) String() string

type UpdateResOnlineInstanceRequest

type UpdateResOnlineInstanceRequest struct {

	// 作业id。
	JobId string `json:"job_id"`

	// 资源id(数据源id或场景id)。
	ResourceId string `json:"resource_id"`

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	Body *UpdateResOnlineInstanceRequestBody `json:"body,omitempty"`
}

UpdateResOnlineInstanceRequest Request Object

func (UpdateResOnlineInstanceRequest) String

type UpdateResOnlineInstanceRequestBody

type UpdateResOnlineInstanceRequestBody struct {

	// 类别。
	Category string `json:"category"`

	// 描述。
	Description *string `json:"description,omitempty"`

	JobConfig *JobConfig `json:"job_config"`

	// 作业名称。
	JobName string `json:"job_name"`

	// 作业类型。
	JobType string `json:"job_type"`

	// 调度参数。
	Schedule string `json:"schedule"`
}

UpdateResOnlineInstanceRequestBody This is a auto create Body Object

func (UpdateResOnlineInstanceRequestBody) String

type UpdateResOnlineInstanceResponse

type UpdateResOnlineInstanceResponse struct {

	// 是否成功
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateResOnlineInstanceResponse Response Object

func (UpdateResOnlineInstanceResponse) String

type UpdateResSceneRequest

type UpdateResSceneRequest struct {

	// 场景id。
	SceneId string `json:"scene_id"`

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	Body *UpdateResSceneRequestBody `json:"body,omitempty"`
}

UpdateResSceneRequest Request Object

func (UpdateResSceneRequest) String

func (o UpdateResSceneRequest) String() string

type UpdateResSceneRequestBody

type UpdateResSceneRequestBody struct {

	// 场景类型: - customize,自定义推荐 - popularity,热门推荐 - relation,关联推荐 - personalization,猜你喜欢
	Category string `json:"category"`

	// 数据源id,字母、数字、下划线、减号组合32位。
	DatasourceId string `json:"datasource_id"`

	DsConfig *DsConfig `json:"ds_config"`

	// 场景名称,1-64位的字母、数字、下划线、中划线组合。
	SceneName string `json:"scene_name"`

	SpecsConfig *SpecsConfig `json:"specs_config"`

	// 场景类型: - UI,基于用户推荐物品 - UU,基于用户推荐用户 - II,基于物品推荐物品 - IU,基于物品推荐用户
	Type string `json:"type"`

	// 服务类型: - rank,排序服务 - rec,推荐服务
	ServiceType string `json:"service_type"`
}

UpdateResSceneRequestBody This is a auto create Body Object

func (UpdateResSceneRequestBody) String

func (o UpdateResSceneRequestBody) String() string

type UpdateResSceneResponse

type UpdateResSceneResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息(请求成功时,不返回此字段)。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateResSceneResponse Response Object

func (UpdateResSceneResponse) String

func (o UpdateResSceneResponse) String() string

type UpdateResWorkspaceRequest

type UpdateResWorkspaceRequest struct {

	// 工作空间id。
	WorkspaceId string `json:"workspace_id"`

	Body *UpdateResWorkspaceRequestBody `json:"body,omitempty"`
}

UpdateResWorkspaceRequest Request Object

func (UpdateResWorkspaceRequest) String

func (o UpdateResWorkspaceRequest) String() string

type UpdateResWorkspaceRequestBody

type UpdateResWorkspaceRequestBody struct {

	// 工作空间名称,1-64位数字、字母、下划线、中划线组成,支持中文,不能以 - 结尾。
	Name *string `json:"name,omitempty"`

	// 描述。
	Description *string `json:"description,omitempty"`
}

UpdateResWorkspaceRequestBody This is a auto create Body Object

func (UpdateResWorkspaceRequestBody) String

type UpdateResWorkspaceResponse

type UpdateResWorkspaceResponse struct {

	// 是否成功。
	IsSuccess *bool `json:"is_success,omitempty"`

	// 返回消息。
	Message *string `json:"message,omitempty"`

	// 错误码(请求成功时,不返回此字段)。
	ErrorCode      *string `json:"error_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateResWorkspaceResponse Response Object

func (UpdateResWorkspaceResponse) String

type UserAttrs

type UserAttrs struct {

	// 数据类型。
	DataType *string `json:"data_type,omitempty"`

	// 用户名称。
	Name *string `json:"name,omitempty"`
}

func (UserAttrs) String

func (o UserAttrs) String() string

type UserDynamicAttr

type UserDynamicAttr struct {
	UserInterestedAttrs *Attribute `json:"user_interested_attrs,omitempty"`

	UserInterestedActionType *Attribute `json:"user_interested_action_type,omitempty"`
}

UserDynamicAttr

func (UserDynamicAttr) String

func (o UserDynamicAttr) String() string

type Workspaces

type Workspaces struct {

	// 创建时间。
	CreatedAt int64 `json:"created_at"`

	// 描述。
	Description string `json:"description"`

	// 企业项目id。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 企业项目名称。
	EnterpriseProjectName string `json:"enterprise_project_name"`

	// 工作空间id。
	Id string `json:"id"`

	// 工作空间名称。
	Name string `json:"name"`

	// 创建者。
	Owner string `json:"owner"`

	// 状态。
	Status string `json:"status"`

	// 更新时间。
	UpdateAt int64 `json:"update_at"`

	// 用户id。
	UserId string `json:"userId"`

	// 调用账户的项目Id
	ProjectId *string `json:"projectId,omitempty"`
}

func (Workspaces) String

func (o Workspaces) String() string

Source Files

Jump to

Keyboard shortcuts

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