【问题标题】:What is the difference between scikitkearn label encoder and the older categorical encoder?scikitkearn 标签编码器和旧的分类编码器有什么区别?
【发布时间】:2020-11-23 11:27:09
【问题描述】:

在scikit learn中加入label encoder之前,有一个东西叫categorical encoder,但是我不知道两者的区别,因为他们好像都是做同样的事情,而LabelEncoded好像是个新名字对于 CgoricalEncoder。这是准确的吗?另外,这两者和 LabelBinarizer 有什么区别,因为对我来说似乎都有相同的目的?

【问题讨论】:

    标签: python scikit-learn label-encoding


    【解决方案1】:

    好像是这个StackOverflow question,分类编码器被标签编码器取代。
    关于Label Binarizer和Label Encoder,可以看这里:StackOverflow question 2

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2010-10-01
      • 2011-03-26
      • 2023-02-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多