r/Python • • Feb 10 '19

So true!

Post image
1.9k Upvotes

81 comments sorted by

216

u/wingerd33 Feb 10 '19

Hm, I would argue that both are typically written in PowerPoint.

Dev: yeah I added couple ifs to check for condition X.

Marketing team: uses AI and ML to automatically detect X.

90

u/gandalfx Feb 10 '19

It also uses coding and algorithms to fight terrorism and solve world hunger.

35

u/ideletedmyredditacco Feb 10 '19

and logarithms

23

u/JonDataS Feb 10 '19

It uses logarithms or fights logarithms?

62

u/[deleted] Feb 10 '19

Uses logarithms to fight the exponential increase in terrorism!

4

u/PureAsbestos Feb 10 '19

!RedditBronze

2

u/[deleted] Feb 10 '19

:)

2

u/Sw429 Feb 11 '19

Look how far we've come.

2

u/[deleted] Feb 12 '19

if log(log(terrorism)) == 0:

fight(hunger)

4

u/[deleted] Feb 12 '19 edited Feb 12 '19

while terrorism > 0:

....arm_and_train(my_favorite_faction)

....for item in ["terrorist hideout", "mosque", "MSF hospital", "random civilians"]:

........destroy(item)

........if "terrorist" in item:

............terrorism -=1

........else:

............terrorism +=1

Edit: ffs Reddit, if it's code it's code, leave my spaces alone

2

u/Whyamibeautiful Mar 05 '19

Haha you made me giggle

1

u/meshtron Feb 10 '19

Uses logarithms to fight logarithms.

1

u/apostate_of_Poincare Feb 10 '19

you don't want to do that.

1

u/[deleted] Feb 10 '19

Don't forget databases!

4

u/[deleted] Feb 10 '19

and it's actually very racist

but we don't talk about that bit

it's just code guys it can't be racist

2

u/human_py Feb 11 '19

Code: Uses any kind of statistical model

Marketing: Full blown general AI

40

u/bobisgoofy Feb 10 '19

I've always heard this joke as: "If you are raising money it's AI, if you are recruiting it's machine learning."

10

u/stumpyguy Feb 11 '19

And if you are talking to someone who's been implementing this stuff for 15 years, it's modelling.

67

u/[deleted] Feb 10 '19

I'm still early in my career and don't get it. Someone explain?

230

u/Sororita Feb 10 '19

It's saying that machine learning is actually implemented and artificial intelligence is only talked about.

The difference was explained to me as AI is a result of machine learning. Like how a cake is a result of baking.

34

u/[deleted] Feb 10 '19

Ahhh that's good.

15

u/Dan6erbond Feb 10 '19

That's hot. That's hot.

19

u/jantari Feb 10 '19

Tensorflow and Mark-ass Brownlee

12

u/auto-xkcd37 Feb 10 '19

mark ass-brownlee


Bleep-bloop, I'm a bot. This comment was inspired by xkcd#37

14

u/callmelucky Feb 11 '19 edited Feb 11 '19

AI is a result of machine learning

Yeah as others have said, that's not really correct. Artificial Intelligence is a broad field, covering pretty much any system which autonomously makes "intelligent" decisions. Programs and algorithms can actually do this surprisingly well in complex domains without having to "learn" (ie: store data on results of decisions and use analysis of that data to make better decisions in future).

I did an AI course at university last semester. It was a third year course, but was essentially introductory as far as the topic is concerned. For our final project I implemented a program using Monte Carlo Tree Search to get a "racing team" from one end of a "track" to the other. The track was essentially a 1-D array where each cell could have any of 3 binary options for terrain properties (hilly or flat, straight or slalom, dirt or asphalt), and the team could at any point choose to continue driving, refuel, change driver, change car, change tires, change tire pressure. Each combination of all these states had a particular effect on the chances of the team breaking down or slipping (hence losing a number of turns) or moving a number of cells forward or backwards or remaining in place.

Now the Monte Carlo Tree Search is essentially an 'online' method, meaning it pauses to explore it's options at each state, and then decides what action to take, as opposed to an 'offline' method, meaning you examine every possible states and develop a complete mapping from each state to some action, and then charge ahead.

MCTS is a surprisingly simple algorithm. You pretty much just tinker around with your reward function, plug it into this algo which essentially makes random actions from the current state and automatically balances exploring actions not yet tried with exploiting ones which have achieved good rewards, using the results to give weight to each possible action, until it hits a predetermined number of iterations or amount of time expires, then it goes ahead and chooses the best weighted action that it determined in that time.

And it was like fucking black magic. You feed in all the probability functions, muck around with the reward function a bit, and suddenly away it goes, refuelling when it needs to, changing tires when the next few cells' terrain aren't going to work well for the current tires, etc etc, and charging straight ahead when close to the finish line.

But the thing is, once it executes each action, all the stuff it figured out about what to do from the previous state is thrown away. So you could say it is learning something while in each state, but since that knowledge is always thrown away as soon as it acts, it really doesn't qualify as a system that learns, yet it certainly appears to behave very intelligently.

Furthermore, this algorithm is reasonably cutting edge. It was really only properly defined about fifteen years ago, and all the current best game-playing AIs use it, though they do use proper 'learning' as well.

So the point is, there is plenty of scope and legitimacy for CS researchers to be improving artificial intelligence which doesn't necessarily learn a single thing, and a system that never really learns a damn thing can absolutely qualify as AI. In practice though, combining any such advances with learning systems is definitely the way to go.

2

u/VikeStep Feb 11 '19

haha, I think we did the same AI course. UQ?

3

u/callmelucky Feb 11 '19

Wow, yep! Admin was pretty much a clusterfuck, but the content was cool :)

5

u/olzd yield from __future__ Feb 10 '19

How can this post have so many upvotes...

4

u/Sororita Feb 10 '19

Was I that off?

9

u/VikeStep Feb 10 '19

It's not completely wrong, but it's not really a correct distinction. Artificial Intelligence is a catch-all for computers and programs doing things that seem intelligent. This covers things such as machine learning, pathfinding, robots, recommendation systems, autonomous cars, chess bots.

One of the most well known books on AI, Artificial Intelligence: A Modern Approach, defines AI as "the study of agents that receive percepts from the environment and perform actions".

2

u/olzd yield from __future__ Feb 11 '19

I mean, your first sentence is really demeaning for all those working in the AI field.

1

u/Sororita Feb 11 '19

The thing about AI wasn't my own words, it's how I interpreted what was supposed to be the joke.

28

u/kickopotomus Feb 10 '19

It’s just referring to how marketers tend to embellish features and pack presentations full of buzzwords.

11

u/css123 Feb 10 '19

ML is a subset of AI. AI can cover a lot of ground, but I'm thinking the joke here is that "haha business people don't know programming." Except any data scientist worth their salt better be able to put their analysis in both implementation and presentation, where the former is a well thought-out, technical system, and the latter details their results and discoveries without needless technical jargon.

Basically, no one cares about your ML algorithm if you as the programmer aren't able to put the "Intelligence" in AI where it counts.

9

u/[deleted] Feb 10 '19

Except any data scientist worth their salt better be able to put their analysis in both implementation and presentation

You'd be surprised. I got a company bending over backwards trying to hire me for a job that's 50/50 sales/data analysis because they haven't been able to find an analyst with social skills willing to give presentations.

2

u/ex_nihilo Feb 10 '19

Do it, you’ll make way more money.

1

u/[deleted] Feb 10 '19

Yeah I was thinking about it. I have an interview for a job I want more on Friday so I'm going to see how that plays out first

0

u/[deleted] Feb 11 '19

[deleted]

2

u/[deleted] Feb 11 '19

United States in the southeast, North Carolina. I think another part of them having a hard time is I get the vibe it's a 50-60 hour a week type job with 30-40% travel.

I'm at my first job right now and the contract expires in May and due to the lack of funding (i work at the EPA) I doubt it'll be renewed. I'm not super good at presentations and I've never worked sales but I figure my next job will be where my career goes, so I'm probably going to have to pick up a new skill set anyways.

0

u/[deleted] Feb 11 '19

[deleted]

1

u/[deleted] Feb 11 '19

Really prestigious positions are extremely difficult to get in the US too, but data analysis in its current form is still a budding field so tons of older companies are hiring and a new company opens up for it like every 30 seconds

14

u/NTaya Feb 10 '19

AI is not a term used by programmers, Machine Learning is. Marketers and salesmen would still use the term Artificial Intelligence in their PowerPoint presentations because it sounds cooler for a layman.

52

u/dan678 Feb 10 '19

AI is its own field of Computer Science, which ml is a subset of...

19

u/wreckingballjcp Feb 10 '19

I dont know why people dont know this.

5

u/NTaya Feb 10 '19 edited Feb 10 '19

It's not about the official terminology, it's which words people actually working in the field choose vs which are chosen by those who, for example, sell the end product. You don't say you do artificial intelligence while writing a neural net, you say you do machine learning.

(The end result is artificial intelligence, obviously, but again, would you really say you've created an AI?)

1

u/alcalde Feb 10 '19

What forms of (useful) AI don't count as machine learning? Expert systems?

5

u/amydowling Feb 10 '19

-2

u/alcalde Feb 10 '19

Heh, only in academia is actual use irrelevant.

Namely DeepMind with their success in Human Player Simulation for e.g AlphaGo made use of new concepts:

Reinforcement learning to improve already trained networks with new data or Unsupervised learning, e.g by Generative adversarial network to get improved networks by competition.

And these are all machine learning.

I guess my question is what actual, demonstrated, working artificial intelligence doesn't count as machine learning?

10

u/rcfox Feb 10 '19 edited Feb 10 '19

It's hard to discuss what is or isn't AI because the general sentiment is that AI is whatever hasn't been done yet.

If you take an undergrad course on AI, you will likely learn about graph searching algorithms (BFS, DFS, A*, etc), logical inference (Prolog, first-order logic), probabilistic reasoning (Bayes' theorem), and decision trees (minimax). However, most armchair computer scientists will tell you that that's not AI.

4

u/WikiTextBot Feb 10 '19

AI effect

The AI effect occurs when onlookers discount the behavior of an artificial intelligence program by arguing that it is not real intelligence.


[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source ] Downvote to remove | v0.28

5

u/Mikuro Feb 10 '19

People are increasingly snooty about what qualifies as AI, to what I consider a ridiculous degree. Some people now claim that one of the hallmark moments of AI, IBM's Deep Blue, was not AI at all because it was "just an algorithm" (whatever that means).

Chess programs? AI.

Civilization computer opponents? AI.

That Tic Tac Toe program you made when you first learned programming? Primitive AI.

Machine learning specifically refers to algorithms that "learn" from data fed into them, as opposed to algorithms that are more hand-coded.

1

u/alexjackson1 Feb 10 '19

Machine learning can be used as a tool in different artificially intelligent systems - they're not completely independent and often there is a synergistic effect.

An example of an AI system which doesn't have to use any ML might be argumentation. Argumentation has been demonstrably beneficial in legal and medical domains, where the AI systems can provide arguments to lawyers and physicians about the best course of action or treatment to take.

It essentially works on graph mutations but is able to reason about stylised facts and observations in a manner which makes it intelligent. Argumentation is an example of what I would call 'Model-based AI' as opposed to 'Data-driven AI' of which ML would principally belong.

I have heard from different sources that Model-based AI, Data-driven AI, machine learning, deep learning, planning, reasoning aren't 'real'/'true' AI. But the issue is one of terminology, often general artificial intelligence is referred to just as AI; often machine learning and deep learning are used interchangeably; and autonomy has very different meanings depending if you are the builder or user of software agents.

I think we ultimately need to work out what intelligence is; what makes us intelligent agents worthy of moral status; and what (if any) differences there are between a (perfectly deterministic) human brain and a computer. Then we can work out exactly what is and isn't AI.

2

u/ninj1nx Feb 10 '19

Symbolic AI is a big field and doesn't including ML (that falls under subsymbolic AI)

1

u/rift95 Feb 10 '19

HMM's for example

-9

u/nicksvr4 Feb 10 '19 edited Feb 10 '19

AI is just searching various data structures, machine learning is setting/tuning parameters (via loss functions).

Edit: lol, getting killed here. AI is just searching for something in an "intelligent" way. It may be a tree, it may be a graph.

Machine learning is taking an input, making a guess based on a set of weights (Ax+b) and adjusting based on loss (Gradient Descent). Don't know why i'm being downvoted.

9

u/[deleted] Feb 10 '19

What about implementing ml in PowerPoint? I mean, it's turing complete...

5

u/cocoabro Feb 10 '19

Since a power point is unstructured data, can’t you just use computer vision to read this data and AI to create the next slide?

4

u/[deleted] Feb 11 '19

Even Marketing Teams farts are AI driven...

6

u/[deleted] Feb 10 '19

AI == Flow Control.

3

u/NottingHillNapolean Feb 10 '19

They used to say, "If it works, it's not AI." That was referring to things like expert systems.

3

u/psota Feb 11 '19

{'AI': ['machine learning', ...]}

3

u/matthewharris806 Feb 11 '19

"Mostly won't get it" is an insufferably smug thing to tag on to what is already an uniformed and shite joke

3

u/8__ Feb 11 '19

If it's written in Adobe Illustrator, it's definitely .ai

5

u/Howard_banister Feb 10 '19

There is a course in CS which called AI. At least in our university chart of this course was exactly what they would called AI. It was basically heuristic algorithms on graphs and trees , intelligent! agents and at the ends expert systems. AI is basically referred to classical AI. Where you were hard coding a program with heuristic search's. This was popular vision of AI before 90's.

3

u/nicksvr4 Feb 11 '19

AI is just searching for the best or quickest acceptable answer.

2

u/ThoGos1 Feb 10 '19

True shit

2

u/pn1012 Feb 10 '19

Don’t forget “cognitive computing”

4

u/konhaybay Feb 10 '19

Good one

1

u/Wilfred-kun Feb 10 '19

Heck yeah... I created an epic AI using ML and coding that let's you guess a number and says higher or lower accordingly. I also copied 50 lines of TF code and now I'm an expert at ML!

1

u/earthlybird Feb 11 '19

What if it's done in Adobe Illustrator?

1

u/[deleted] Feb 11 '19

Correction, written in C, called in Python

1

u/liquiddeath Feb 11 '19

There area a couple sales folk at my company that refer to it simply as “science”

1

u/stevenjd Feb 11 '19

Am I the only one who noticed the irony of a message negging Powerpoint that appears to have been written in Powerpoint?

And its not true anyway: most Python code has nothing to do with machine learning. And even the code which is related to ML is probably just a thin Python wrapper around the real ML code which is written in C or Java.

1

u/littlebluebrown Feb 10 '19

Could someone send me over to woosh, please?

0

u/[deleted] Feb 10 '19

[deleted]

11

u/vn-ki Feb 10 '19

Such learn. Much wow.

FTFY

0

u/[deleted] Feb 10 '19

[deleted]

13

u/[deleted] Feb 10 '19

You use google, right?

0

u/[deleted] Feb 10 '19

[deleted]

2

u/joshuaherman Feb 11 '19

Programmers vs Marketers.