Method and device for training tree model
AssigneeHuakong Tsingjiao Information Science (Beijing) Limited
InventorsGuosai Wang, Xu He, Xiaoyu Fan, Kun Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuakong Tsingjiao Information Science (Beijing) Limited
InventorsGuosai Wang, Xu He, Xiaoyu Fan, Kun Chen
Estimating the term…
A method and device for training a tree model based on a dataset are disclosed. The dataset comprises m pieces of sample data and m sample labels, each sample data comprises n features, the features and feature values in the dataset are ciphertexts, the method comprises: generating, for the dataset, candidate splits based on ciphertexts; partitioning, for each candidate split, the dataset into a left and right subset based on ciphertexts; calculating a partition coefficient of each candidate split based on the left and right subset obtained through partition for each candidate split; determining a feature in a target candidate split as an optimal feature, determining a threshold in the target candidate split as an optimal splitting value, the optimal feature and the optimal splitting value are ciphertexts; assigning the dataset to two child nodes of the current node based on the optimal feature and the optimal splitting value.
A method for training a tree model, wherein the method is used to train the tree model based on a dataset, and wherein the dataset comprises m pieces of sample data and m sample labels, each sample data comprising n features, and wherein the features and feature values in the dataset are ciphertexts, the method comprising the following steps:
A device for training a tree model, wherein the device is used to train the tree model based on a dataset, and wherein the dataset comprises m pieces of sample data and m sample labels, each sample data comprising n features, and wherein the features and feature values in the dataset are ciphertexts, wherein, the device comprises a memory and one or more programs, the one or more programs be stored in the memory and be configured as by one or more of processors execute, and the one or more programs include an instruction for performing the following steps:
A computer readable storage medium, an instruction be stored in the storage medium and be configured as by one or more of processors execute for performing a method for training a tree model, wherein, the method is used to train the tree model based on a dataset, and wherein the dataset comprises m pieces of sample data and m sample labels, each sample data comprising n features, and wherein the features and feature values in the dataset are ciphertexts, the method comprising the following steps:
Dependencies are inferred from the claim text.