Comments (4)
@arrufat You are very nice and professional. Thank you guy!
from dnn.
I am assuming you are training with loss_multiclass_log
, right? That loss function uses a softmax, which means, the sum of the three possible outputs has to add to 1 always. So, it can output something like 0.33 for each class when it's not sure, however, if it's slightly more sure that it's one class, it might get overconfident on that class.
For that case, I like to train classifiers with the loss_multibinary_log
. Instead of a softmax, it uses a sigmoid for each output independently, so any combination can be possible, even outputting everything to 0 and everything to 1 (that's why it's sometimes called multi label).
You can check an example on how to use it in the tests.
from dnn.
It is very helpful, and thanks a lot! BTW, Are you familiar with Anomaly Detection for defect inspection which is unpredictable, it may be everything you can imagine.
from dnn.
I am familiar with it, but just theoretically, I never had the chance to play with it myself. I know dlib has tools for this: http://dlib.net/ml.html#kcentroid
from dnn.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnn.