2/23/2016

Deep learning study - logistic classifier #3

Logistic Classifier 


The logistic classifier is similar to equation of the plane.

W is weight vector, X is input vector and y is output vector.
b is bias that to adjust boundary base.

Anyway, this form is context of logistic regression, called logists.

y is result value of vector calculation that is score, that is not probability.
So, to change a probability, use softmax function.


So, we can choose what probability is close to 1.


Softmax example code in python
///
scores = [3.0, 1.0, 0.2]
import numpy as np
def softmax(x):
    """Compute softmax values for each sets of scores in x."""
    return np.exp(x) / np.sum( np.exp(x), 0 )
print(softmax(scores))

///
result is
[ 0.8360188   0.11314284  0.05083836]


Softmax plot example in python
///
# Plot softmax curves
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(-2.0, 6.0, 0.1)
scores = np.vstack([x, np.ones_like(x), 0.2 * np.ones_like(x)])

plt.plot(x, scores.T, linewidth=2)
plt.show()

plt.plot(x, softmax(scores).T, linewidth=2)
plt.show()
///

first plot is

second plot is

The second graph is softmax output value.
The value of the blue line is grows, lines of green and red is almost close to zero.


one more things,
What happen if scores are multiplied or divided by 10?
///
scores2 = np.array([3.0, 1.0, 0.2])
print( softmax( scores2 * 10))
print( softmax( scores2 / 10))
///

[ 9.99999998e-01 2.06115362e-09 6.91440009e-13]
[ 0.38842275 0.31801365 0.2935636 ]

If multiplied by the growing differences
If divided, the smaller the difference.


We can take advantage of these properties.
We'll want our classifier to not be too sure of itself in the beginning. -> divided
And then over time, it will gain confidence as it learns. -> multiply







