create account

Neural Networks and TensorFlow - Deep Learning Series [Part 11] by cristi

View this thread on: hive.blogpeakd.comecency.com
· @cristi · (edited)
$23.37
Neural Networks and TensorFlow - Deep Learning Series [Part 11]
![Neural Networks and TensorFlow - 11 - Logistic Regression.png](https://gateway.ipfs.io/ipfs/Qme23HUCukXoKLTTUnNnwowNwfB4vYMv3LQZhG9YSzVeyj)

In this lesson you're going to learn how to implement logistic regression using TensorFlow in Python. Implementing linear regression was relatively easy.

Logistic regression is not hard either, nor does it involve something much different than linear regression. In logistic regression, we're simply using a non-linearity for activation. To be more precise, we're using a non-linear function for activation. 

Most often, this non-linearity is a sigmoid, a hyperbolic tangent, or a rectified linear unit. What's great about TensorFlow is that it comes with methods to simply call these functions, without actually hard coding them. So, it could either be:

- tf.sigmoid
- tf.tanh
- tf.nn.relu

And this makes the implementation much more convenient and easier. Of course, you're better off if you know what these function do and how they look under the hood, but not everyone needs to know this in order to work with TensorFlow. Anyhow, please see the video below for doing logistic regression in TensorFlow.
___
<center>https://www.youtube.com/watch?v=LgNpIPYstw0</center>
___
### <center>To stay in touch with me, follow @cristi</center>   
___
[Cristi Vlad](http://cristivlad.com) Self-Experimenter and Author
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 78 others
properties (23)
authorcristi
permlinkneural-networks-and-tensorflow-deep-learning-series-part-11
categorydeep-learning
json_metadata{"community":"busy","app":"busy/2.4.0","format":"markdown","users":["cristi"],"links":["/@cristi","http://cristivlad.com"],"image":["https://steemitimages.com/0x0/https://gateway.ipfs.io/ipfs/Qme23HUCukXoKLTTUnNnwowNwfB4vYMv3LQZhG9YSzVeyj"],"tags":["deep-learning","science","python","busy","tensorflow"]}
created2018-04-18 11:31:27
last_update2018-04-18 22:29:15
depth0
children13
last_payout2018-04-25 11:31:27
cashout_time1969-12-31 23:59:59
total_payout_value19.696 HBD
curator_payout_value3.672 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,356
author_reputation128,305,218,872,904
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,741,574
net_rshares4,413,717,342,739
author_curate_reward""
vote details (142)
@akeelsingh ·
Really helpful and informative. Great explanation. Can yu maybe have a series on the chem programme, Aspen soon also?
👍  
properties (23)
authorakeelsingh
permlinkre-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t204405268z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"app":"steemit/0.1"}
created2018-04-18 20:44:12
last_update2018-04-18 20:44:12
depth1
children1
last_payout2018-04-25 20:44:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length117
author_reputation2,407,869,811,389
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,823,041
net_rshares3,863,873,641
author_curate_reward""
vote details (1)
@cristi ·
whats chem?
properties (22)
authorcristi
permlinkre-akeelsingh-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t221843803z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"app":"steemit/0.1"}
created2018-04-18 21:15:42
last_update2018-04-18 21:15:42
depth2
children0
last_payout2018-04-25 21:15:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation128,305,218,872,904
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,826,969
net_rshares0
@alexdory ·
Imi face placere sa te vad printre cei votati de SteemSTEM.
Am mai urmarit seria de articole, din pacate nu pot tot timpul sa ma uit la video. Daca ai putin mai mult timp, poti intra pe canalul de Discord al SteemSTEM si poti sa iti cresti expunerea blogului si asa. Prin socializare. 
Spor!
properties (22)
authoralexdory
permlinkre-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t215226265z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"app":"steemit/0.1"}
created2018-04-18 21:52:27
last_update2018-04-18 21:52:27
depth1
children5
last_payout2018-04-25 21:52:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length291
author_reputation6,862,980,134,251
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,831,002
net_rshares0
@cristi ·
am fost unul dintre membrii care au inceput steemstem, dar am plecat pe drumuri diferite la un moment dat.
properties (22)
authorcristi
permlinkre-alexdory-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t230705658z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"app":"steemit/0.1"}
created2018-04-18 22:04:06
last_update2018-04-18 22:04:06
depth2
children4
last_payout2018-04-25 22:04:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length106
author_reputation128,305,218,872,904
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,832,333
net_rshares0
@alexdory ·
$0.24
De asta te voteaza lemouth pe unde te gaseste :p
Foarte tare, am incercat sa mai aduc membri romani, dar sunt reticenti. Ma refer la cei care ar putea scrie calitativ. Pe mine m-au promovat de curand si ii mai ajut cu engagementul si mai sunt mentor. 
Trebuie sa impac si steemromania si steemstem si munca :)
Respect, te mai urmaresc! Programator sunt la baza..
👍  
properties (23)
authoralexdory
permlinkre-cristi-re-alexdory-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t221041887z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"app":"steemit/0.1"}
created2018-04-18 22:10:45
last_update2018-04-18 22:10:45
depth3
children3
last_payout2018-04-25 22:10:45
cashout_time1969-12-31 23:59:59
total_payout_value0.197 HBD
curator_payout_value0.038 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length362
author_reputation6,862,980,134,251
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,833,012
net_rshares44,521,887,484
author_curate_reward""
vote details (1)
@hashcash ·
$0.22
Still hurts my head little :-)
Jokes aside, I am actually using your videos to do some revision. Thanks for the upload.
👍  
properties (23)
authorhashcash
permlinkre-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t124914310z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"app":"steemit/0.1"}
created2018-04-18 12:51:06
last_update2018-04-18 12:51:06
depth1
children2
last_payout2018-04-25 12:51:06
cashout_time1969-12-31 23:59:59
total_payout_value0.169 HBD
curator_payout_value0.054 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length119
author_reputation17,433,241,427,492
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,752,921
net_rshares42,295,793,110
author_curate_reward""
vote details (1)
@cristi ·
Hey, what kind of revision?
properties (22)
authorcristi
permlinkre-hashcash-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t142514155z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"app":"steemit/0.1"}
created2018-04-18 13:22:12
last_update2018-04-18 13:22:12
depth2
children1
last_payout2018-04-25 13:22:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation128,305,218,872,904
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,757,735
net_rshares0
@hashcash ·
$0.23
I started working again around last year and haven't really been in touch with ANN, machine learning and Programming for even more than that.
The last 2-3 neural n/w videos on tensor flow has served as a reminder for a lot of stuff that I had dropped, even from my own personal reading.
👍  
properties (23)
authorhashcash
permlinkre-cristi-re-hashcash-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t132735856z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"app":"steemit/0.1"}
created2018-04-18 13:29:27
last_update2018-04-18 13:29:27
depth3
children0
last_payout2018-04-25 13:29:27
cashout_time1969-12-31 23:59:59
total_payout_value0.175 HBD
curator_payout_value0.057 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length286
author_reputation17,433,241,427,492
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,758,870
net_rshares44,521,887,484
author_curate_reward""
vote details (1)
@hernanjosegb ·
Incredible post, too informative and very easy to understand, you've definitely been here for a long time here at Steemit doing a great job and I hope you keep growing more and more, you are one of my favorite users, many greetings @cristi!
properties (22)
authorhernanjosegb
permlinkre-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t120008297z
categorydeep-learning
json_metadata{"tags":["deep-learning"],"users":["cristi"],"app":"steemit/0.1"}
created2018-04-18 11:59:54
last_update2018-04-18 11:59:54
depth1
children0
last_payout2018-04-25 11:59:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length240
author_reputation199,530,640,596
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,745,458
net_rshares0
@steemitboard ·
Congratulations @cristi! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/commented.png)](http://steemitboard.com/@cristi) Award for the number of comments received

Click on any badge to view your own Board of Honor on SteemitBoard.

To support your work, I also upvoted your post!
For more information about SteemitBoard, click [here](https://steemit.com/@steemitboard)

If you no longer want to receive notifications, reply to this comment with the word `STOP`

> Upvote this notification to help all Steemit users. Learn why [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-cristi-20180419t040042000z
categorydeep-learning
json_metadata{"image":["https://steemitboard.com/img/notifications.png"]}
created2018-04-19 04:00:42
last_update2018-04-19 04:00:42
depth1
children0
last_payout2018-04-26 04:00:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length734
author_reputation38,975,615,169,260
root_title"Neural Networks and TensorFlow - Deep Learning Series [Part 11]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id50,873,157
net_rshares0