首页 > AI前沿 > Compositional random forest

Compositional random forest

arXiv机器学习 2026-11-11 00:18 12 阅读 查看原文
用户现在需要把给定的英文新闻正文排版成语义化HTML片段,首先得仔细读原文,分段落,有没有需要划分小节的?原文是一个连贯的段落吗?不对,先看原文内容,首先第一句是讲成分数据的分析视角,然后讲本文构建随机森林框架,然后讲随机森林的分裂准则,然后讲用对数似然增益,然后提到Dirichlet的问题,然后分两个变换,然后讲两个准则,最后模拟结果。 首先,先拆分自然段落?不对,原文的每个自然段?哦,原文的正文是一个大的段落?不对,仔细看,原文的正文是连贯的,但有没有需要用h2/h3的地方?哦,用户说长文用h2/h3划分小节,这里是不是可以?不对,先看内容:首先开头引入的可以作为?不对,等下,要保留所有内容,不能增删改。哦,等下,原文的内容是: 第一部分:介绍成分数据分析的三个视角,本文构建适配所有三个的随机森林框架。然后讲随机森林是决策树集成,分裂准则决定树生长,用对数似然增益作为准则,考虑不同表示空间的分布。然后讲Dirichlet的问题,然后分两个变换:第一个平方根变换,第二个对数比变换,然后讲两个准则的响应,最后模拟结果。 不对,应该怎么拆分?首先,第一个自然段就是开头到“where compositions can be represented.”?不对,等下,原文的正文是一个连续的文本吗?哦,用户给的正文是: “Compositional data have been analysed in the literature from three main points of view: directly on the simplex, in log-ratio coordinates, and as directional data on the unit sphere. In this paper, we construct a random forest framework for compositional responses that accommodates all three. Random forests are ensembles of decision trees, and the split criterion determines how each tree grows. We use the log-likelihood gain as the split criterion and consider distributions defined on the different spaces in which compositions can be represented. The Dirichlet likelihood has been studied in the literature, but its covariance is fixed by its mean up to a single scalar, and its maximum likelihood estimator has no closed form. To obtain more flexible criteria, we use two well-known transformations. First, the square-root transformation maps compositions onto the unit sphere, where existing directional distributions require numerical estimation. We introduce a tangent-normal (TN) distribution, which shares its parameters with the Kent distribution, and construct a split criterion whose gain is computed from additive sufficient statistics: the shape parameters are maximised out in closed form, up to an exponentially small truncation constant, so that no parameter is estimated iteratively. Second, the log-ratio transformation maps compositions to Euclidean space, where the multivariate logistic-normal distribution has a flexible covariance and a closed-form maximum log-likelihood, also based on additive sufficient statistics. Both criteria respond to a shift of the mean, measured relative to the covariance, and to a change in the covariance itself. In simulations, the most accurate forest depended on the covariance structure of the composition. The TN forest was the most accurate in two of the three designs.” 现在需要拆分自然段落,还有用h2/h3划分小节?不对,用户说“长文用

/

划分小节”,这里的内容可以划分吗?首先,第一个

可以是研究背景与方法框架?不对,不能自己加内容啊!哦,不对,用户说“保留原文所有信息,不得增删改内容”,所以h2/h3的标题必须是原文里的?不对,不对,再看规则:2.每个自然段落用

包裹,长文用

/

划分小节。哦,意思是如果是长文,有小节的话用h2/h3,但这里原文没有小节标题,那是不是不需要?不对,不对,等下,原文的内容里有两个变换,First和Second,是不是可以用h3?不对,不能加文字啊!哦,对哦,不能增删改,所以h2/h3的内容必须是原文里的?不对,原文里没有小节标题,那是不是就不用h2/h3?不对,再仔细看,哦,可能我理解错了,长文的话,用h2/h3来划分不同的小节,但是小节的标题不能用自己加的,那是不是如果没有明确的小节,就不用?不对,那先看段落,原文的段落怎么分? 等下,原文是一整段吗?用户给的正文是一个连续的段落,那是不是要拆分成几个p?不对,自然段落就是原文里的段落,用户给的正文是一个自然段落?不对,不对,看原文的标点,都是句号,连贯的,那是不是整个作为一个p?不对,等下,不对,再想,规则说每个自然段落用

