#NSFWJS has several models to chose from, and the 90% accuracy model loses accuracy in a specific way.

Because sometimes it's better to flag things and be wrong, rather than the alternative. NSFWJS incorrectly identifying an image class.
These errors are "false positives" and are called "Type 1 Errors".

In some cases a type 1 error is preferred. The 90% mobilenet model might seem silly when it makes this mistake, but due to the nature of NSFW content, it's important. Type 1 error meme
Type 2 Errors are the opposite.

It's actually an interesting aspect of #MachineLearning that you need to consider.

Do you hold accuracy over everything? Or do you sacrifice accuracy to limit a specific type of error? In NSFWJS it's important that you have options. Full type 1 and type 2 error meme
I'm considering adding a voting classifier to the library which would allow you to tweak the settings and use an "ensemble model" architecture.

Let me know what you think! And as always, it's free and #OpenSource to use NSFWJS 🎉

nsfwjs.com
Fu fact. I made NSFWJS.

If anyone has any AI or Machine Learning questions hmu.
There's a lot of great changes coming to the world soon. The AI Revolution has begun.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Gant Laborde - 🇺🇦

Gant Laborde - 🇺🇦 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @GantLaborde

Aug 13, 2021
Quick Tweet Storm ⛈

How does AI bounding box detection work?

🧠 Learn in 30 seconds

#100DaysOfCode #CodeNewbie #MadeWithTFJS #MachineLearning #ComputerVision Image
It looks so simple when #AI does it right?

But #machinelearning doesn't give you an image, it gives you data. It's up to you to make it look simple. Image
You might think a #FrontEnd box gives you four values, and you're right, but it only gives you TWO points. From that you can infer a box to draw with #html5. Image
Read 9 tweets
Mar 1, 2021
Incoming Tweet Storm ⛈

I'm so happy to announce my #TensorFlowJS book with @OReillyMedia

The book is geared towards #JavaScript devs looking to learn #AI / #ML

1/5

amzn.to/3dR3vpY
It's been a complete pleasure to work with #OReillyMedia

They are professionals, but they let me keep my personality which I feel is critical to all the #CodeNewbie folk in #tech.

2/5
I've learned a lot from the #DEVCommunity.

@TensorFlow is a new way of thinking for most #JSdevs. So each chapter opens with a quote and ends with a challenge.

I found it was important to get your hands dirty as early as possible to make the content engaging and fun 🎉🎉

3/5
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(