## 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

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

2. Well, The information which you posted here is very helpful & it is very useful for the needy like me.., Wonderful information you posted here. Thank you so much for helping me out to find the Data science course in Mumbai
Organisations and introducing reputed stalwarts in the industry dealing with data analyzing & assorting it in a structured and precise manner. Keep up the good work. Looking forward to view more from you.

3. Nice Post...I have learn some new information.thanks for sharing.
ExcelR data analytics course in Pune | business analytics course | data scientist course in Pune

4. Nice Post...I have learn some new information.thanks for sharing.
ExcelR data analytics course in Pune | business analytics course | data scientist course in Pune

5. Such a very useful article. I have learn some new information.thanks for sharing.
data scientist course in mumbai

6. cool stuff you have and you keep overhaul every one of us
Data Analytics Course in Mumbai

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

8. I am impressed by the information that you have on this blog. It shows how well you understand this subject.
ExcelR Data Analytics courses

9. Very nice blog here and thanks for post it.. Keep blogging...
ExcelR data science training

10. Attend The Analytics Course in Bangalore From ExcelR. Practical Analytics Course in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Analytics Course in Bangalore.
ExcelR Analytics Course in Bangalore

11. 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!
ExcelR data science course in mumbai

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

13. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck... data science course

14. I have read your blog. It's very attractive and impressive. Very systematic indeed! Excellent work!
Data Science Course in Marathahalli
Data Science Course Training in Bangalore

15. Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing.

data analytics courses

data science interview questions

data science course in mumbai

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

data analytics courses

data science interview questions

data science course in mumbai

17. 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

18. The concept has been explained very well. Gained clear knowledge about the prominence of AWS

Data science Interview Questions

20. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea.

21. Nice Blog !good information
data analytics courses

22. You have explained the concept really well. Was looking for this information from a while & luckily I stumbled upon your post. Looking forward for more of such informative updates from you

Data Science Course

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

data science course

25. You have explained the concept really well. Was looking for this information from a while & luckily I stumbled upon your post. Looking forward for more of such informative updates from you

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

data science course

27. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.

data science course

29. Thank you sharing such wonderful Articles

30. Good Article .we are sharing a such wonderful information

data analytics course in Bangalore

32. Attend The Data Science Courses From ExcelR. Practical Data Science Courses Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Data Science Courses.
Data Science Courses

Correlation vs Covariance

34. cool stuff you have and you keep overhaul every one of us

Correlation vs Covariance

35. Excellent article useful to all the aspirants

36. A debt of gratitude is in order for the data about call communities. It is consistently incredible to find out about this ever-evolving industry.

SEO services in kolkata
Best SEO services in kolkata
SEO company in kolkata
Best SEO company in kolkata
Top SEO company in kolkata
Top SEO services in kolkata
SEO services in India
SEO copmany in India

37. Your article is extremely educational. It's a much needed development from other guessed enlightening substance. Your focuses are novel and unique as I would like to think. I concur with a significant number of your focuses.

Online Teaching Platforms
Online Live Class Platform
Online Classroom Platforms
Online Training Platforms
Online Class Software
Virtual Classroom Software
Online Classroom Software
Learning Management System
Learning Management System for Schools
Learning Management System for Colleges
Learning Management System for Universities

Correlation vs Covariance
Simple linear regression

39. Hi, Thanks for sharing wonderful articles...

40. Attend The Data Science Courses Bangalore From ExcelR. Practical Data Science Courses Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Data Science Courses Bangalore.
Data Science Courses Bangalore

41. 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

42. Hi, Thanks for giving nice content...

Correlation vs Covariance
Simple linear regression
data science interview questions

44. Very interesting blog. Many blogs I see these days do not really provide anything that attracts others, but believe me the way you interact is literally awesome.You can also check my articles as well.

Data Science In Banglore With Placements
Data Science Course In Bangalore
Data Science Training In Bangalore
Best Data Science Courses In Bangalore
Data Science Institute In Bangalore

Thank you..

Correlation vs Covariance
Simple linear regression
data science interview questions

46. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful.
data science training in indore

47. Nice blog Post ! This post contains very informative and knowledgeable. Thanks for sharing the most valuable information.

48. The Content You Shared With Us Is Excellent & Extraordinary Useful to all Aspirants Thanks For Sharing With Us!
Top And Best BBA College In Hyderabad
Top And Best B.Com College In Hyderabad

49. Great post i must say and thanks for the information.

50. This Was An Amazing ! I Haven't Seen This Type of Blog Ever ! Thankyou For Sharing, data scientist courses

51. Hi, Thanks for sharing wonderful stuff...

52. 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!

Simple Linear Regression

Correlation vs Covariance

Correlation vs Covariance
Simple linear regression
data science interview questions

54. Thanks for sharing nice information....

Simple Linear Regression

Correlation vs Covariance

56. Thanks for sharing nice information....

Correlation vs Covariance
Simple linear regression
data science interview questions

58. I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful blog page!

data science interview questions

59. Thanks for sharing nice information....

61. Thanks for sharing nice information....

62. This Was An Amazing ! I Haven't Seen This Type of Blog Ever ! Thankyou For Sharing, data science course in hyderabad with placements

63. 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

64. Thanks for sharing nice information....

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

66. This Was An Amazing ! I Haven't Seen This Type of Blog Ever ! Thankyou For Sharing, data sciecne course in hyderabad

67. Well Explained Content thanks For Sharing The Information With Us

Best Data Science Training Institute in Hyderabad
Data Science Course Training in Hyderabad

68. Attend online training from one of the best training institute Data Science

69. Thanks for sharing nice information....

70. Hi, Thanks for sharing wonderful stuff...

71. This Was An Amazing ! I Haven't Seen This Type of Blog Ever ! Thankyou For Sharing, data sciecne course in hyderabad

72. Great blog!!! It is very impressive... thanks for sharing with us...keep posting.

73. Attend The Data Analyst Course From ExcelR. Practical Data Analyst Course Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Data Analyst Course.
Data Analyst Course

74. I like your post. Everyone should do read this blog. Because this blog is important for all now I will share this post. Thank you so much for share with us.

75. The concept has been explained very well. Gained clear knowledge about the prominence of AWS

76. 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.

77. This Was An Amazing ! I Haven't Seen This Type of Blog Ever ! Thankyou For Sharing, data science training

78. This Was An Amazing ! I Haven't Seen This Type of Blog Ever ! Thankyou For Sharing, data sciecne course in hyderabad

79. Thank you for the informative post. It was thoroughly helpful to me. Keep posting more such articles and enlighten us.

80. I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article.

data science interview questions

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

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

Simple Linear Regression

Correlation vs covariance

KNN Algorithm

83. Amazing Article ! I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
Simple Linear Regression
Correlation vs covariance
data science interview questions
KNN Algorithm

84. thanks for sharing your expertise and also the time it took to post!!

85. 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

Simple Linear Regression

Correlation vs Covariance

87. I really happy found this website eventually. Really informative and inoperative! Thanks for the post and effort! Please keep sharing more such article.

88. 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,

89. Amazing Article ! I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
Simple Linear Regression
Correlation vs covariance
data science interview questions
KNN Algorithm
Logistic Regression explained

90. I am genuinely thankful to the holder of this web page who has shared this wonderful paragraph at at this place

91. 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

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

Simple Linear Regression

Correlation vs Covariance

93. 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

94. Amazing Article ! I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
Simple Linear Regression
Correlation vs covariance
data science interview questions
KNN Algorithm
Logistic Regression explained

95. very well explained .I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
Simple Linear Regression
Correlation vs covariance
data science interview questions
KNN Algorithm
Logistic Regression explained

96. Attend The Machine Learning Courses in Bangalore From ExcelR. Practical Machine Learning courses in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Machine Learning courses in Bangalore.
Machine Learning Courses in Bangalore

97. This Was An Amazing ! I Haven't Seen This Type of Blog Ever ! Thankyou For Sharing, data science certification

98. very well explained .I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
Simple Linear Regression
Correlation vs covariance
data science interview questions
KNN Algorithm
Logistic Regression explained

99. 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