Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试对 Doc2Vec 的输出使用非负矩阵分解。然而,有一个限制是不能有负输入。我如何在不做绝对值之类的事情来解释结果的情况下让它变得积极?如果有帮助,我将加载一个新段落并计算相似性,但我认为使用 Doc2Vec 会捕获更多含义。
您可以将所有值标准化,使其介于 0 和 1 之间,例如,如果您有一个向量 X,您可以获得标准化版本 Z: