 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
author | cristi |
---|---|
permlink | neural-networks-and-tensorflow-deep-learning-series-part-11 |
category | deep-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"]} |
created | 2018-04-18 11:31:27 |
last_update | 2018-04-18 22:29:15 |
depth | 0 |
children | 13 |
last_payout | 2018-04-25 11:31:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 19.696 HBD |
curator_payout_value | 3.672 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,356 |
author_reputation | 128,305,218,872,904 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,741,574 |
net_rshares | 4,413,717,342,739 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pharesim | 0 | 76,898,256,177 | 0.02% | ||
lafona-miner | 0 | 140,325,200,983 | 5% | ||
kushed | 0 | 18,051,436,201 | 0.89% | ||
gavvet | 0 | 292,000,002,498 | 2% | ||
dragonslayer109 | 0 | 45,225,373,694 | 2% | ||
thecryptofiend | 0 | 21,340,733,533 | 25% | ||
justtryme90 | 0 | 128,863,566,082 | 5% | ||
coinbitgold | 0 | 48,977,783,956 | 100% | ||
kenny-crane | 0 | 90,344,625,207 | 25% | ||
anwenbaumeister | 0 | 25,866,089,948 | 0.89% | ||
hitmeasap | 0 | 6,238,947,660 | 50% | ||
jacor | 0 | 1,256,473,857 | 2% | ||
jens84 | 0 | 38,218,989,128 | 25% | ||
liberosist | 0 | 7,059,353,842 | 0.89% | ||
ask-not-please | 0 | 5,168,897,838 | 100% | ||
team-leibniz | 0 | 37,307,589,714 | 40% | ||
ace108 | 0 | 203,963,419,550 | 16% | ||
jasonstaggers | 0 | 46,006,878,532 | 25% | ||
timsaid | 0 | 10,769,366,993 | 2% | ||
cristi | 0 | 445,218,874,843 | 100% | ||
scaredycatguide | 0 | 11,171,244,038 | 20% | ||
lemouth | 0 | 14,817,905,059 | 3% | ||
rjbauer85 | 0 | 278,172,761 | 5% | ||
anarchyhasnogods | 0 | 8,465,220,569 | 2.5% | ||
mada | 0 | 20,871,669,072 | 100% | ||
mcsvi | 0 | 178,585,904,352 | 100% | ||
geke | 0 | 51,255,018,618 | 50% | ||
meerkat | 0 | 60,037,474,489 | 0.89% | ||
mrtv2 | 0 | 54,078,604,275 | 100% | ||
curie | 0 | 47,464,521,676 | 0.89% | ||
busy.pay | 0 | 1,129,798,843,072 | 7.6% | ||
vannour | 0 | 998,881,126 | 1% | ||
mitchelljaworski | 0 | 5,711,181,000 | 25% | ||
hendrikdegrote | 0 | 516,027,101,501 | 0.89% | ||
steemstem | 0 | 125,769,324,954 | 5% | ||
ejhaasteem | 0 | 134,357,355 | 10% | ||
decebal2dac | 0 | 121,959,923,476 | 100% | ||
sethroot | 0 | 62,022,204 | 0.08% | ||
brobear1995 | 0 | 2,296,839,785 | 100% | ||
foundation | 0 | 438,201,375 | 5% | ||
alexvan | 0 | 14,839,971,164 | 20% | ||
the-devil | 0 | 585,134,051 | 5% | ||
dna-replication | 0 | 1,402,184,464 | 5% | ||
steemitboard | 0 | 327,800,935 | 1% | ||
boynashruddin | 0 | 328,779,767 | 5% | ||
mandela | 0 | 11,531,174,694 | 2% | ||
pacokam8 | 0 | 84,094,017 | 0.22% | ||
borislavzlatanov | 0 | 429,320,521 | 5% | ||
jamhuery | 0 | 499,070,664 | 5% | ||
mobbs | 0 | 138,960,229,479 | 50% | ||
kryzsec | 0 | 2,057,962,494 | 5% | ||
markangeltrueman | 0 | 335,472,897 | 0.13% | ||
tantawi | 0 | 74,395,438 | 0.89% | ||
locikll | 0 | 422,996,446 | 1.78% | ||
dber | 0 | 1,739,329,155 | 5% | ||
aboutyourbiz | 0 | 210,930,121 | 0.89% | ||
kerriknox | 0 | 12,126,653,432 | 5% | ||
howtostartablog | 0 | 189,063,616 | 0.04% | ||
veleje | 0 | 11,744,307,199 | 100% | ||
slickhustler007 | 0 | 50,357,649 | 0.44% | ||
ertwro | 0 | 1,860,481,252 | 5% | ||
coloringiship | 0 | 169,633,119 | 0.04% | ||
juanjdiaz89 | 0 | 211,774,647 | 5% | ||
thinknzombie | 0 | 1,566,525,272 | 0.44% | ||
nitesh9 | 0 | 1,125,456,994 | 5% | ||
sportspodium | 0 | 7,983,244,297 | 2% | ||
hernanjosegb | 0 | 683,149,946 | 100% | ||
himal | 0 | 346,906,445 | 5% | ||
abigail-dantes | 0 | 75,615,958,815 | 5% | ||
leczy | 0 | 294,643,650 | 5% | ||
steemulator | 0 | 293,460,816 | 0.89% | ||
suravsingh | 0 | 59,409,543 | 5% | ||
misterakpan | 0 | 102,358,881 | 0.04% | ||
viorel | 0 | 460,091,403 | 75% | ||
akeelsingh | 0 | 3,922,714,357 | 100% | ||
ngos | 0 | 7,536,664,985 | 2% | ||
felixrodriguez | 0 | 123,101,898 | 2.5% | ||
pearlumie | 0 | 1,907,364,081 | 5% | ||
gabox | 0 | 177,542,242 | 0.04% | ||
olovy | 0 | 68,928,518 | 100% | ||
infinitelearning | 0 | 155,532,055 | 2% | ||
massivevibration | 0 | 3,531,992,562 | 5% | ||
onartbali | 0 | 539,504,179 | 5% | ||
clweeks | 0 | 60,536,771 | 0.35% | ||
sme | 0 | 4,425,745,908 | 2% | ||
torico | 0 | 293,084,421 | 0.13% | ||
simplifylife | 0 | 755,030,893 | 2.5% | ||
jordanx2 | 0 | 59,442,625 | 0.44% | ||
zeeshan003 | 0 | 107,270,476 | 5% | ||
samdman | 0 | 94,867,560 | 100% | ||
erodedthoughts | 0 | 694,566,935 | 0.75% | ||
enzor | 0 | 85,444,733 | 2.5% | ||
bobdos | 0 | 299,443,476 | 0.08% | ||
carloserp-2000 | 0 | 833,062,737 | 5% | ||
pangoli | 0 | 373,342,574 | 5% | ||
rachelsmantra | 0 | 193,103,174 | 5% | ||
gra | 0 | 1,329,725,422 | 5% | ||
favcau | 0 | 35,660,651,691 | 100% | ||
aquib | 0 | 615,320,000 | 100% | ||
kenadis | 0 | 1,219,881,233 | 5% | ||
esaia.mystic | 0 | 66,498,429 | 0.89% | ||
amavi | 0 | 780,751,719 | 1% | ||
robotics101 | 0 | 200,136,648 | 4% | ||
gentleshaid | 0 | 1,157,760,158 | 5% | ||
cgbartow | 0 | 173,381,951 | 2.5% | ||
sco | 0 | 184,035,244 | 0.25% | ||
adetola | 0 | 176,462,062 | 5% | ||
rharphelle | 0 | 1,985,741,530 | 100% | ||
dysfunctional | 0 | 226,810,855 | 2.5% | ||
whileponderin | 0 | 122,351,384 | 5% | ||
bennettitalia | 0 | 96,292,771 | 0.04% | ||
hadji | 0 | 218,808,141 | 5% | ||
sakura1012 | 0 | 123,900,650 | 5% | ||
hxr | 0 | 615,292,893 | 100% | ||
terrylovejoy | 0 | 679,868,628 | 2% | ||
rionpistorius | 0 | 98,027,620 | 2.5% | ||
deutsch-boost | 0 | 373,746,978 | 20% | ||
wdoutjah | 0 | 51,406,962 | 0.44% | ||
dexterdev | 0 | 936,963,327 | 5% | ||
ugonma | 0 | 72,451,024 | 5% | ||
hashcash | 0 | 372,161,153 | 100% | ||
alexdory | 0 | 614,083,504 | 5% | ||
benleemusic | 0 | 1,350,882,796 | 0.04% | ||
chimtivers96 | 0 | 61,757,984 | 0.89% | ||
morbyjohn | 0 | 117,774,987 | 7% | ||
scorpil | 0 | 289,143,257 | 100% | ||
positiveninja | 0 | 150,901,085 | 0.44% | ||
spederson | 0 | 91,493,239 | 4.5% | ||
chillingotter | 0 | 102,300,994 | 0.44% | ||
pseudojew | 0 | 84,046,426 | 5% | ||
victorcovrig | 0 | 69,791,914 | 1% | ||
de-stem | 0 | 1,576,462,522 | 4% | ||
serylt | 0 | 844,006,245 | 4% | ||
jacor-witness | 0 | 231,291,186 | 2% | ||
trickbrown | 0 | 568,888,550 | 100% | ||
xposed | 0 | 2,314,439,748 | 10% | ||
chloroform | 0 | 312,628,633 | 5% | ||
archaimusic | 0 | 1,729,249,621 | 100% | ||
niouton | 0 | 129,000,229 | 0.17% | ||
biomimi | 0 | 180,496,636 | 40% | ||
mriead9 | 0 | 553,464,749 | 100% | ||
soyciencia | 0 | 531,928,525 | 100% |
Really helpful and informative. Great explanation. Can yu maybe have a series on the chem programme, Aspen soon also?
author | akeelsingh |
---|---|
permlink | re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t204405268z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"app":"steemit/0.1"} |
created | 2018-04-18 20:44:12 |
last_update | 2018-04-18 20:44:12 |
depth | 1 |
children | 1 |
last_payout | 2018-04-25 20:44:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 117 |
author_reputation | 2,407,869,811,389 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,823,041 |
net_rshares | 3,863,873,641 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
akeelsingh | 0 | 3,863,873,641 | 100% |
whats chem?
author | cristi |
---|---|
permlink | re-akeelsingh-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t221843803z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"app":"steemit/0.1"} |
created | 2018-04-18 21:15:42 |
last_update | 2018-04-18 21:15:42 |
depth | 2 |
children | 0 |
last_payout | 2018-04-25 21:15:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 11 |
author_reputation | 128,305,218,872,904 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,826,969 |
net_rshares | 0 |
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!
author | alexdory |
---|---|
permlink | re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t215226265z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"app":"steemit/0.1"} |
created | 2018-04-18 21:52:27 |
last_update | 2018-04-18 21:52:27 |
depth | 1 |
children | 5 |
last_payout | 2018-04-25 21:52:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 291 |
author_reputation | 6,862,980,134,251 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,831,002 |
net_rshares | 0 |
am fost unul dintre membrii care au inceput steemstem, dar am plecat pe drumuri diferite la un moment dat.
author | cristi |
---|---|
permlink | re-alexdory-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t230705658z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"app":"steemit/0.1"} |
created | 2018-04-18 22:04:06 |
last_update | 2018-04-18 22:04:06 |
depth | 2 |
children | 4 |
last_payout | 2018-04-25 22:04:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 106 |
author_reputation | 128,305,218,872,904 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,832,333 |
net_rshares | 0 |
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..
author | alexdory |
---|---|
permlink | re-cristi-re-alexdory-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t221041887z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"app":"steemit/0.1"} |
created | 2018-04-18 22:10:45 |
last_update | 2018-04-18 22:10:45 |
depth | 3 |
children | 3 |
last_payout | 2018-04-25 22:10:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.197 HBD |
curator_payout_value | 0.038 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 362 |
author_reputation | 6,862,980,134,251 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,833,012 |
net_rshares | 44,521,887,484 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cristi | 0 | 44,521,887,484 | 10% |
Still hurts my head little :-) Jokes aside, I am actually using your videos to do some revision. Thanks for the upload.
author | hashcash |
---|---|
permlink | re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t124914310z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"app":"steemit/0.1"} |
created | 2018-04-18 12:51:06 |
last_update | 2018-04-18 12:51:06 |
depth | 1 |
children | 2 |
last_payout | 2018-04-25 12:51:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.169 HBD |
curator_payout_value | 0.054 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 119 |
author_reputation | 17,433,241,427,492 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,752,921 |
net_rshares | 42,295,793,110 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cristi | 0 | 42,295,793,110 | 10% |
Hey, what kind of revision?
author | cristi |
---|---|
permlink | re-hashcash-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t142514155z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"app":"steemit/0.1"} |
created | 2018-04-18 13:22:12 |
last_update | 2018-04-18 13:22:12 |
depth | 2 |
children | 1 |
last_payout | 2018-04-25 13:22:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 27 |
author_reputation | 128,305,218,872,904 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,757,735 |
net_rshares | 0 |
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.
author | hashcash |
---|---|
permlink | re-cristi-re-hashcash-re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t132735856z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"app":"steemit/0.1"} |
created | 2018-04-18 13:29:27 |
last_update | 2018-04-18 13:29:27 |
depth | 3 |
children | 0 |
last_payout | 2018-04-25 13:29:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.175 HBD |
curator_payout_value | 0.057 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 286 |
author_reputation | 17,433,241,427,492 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,758,870 |
net_rshares | 44,521,887,484 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cristi | 0 | 44,521,887,484 | 10% |
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!
author | hernanjosegb |
---|---|
permlink | re-cristi-neural-networks-and-tensorflow-deep-learning-series-part-11-20180418t120008297z |
category | deep-learning |
json_metadata | {"tags":["deep-learning"],"users":["cristi"],"app":"steemit/0.1"} |
created | 2018-04-18 11:59:54 |
last_update | 2018-04-18 11:59:54 |
depth | 1 |
children | 0 |
last_payout | 2018-04-25 11:59:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 240 |
author_reputation | 199,530,640,596 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,745,458 |
net_rshares | 0 |
Congratulations @cristi! You have completed some achievement on Steemit and have been rewarded with new badge(s) : [](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)!
author | steemitboard |
---|---|
permlink | steemitboard-notify-cristi-20180419t040042000z |
category | deep-learning |
json_metadata | {"image":["https://steemitboard.com/img/notifications.png"]} |
created | 2018-04-19 04:00:42 |
last_update | 2018-04-19 04:00:42 |
depth | 1 |
children | 0 |
last_payout | 2018-04-26 04:00:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 734 |
author_reputation | 38,975,615,169,260 |
root_title | "Neural Networks and TensorFlow - Deep Learning Series [Part 11]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,873,157 |
net_rshares | 0 |