Guangqiang Lu

Results 6 issues of Guangqiang Lu

Hi team, As I'm testing the `treeinterpreter` module for random forest from the home example code, the last code for examing the random forest prediction and using the interpreter results...

#95 Change cumulative gain curve for adding different classes to plot and also with 'micro' and 'macro'

@reiinakano Hi, I have just found that the project of scikit-plot is really helpful for those what to do the data analysis or machine learning, and I use it much....

Hi. 现在的工程需要对中文文章进行摘要的提取,我使用过了gensim的summarize,不过gensim对中文的支持并不是特别好,现在使用snownlp来进行摘要的提取。不过发现一个问题:利用snownlp提取的摘要是没有原始文章的段落顺序的。 比如: ` from snownlp import SnowNLP text = u"""我是一个中国人。我出生在辽宁。我喜欢编程。....""" s = SnowNLP(c_t) s.summary(2) ` 如果提取摘要则可能会变成: ['我出生在辽宁', '我是一个中国人'] 没有顺序。不过提取摘要还是需要有顺序的考虑上下文的,不然无法理解。 查看了TextRank类,请问一下能不能在这两个方法更改一下: ` def top_index(self, limit): return list(map(lambda x: x[0], self.top))[:limit]...

As per hands on check to use ollama in local server that for the last part to call function, that without the config for `code_execution_config` will get: `RuntimeError: Code execution...