包裹,那如果原文是一个自然段落,就一个p?但还有长文用h2/h3划分小节,那这里的内容可以分为几个部分,比如: 1. 引言部分:开头到“where compositions can be represented.” 2. 然后是Dirichlet的问题,到“we use two well-known transformations.” 3. 然后是第一个变换的部分,到“no parameter is estimated iteratively.” 4. 然后是第二个变换的部分,到“also based on additive sufficient statistics.” 5. 然后是准则特性,到最后。 不对,但是不能加标题啊,那h2/h3是不需要?因为没有原文的标题。哦,不对,用户说“长文用

/

划分小节”,是不是说如果内容较长,需要划分的话,用h2/h3,但标题必须是原文中的?但原文中没有小标题,那是不是就不用?那现在处理: 首先,原文的所有内容都要保留,每个自然段落(这里原文是一个自然段?不对,等下,用户给的正文是不是就是一段?看用户的输入:正文如下:然后是一整段,对,是一整段。那是不是整个作为一个p?不对,不对,等下,有没有需要用h2/h3的地方?哦,不对,再仔细看内容,里面有两个变换,First和Second,是不是可以把“First”和“Second”作为小节?不对,原文里的“First, the square-root transformation...”是句子开头,不能拆成标题啊,因为会改变内容?不对,不能增删改,所以不能把句子的一部分拿出来当标题。那是不是就不用h2/h3? 不对,等下,再想,规则是“保留原文所有信息,不得增删改内容”,所以如果我们用h2/h3的话,标题必须是原文中的完整句子或者短语,不能自己造。那原文里有没有可以作为小节标题的?比如“To obtain more flexible criteria, we use two well-known transformations.”不对,这是句子。或者“First, the square-root transformation maps compositions onto the unit sphere, where existing directional distributions require numerical estimation.”也不对。那是不是这里不需要h2/h3? 然后,重要句子用,比如哪些是重要的?比如“In this paper, we construct a random forest framework for compositional responses that accommodates all three.”可以加粗?还有“We use the log-likelihood gain as the split criterion”?还有两个变换的内容,还有最后的结果? 然后,列表?这里没有列表内容啊,所以不用ul/li。引用?也没有。代码?也没有。 那现在,原文是一整段?不对,等下,要不要拆分自然段落?用户说“每个自然段落用

包裹”,原文是一个自然段落,所以一个p?不对,等下,再看原文的内容,是不是可以拆分成几个自然段落?比如: 第一段:Compositional data have been analysed in the literature from three main points of view: directly on the simplex, in log-ratio coordinates, and as directional data on the unit sphere. In this paper, we construct a random forest framework for compositional responses that accommodates all three. Random forests are ensembles of decision trees, and the split criterion determines how each tree grows. We use the log-likelihood gain as the split criterion and consider distributions defined on the different spaces in which compositions can be represented. 第二段:The Dirichlet likelihood has been studied in the literature, but its covariance is fixed by its mean up to a single scalar, and its maximum likelihood estimator has no closed form. To obtain more flexible criteria, we use two well-known transformations. 第三段:First, the square-root transformation maps compositions onto the unit sphere, where existing directional distributions require numerical estimation. We introduce a tangent-normal (TN) distribution, which shares its parameters with the Kent distribution, and construct a split criterion whose gain is computed from additive sufficient statistics: the shape parameters are maximised out in closed form, up to an exponentially small truncation constant, so that no parameter is estimated iteratively. 第四段:Second, the log-ratio transformation maps compositions to Euclidean space, where the multivariate logistic-normal distribution has a flexible covariance and a closed-form maximum log-likelihood, also based on additive sufficient statistics. 第五段