What Makes a Good Feature? - Machine Learning Recipes #3

What Makes a Good Feature? - Machine Learning Recipes #3

Google for Developers

9 лет назад

524,401 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ErnestGWilsonII
@ErnestGWilsonII - 06.08.2017 20:40

# Import Numpy
import numpy as np

# Import matplotlib
import matplotlib.pyplot as plt

# 500 of each dog
greyhounds = 500
labs = 500

# Set the dog heights +/- 4" randomly
grey_height = 28 + 4 * np.random.randn(greyhounds)
lab_height = 24 + 4 * np.random.randn(labs)

# Plot
plt.hist([grey_height, lab_height], stacked=True, color=['r', 'b'])

# Launch the results in a window
plt.show()

Ответить
@jeanwatson74
@jeanwatson74 - 11.08.2017 15:59

1waawww

Ответить
@newcoolvid27
@newcoolvid27 - 20.08.2017 22:00

If you're using spyder and want a new window to show the plot, [Tools > Preferences > IPython console > Graphics > Graphics backend > Backend: Automatic] then restart Spyder.

Ответить
@JackalovichMokov
@JackalovichMokov - 07.11.2017 16:08

has anyone else noticed that he never blinks

Ответить
@rajnishrajput6121
@rajnishrajput6121 - 24.11.2017 04:46

So if i want to make a program that identify all the dogs in the world,
I have to store all the data of all dogs in the world?
like height, weight, speed hair etc.

Ответить
@MattieCooper10000
@MattieCooper10000 - 02.01.2018 15:42

Exactly what I needed! Thank you so Much! Love your presentation!

Ответить
@dannyhunn6025
@dannyhunn6025 - 02.01.2018 22:53

Couldn't you use Latitude and Longitude to find Euclidean distance?

Ответить
@bimDe2024
@bimDe2024 - 06.01.2018 11:15

Complex in easiest words, thanks a lot

Ответить
@theburntcrumpet8371
@theburntcrumpet8371 - 28.01.2018 19:42

I'm a bit late to the party here but I'd just like to say thanks to the Google Developer's channel for putting these videos out there.

Ответить
@yeshwinhk
@yeshwinhk - 30.01.2018 07:22

This guy is definitely a robot

Ответить
@BalkanskiSpijun-007
@BalkanskiSpijun-007 - 26.02.2018 08:52

this episodes are making me only dumber

Ответить
@bhavykhatri2669
@bhavykhatri2669 - 07.03.2018 01:37

His smile is so motivating.

Ответить
@jamiequigley5906
@jamiequigley5906 - 21.03.2018 14:40

Creepy smiles at the end of each sentence, "Smile MORE Josh" Marketing bellows!

Ответить
@p.r.oductions3026
@p.r.oductions3026 - 29.03.2018 05:01

seriously google...you hired this guy to explain your video...he can hardly keep from smiling lolololololol google you are some kind of pranksters...better to use FEET who are you kidding??????

Ответить
@RM-lw2qi
@RM-lw2qi - 01.04.2018 07:51

What does the greyhound = 500 line actually do?

Ответить
@denisedias7796
@denisedias7796 - 28.04.2018 21:14

Thank you

Ответить
@brahmlife
@brahmlife - 04.05.2018 20:50

can you have sub features of features in your decision tree algorithm?

Ответить
@TheTruthFadeswithTime28
@TheTruthFadeswithTime28 - 16.05.2018 03:31

why does my bar graph look way worse aesthetically than yours?

Ответить
@AviPars
@AviPars - 18.05.2018 18:13

mine doesn't overlap , is that normal?

Ответить
@ReverseMe
@ReverseMe - 22.05.2018 17:22

better remove inches

Ответить
@harendrasingh_22
@harendrasingh_22 - 19.06.2018 00:13

This is an awesome series ! The best thing ever in ML :P (Well not "the best" , but yeah ! ) !

Ответить
@minigam3s479
@minigam3s479 - 10.08.2018 21:45

I wish i could look so happy ^^

Ответить
@nandishajani
@nandishajani - 20.08.2018 10:26

I tried the same code but the graph is looking very ugly. There are no spaces between the bars. Can anyone please help?

Ответить
@ameynaik2743
@ameynaik2743 - 22.09.2018 18:28

Wasn't this episode a bit inconclusive? Does anyone know the next episode in this series which discusses about the features?

Ответить
@Abdullah-mg5zl
@Abdullah-mg5zl - 01.10.2018 06:03

quick summary of the video:

- let's say that your goal is develop a program that can distinguish between two breeds of dogs

- what features do you want your example data to have?
- you want the features to be the "distinguishing" features between the breeds, i.e. features that are very different between the two dog breeds
- for example, if the two dog breeds tend to have very different heights, you want to use height as a feature in your training data
- if on the other hand, the two dogs have about the same distribution of eye colors, you don't want to use eye color as a feature
- you also don't want to use features that are highly correlated (i.e. that don't bring in new information)
- you want to use simple features, as simple features will require less examples to get a decent classifier

- you wanna be careful about adding too many features, especially if the features are not "distinguishing" features, they may just by chance be distinguishing in your example data, thus your classifier will start basing its predictions based on these faulty features

key thing to take away from the video:
Selecting features is extremely important. Select the simple, distinguishing features, that bring in new information (i.e. that aren't highly correlated).

Thanks so much for these videos!

Ответить
@avinashravi4606
@avinashravi4606 - 02.10.2018 12:18

where i can Learn deeper about ML algorithm with statistics

Ответить
@stickmouse5002
@stickmouse5002 - 16.10.2018 03:36

how does training work, my program marks an apple as an orange

Ответить
@Cupofshake
@Cupofshake - 29.11.2018 09:04

The graph doesn't work, only gets <Figure size 640x480 with 1 Axes> this message.

Ответить
@booneguy
@booneguy - 14.12.2018 02:23

Dem doggos.

Ответить
@奇l
@奇l - 19.12.2018 05:32

。。

Ответить
@sadiqsariq8037
@sadiqsariq8037 - 10.02.2019 09:14

what is the difference between np.random.random() and np.random.randn() ?

Ответить
@Unhacker
@Unhacker - 01.04.2019 05:17

I loved it, but my dog would prefer a squirrel detection algorithm.

Ответить
@tekki.dev.
@tekki.dev. - 09.04.2019 17:57

im trying to learn two things at once here, python and machine learning, but i guess its not too hard as i already know c#,php etc...
ML is also not very hard at first but gets little complicated as you go deep...

Ответить
@amomasi9909
@amomasi9909 - 19.04.2019 20:33

This was incredibly useful, Josh. Thanks.

Ответить
@gaurav9839
@gaurav9839 - 22.08.2019 17:30

What if I don't what is dog and I need to identity it ... My program is just a toddler and it is learning from Internet ...

Ответить
@ThereIsNoSpoon678
@ThereIsNoSpoon678 - 24.02.2020 20:25

Everyone complaining and wanting more episodes. Here I am in 2020 enjoying all 10 of them so far.

Ответить
@user-ny8xt1ui3h
@user-ny8xt1ui3h - 13.03.2020 05:29

Wonderful Series of ML! Someone recommends me another one? please

Ответить
@Dynamite_mohit
@Dynamite_mohit - 19.03.2020 13:00

Thankyou

Ответить
@sk_cricket_league
@sk_cricket_league - 17.07.2020 16:47

Awesome👏✊👍

Ответить
@julekbakus4175
@julekbakus4175 - 09.04.2021 00:58

Anyone else bored at home?

Ответить
@zouhirelmezraoui1336
@zouhirelmezraoui1336 - 31.01.2023 17:48

Thanks for good explication💖👆💖🎓🎓🎓👍👍👍⛅⛅⛅🌴🌴🌴🎆🎆🎆

Ответить