Sunset

Results 10 comments of Sunset

博主,你好! 能否分享一些如何使用 LinearSVC 对 RubbishMessage 数据训练的过程? 根据 RubbishMessage 的 readme.txt, 我运行 python keyWords.py 运行报错如下图: ![image](https://user-images.githubusercontent.com/16316111/57183122-dc551480-6eda-11e9-9d4a-986f9ba62ce0.png) 我看这两篇文章,基本了解了一下什么是 [Linear SVC](https://pythonprogramming.net/linear-svc-example-scikit-learn-svm-python/) 和 [SVM](https://medium.com/machine-learning-101/chapter-2-svm-support-vector-machine-theory-f0812effc72) 。 现在我的困境是在大概了解个算法(起码有个简单 example 可以模仿)和有训练数据的情况下,如何利用 LinearSVC 对 RubbishMessage 进行训练,这就难倒我了。我也是机器学习菜鸟,希望博主能分享一下您当时的心得,谢谢。

> @SunsetWan 你可以参考我在SMSFilter项目中添加的 [训练notebook](https://github.com/qiwihui/SMSFilters/blob/develop/model/Spam.ipynb),这里面做了数据分析和模型训练。大概过程是:分析数据,处理数据(结巴分词),提取特征(TF-IDF),训练(LinearSVM),模型评估和模型转换为CoreML的格式。 好的,谢谢!

Otherwise, you will get this error: `Type 'ASAuthorizationAppleIDButton.ButtonType' has no member 'signUp'`

报告:偶然发现这篇文章有了对应的[中文翻译](https://www.appcoda.com.tw/higher-order-function/)...

@Nemocdz 自行修改完毕,请继续校对,谢谢。

Hello. @jdg481 , I am now facing the same question as you did, but I still can't find the error, can you give me a hint?