Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分类器:支持余弦相似度模型 #5

Closed
howie6879 opened this issue Apr 8, 2021 · 1 comment
Closed

分类器:支持余弦相似度模型 #5

howie6879 opened this issue Apr 8, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@howie6879
Copy link
Owner

from src.classifier import model_predict_factory

model_resp = model_predict_factory(
    model_name="cos", model_path="", input_dict={"text": doc_name, "cos_value": 0.5}
)
@howie6879 howie6879 added the enhancement New feature or request label Apr 8, 2021
@howie6879 howie6879 changed the title 支持余弦相似度模型 分类器:支持余弦相似度模型 Apr 8, 2021
@howie6879
Copy link
Owner Author

对78062篇文章进行预测:

image

效果还不错,但不清楚有没有漏掉

@howie6879 howie6879 reopened this Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant