Spam SMS filtering app based on iOS 11 machine learning: Pandas eat SMS

Spam SMS filtering app based on iOS 11 machine learning: Pandas eat SMS

As a tech geek living in the mobile Internet era, I suffer from harassing text messages, but there is no simple filtering application that does not require uploading my own text messages. So I trained Panda from more than 20,000 text messages I received and text message samples submitted by users during the test period.

iOS 11 brings a very powerful CoreML machine learning framework, which developers use for visual processing. I will use it to make a text classification application so that pandas can settle down on mobile phones.

Accurate semantic recognition

Panda has learned the text patterns of spam messages from a large number of samples and can accurately classify messages in complex semantic environments. For example, the two very similar [JD Pay] messages in the figure below.

Spam SMS Identification

You can copy the text message and then click Accuracy Test in the app to test the accuracy.

Very simple to use

After installation, you only need to open Settings → Messages → Unknown and Filtered Messages and select Panda Eats SMS. The panda will then silently help you eat the spam messages.

Focus on privacy

Panda does not require a server or an internet connection. The app comes with a complete training model, and you can use CoreML to classify text messages on your phone. The sandbox restrictions of iOS 11 also do not allow SMS filters to access the network or share data with the main app. Although iOS 11 can be configured to send text messages to its own server for cloud judgment, Panda does not use this feature.

Automatic evolution

Panda is growing rapidly, and the accuracy of classification depends on whether Panda has seen similar information before. However, the world is so big that there are always things that Panda has never eaten, and Panda also has limited knowledge. Based on the principle of voluntariness, you can submit new SMS samples in the app to feed Panda, and Panda will learn new junk or normal SMS patterns from the new samples.

Note: Submitting SMS samples will upload the SMS anonymously to the server. This is not local training. Panda will complete the learning in the cloud and then distribute it to everyone's mobile phones.

About partial eclipse

Since I taught Panda (supervised learning), it has inherited my preferences to a certain extent. For some vague text messages, such as discount and promotion information, I always mark them as nuisance text messages. However, some people may like to receive such notifications, so you can choose for yourself.

System Limitations

Due to the system design of iOS 11, filtered text messages will also display a corner mark and a notification on the Apple Watch. In addition, iOS 11 filters text messages based on conversations. If the same number sends both harassing text messages and normal text messages, the entire conversation will be filtered. This phenomenon is common in five-digit numbers, but text message sending ports starting with 10 are very rare.

at last

  • The panda logo comes from one of my favorite pictures of a panda rolling back.
  • Panda is currently only trained for Chinese and may not work in other language environments.

<<:  Google launches simplified Android system in India to develop low-end market

>>:  Can Android imitate Zhihu's creative advertising be played like this?

Recommend

Gongzi Yi丨"100 Kinds of Life" Short Video Creation Camp

Gongzi Yi丨"100 Kinds of Life" Short Vid...

Standardized use, no mistakes! 2022 version of standard map released

August 29th is the 19th National Surveying and Ma...

After staying up late, don't do these two things! Seriously, you may die!

Have you ever had this magical experience: due to...

Is the Apple Watch SE worth buying? You have to ask the Series 5 first

With the hot sales of iPhone XR in 2018, Apple ta...

Why can an eraser erase pencil marks?

Pencils and erasers are both convenient stationer...

Zhuang Wen's Go video tutorial Baidu Cloud download

Teacher Zhuang Wen's Go video tutorial 40 les...

Is it always fun to be on vacation? Not necessarily!

The May Day holiday is coming to an end in the bl...