50 comments:

  1. The information distribution center offloads information from a huge number of sources.data science course in pune

    ReplyDelete
  2. Such a very useful article. Very interesting to read this article. I have learn some new information.thanks for sharing. ExcelR

    ReplyDelete
  3. I am impressed by the information that you have on this blog. It shows how well you understand this subject.
    data analytics courses

    ReplyDelete
  4. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.

    business analytics course

    data analytics courses

    data science interview questions

    data science course in mumbai

    ReplyDelete
  5. The information provided on the site is informative. Looking forward more such blogs. Thanks for sharing .
    Artificial Inteligence course in Mysuru
    AI Course in Mysuru

    ReplyDelete
  6. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea.
    Data Science Training In Hyderabad

    ReplyDelete
  7. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
    Python Training in Hyderabad
    Python Course in Hyderabad
    Python Institute in Hyderabad

    ReplyDelete
  8. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! data science training in coimbatore

    ReplyDelete
  9. Great post i must say and thanks for the information.
    Data Science Training in Hyderabad

    ReplyDelete
  10. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! cloud computing course in coimbatore

    ReplyDelete
  11. Great blog!!! It is very impressive... thanks for sharing with us...keep posting.
    Big Data Analytics Training in Hyderabad

    Hadoop Training in Hyderabad

    ReplyDelete
  12. I will really appreciate the writer's choice for choosing this excellent article appropriate to my matter.Here is deep description about the article matter which helped me more.
    PMP Certification Pune
    I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.

    ReplyDelete
  13. Thanks for giving me the time to share such nice information. Thanks for sharing.data science course in Hyderabad

    ReplyDelete
  14. An excellent article, very informative. It is not every day that I have the possibility to see something like this. thanksdata science course in Hyderabad

    ReplyDelete
  15. The content is utmost interesting! I have completely enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great,

    Data Science Training in Hyderabad

    ReplyDelete
  16. I am genuinely thankful to the holder of this web page who has shared this wonderful paragraph at at this place
    about us

    ReplyDelete
  17. It’s very informative and you are obviously very knowledgeable in this area. You have opened my eyes to varying views on this topic with interesting and solid content.
    data science courses

    ReplyDelete
  18. Very nice blogs!!! i have to learning for lot of information for this sites…Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing, data science courses

    ReplyDelete
  19. Truly an amazing site. It helped me a lot to pursue knowledge about data science.Definitely recommending it to my friends. To know more about Online Data Science Course

    ReplyDelete


  20. I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up

    Data Science Training in Hyderabad

    Devops Training in USA

    Hadoop Training in Hyderabad

    Python Training in Hyderabad

    ReplyDelete
  21. The python programming language is a modern web programming language that was originally conceived and developed by Guido van Rossum in the 1980s. Since that time, Python has evolved into a high-performance programming language that is modular and extensible. data science course in india

    ReplyDelete
  22. I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. nice one
    best online data science courses

    ReplyDelete
  23. New site is solid. A debt of gratitude is in order for the colossal exertion. ExcelR Data Analytics Courses

    ReplyDelete
  24. hello sir,
    thanks for giving that type of information. I am really happy to visit your blog.Leading Solar company in Andhra Pradesh

    ReplyDelete
  25. ExcelR provides data analytics courses. It is a great platform for those who want to learn and become a data analytics Course. Students are tutored by professionals who have a degree in a particular topic. It is a great opportunity to learn and grow.

    data analytics courses
    data analytics course

    ReplyDelete
  26. Great Post! IT helps me to gain my knowledge. Thanks for Sharing with us .
    clinical research courses in pune

    ReplyDelete
  27. These courses have been an exceptional learning journey for me. The curriculum's depth, practical exercises, and expert guidance have equipped me with valuable skills in data analysis.
    Data Analytics Courses in Hyderabad

    ReplyDelete
  28. It's remarkable to watch how Hadoop's design evolved in reaction to networking technology at the time. I'm looking forward to the next essay on data locality!
    Data Analytics Courses in Delhi

    ReplyDelete
  29. Learned a lot from this post! Logistic classifiers suddenly seem less daunting. Thanks for breaking it down!
    Data Analytics Courses in Nagpur

    ReplyDelete
  30. This blog gave me a clear roadmap to understand logistic classifiers. I used to find them confusing, but now it feels like a piece of cake. Thanks for simplifying deep learning!
    Data Analytics Courses in Nagpur

    ReplyDelete
  31. Thank you for providing a clear and concise explanation of the logistic classifier and its connection to logistic regression. The inclusion of Python code examples and graphical representations enhances understanding. Keep up the good work.
    Is iim skills fake?

    ReplyDelete
  32. I shall be extremely grateful that the author chose this fantastic post as being pertinent to my issue. The following in-depth explanation of the article's topic was more helpful to me.
    Data Analytics Courses in Agra

    ReplyDelete
  33. This article totally clicked for me! Learning about logistic classifiers made easy here. Can't wait to dive deeper into deep learning now.
    Data Analytics Courses in Varanasi

    ReplyDelete
  34. Anonymous17/9/23 12:20

    Deep learning and logistic regression are fascinating topics in the field of machine learning. Your blog post on this subject is likely a valuable resource for those looking to understand how deep learning can be applied to logistic classification problems. Exploring the intricacies of neural networks and their role in logistic regression can provide valuable insights into building more robust predictive models. Keep up the good work in sharing knowledge about this complex but essential area of machine learning!
    Data Analytics Courses in Delhi



    ReplyDelete
  35. The practical approach of these courses, where we worked on real-world projects and hands-on exercises, was a game-changer. It allowed me to gain practical skills and experience that I can directly apply in my career.
    Data Analytics Courses in Trichy

    ReplyDelete
  36. Wow, this article on deep learning and logistic classifiers is absolutely fascinating! The author dives deep into the concepts and provides a comprehensive study log that showcases their journey of understanding this complex topic. If you are interested to know more about Data Analytics Courses In Pune,
    click here Data Analytics Courses In Pune

    ReplyDelete
  37. Superb Post! It aids my knowledge acquisition. I appreciate you sharing with us.
    Data Analytics Courses in Agra

    ReplyDelete
  38. Incredible insights! Learning about logistic classifiers in deep learning was like unlocking a secret code to understanding AI. Thanks for breaking it down so simply!
    data Analytics courses in lisbon

    ReplyDelete
  39. thanku for sharing this blog. I found this blog very interesting and helpful.
    Data Analytics Courses in Trivandrum

    ReplyDelete
  40. thank you for sharing this blog. I found it very interesting and useful.
    Data Analytics Courses in Trivandrum

    ReplyDelete
  41. Your insights provide valuable guidance to those seeking to leverage this method for predictive modeling.
    Data Analytics Courses In Chennai

    ReplyDelete