57 - How to generate features in Python for machine learning?

  Рет қаралды 33,061

DigitalSreeni

DigitalSreeni

Күн бұрын

Пікірлер: 37
@ayaalsalihi6001
@ayaalsalihi6001 2 жыл бұрын
How can we feed several features to specific Classifiers??? And how to extract features from a folder of images Combine different features and than feed it to cnn???
@kaveenjayamanna1509
@kaveenjayamanna1509 2 жыл бұрын
Although this looks good, the only problem I see is that there will be a lot of rows. For example, a single image could render 1,048,576 rows (1 million rows). So, if I had 200 images, that would be 200 million rows. Is there a way we could derive a coefficient for each image so we end up with just 200 rows per 200 images?
@aleksandr4369
@aleksandr4369 4 жыл бұрын
Hello Dr. B! I have been watching all your videos and wondered if the copy/pasting you are doing @14:55 would be useful to re-code as a class as you showed in some of your earlier videos. If it is, do you think there would be benefit in creating a tutorial on how to just redo this part _with you excellent coding practice_ as classes? I don't know much programming and am basing this comment off of just having binged your videos! Thank you! But also, you are doing an excellent job and I admire your cross-disciplinary background. I wish these techniques existed and were taught to me in undergrad as I would have started doing all of this much sooner!
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
For serious programming you can consider using classes but for teaching purposes it confuses newbies. Even many people who code on a regular basis are not good at object oriented programming. Therefore, I stay away from classes although I do use functions sometimes.
@shabinaa6407
@shabinaa6407 2 жыл бұрын
Sir can you make video on Unet++? I am don't know how to introduce deep supervision in Unet++.
@felip6180
@felip6180 4 жыл бұрын
my god, I really LOVED what you showed here
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
Thank you very much!!!
@manuel56354
@manuel56354 4 жыл бұрын
Your channel is gold!!
@samarafroz9852
@samarafroz9852 4 жыл бұрын
You're the best sir doing fantastic job
@immohobot9288
@immohobot9288 8 ай бұрын
Nice
@dimitheodoro
@dimitheodoro Жыл бұрын
can you make a video for pyradiomics???
@gl8218
@gl8218 2 жыл бұрын
Using this example image, this gives a starting point for a new approach to assess wound healing areas and the cell population characteristics around the wound area. Thank you.
@HALJUAN1
@HALJUAN1 2 жыл бұрын
Thanks so much for your time and your help with these videos. How can I generate a data frame with these features with all images data set, not just with one? thanks again
@harpreetdogra222
@harpreetdogra222 Жыл бұрын
Hii there do you got the answer for your query as I have the same question
@shuvamgupta2236
@shuvamgupta2236 3 жыл бұрын
Hi sir. I want to extract geometrical features for example volume of micro organisms in 3d image radius etc. Please make a video on it
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Please try regionprops from scikit image. kzbin.info/www/bejne/q2TReGiVes-Zg5I
@deepthik6828
@deepthik6828 3 жыл бұрын
I am so happy to watch this tutorial ,after searching a lot I got answer from you.Thank u so much
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
You are welcome 😊
@manikandanj7891
@manikandanj7891 2 жыл бұрын
Hello Sreeni.. I'm so happy after watching this tutorial.. it gives a detailed explanation on the topic.. thanks for making it.. in data frame the number of rows is 1048576.. is this number is a combination of different features obtained from different filtering techniques?
@tecfy028
@tecfy028 Жыл бұрын
In this case, the number of rows represents gray values. The image has exactly 1048576 pixels, so there are 1048576 gray values. When the img is loaded with cv2.imread(), it returns a 3-dimensional array (3 arrays one inside the other). The innermost array represents an RGB triplet. You can visualize it like a 2D array (matrix) of RGB triplets in each element entry. RGB triplet -> [Red value, Green value, Blue value] 3D array -> [ [ [Red value, Green value, Blue value], ...], ...] Gray value -> just a number 2D array -> [ [ Gray value, ...], ...] 1D array -> [ Gray value, ...] When the img is grayscaled and then reshaped (-1), the 3-dimensional array turns into a 2-dimensional array (RGB triplet becomes gray value) and then turns into a 1-dimensional array with 1048576 elements. Finally, this 1D array is stored as rows in a data frame. Each data frame column is this 1D array with a filter applied to it, that's why the values shown at 15:45 are different.
@eneserkuvan
@eneserkuvan 10 ай бұрын
okay but what about other images ? Do i append them to end of this dataframe ?@@tecfy028
@TheHarpanOnly
@TheHarpanOnly 2 жыл бұрын
Why do we need to convert to greyscale first?
@DigitalSreeni
@DigitalSreeni 2 жыл бұрын
Some image processing methods are designed only for single channel (greyscale) images. Therefore, it is safe to convert your images to grey in case color information is not relevant. If you want color information to be included, you can apply the method to each channel and combine them into RGB.
@TheHarpanOnly
@TheHarpanOnly 2 жыл бұрын
@@DigitalSreeni i am bit understand what you re talking, since I am new in this matter. I know about doing filter on each RGB channel. But what do you mean "combine" it after filtering? How do we combine each three dataframe to become single dataframe? What will the dataframe look like? Thank you in advance
@DigitalSreeni
@DigitalSreeni 2 жыл бұрын
You may find this video useful which addresses you question. kzbin.info/www/bejne/fYjcnYBri56plac
@TheHarpanOnly
@TheHarpanOnly 2 жыл бұрын
@@DigitalSreeni thank you. I'll check it.
@safakhodabakhsh7822
@safakhodabakhsh7822 3 жыл бұрын
entropy filter
@anmolgautam9572
@anmolgautam9572 3 жыл бұрын
Thank You Sir.
@mahhhhh2599
@mahhhhh2599 4 жыл бұрын
Hi sir, does gaussian denoise the image, and cannot be used as features extraction ?
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
Anything can be used for feature extraction. The whole of point of applying various filters to generate features is that each filter response has different information and one of those will help segment images. So, even Gaussian blurred images contain useful information. Have you ever squinted your eyes to read something that is not very clear? Well, Gaussian smoothing is kind of like that.
@mahhhhh2599
@mahhhhh2599 4 жыл бұрын
@@DigitalSreeni thank you sir, for taking your time answering my question. Much appreciate.
@abdulhannan-um6to
@abdulhannan-um6to 3 жыл бұрын
Can we do that for lbp as well ?
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
With LBP you can generate many filters by changing its parameters, for example number of points or radius. So yes, you can do the same with LBP.
@abdulhannan-um6to
@abdulhannan-um6to 3 жыл бұрын
@@DigitalSreeni Hi can you tell me how we can convert LBP feature vector to featuers to use for machine leraning for multiple images.?
@amineleking9898
@amineleking9898 3 жыл бұрын
Thank you man
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
You're welcome!
@amineleking9898
@amineleking9898 3 жыл бұрын
Man, your channel id gold. Thank you very much!
58 - What are Gabor filters?
25:59
DigitalSreeni
Рет қаралды 52 М.
56 - What are features in machine learning?
9:55
DigitalSreeni
Рет қаралды 10 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 134 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 51 МЛН
61 - How to create Gabor feature banks for machine learning
16:04
DigitalSreeni
Рет қаралды 17 М.
OpenCV Course - Full Tutorial with Python
3:41:42
freeCodeCamp.org
Рет қаралды 3,5 МЛН
Build your first machine learning model in Python
30:57
Data Professor
Рет қаралды 339 М.
Extract Features from Image using Pretrained Model | Python
15:41
Hackers Realm
Рет қаралды 20 М.
60 - How to use Random Forest in Python?
32:17
DigitalSreeni
Рет қаралды 39 М.
What are the features in machine learning?
6:56
codebasics
Рет қаралды 13 М.
Image Processing with OpenCV and Python
20:38
Rob Mulla
Рет қаралды 163 М.
Image Classification using CNN Keras | Full implementation
17:56
Coding Lane
Рет қаралды 178 М.
Давайте поцарапаем iPhone 16 Pro Max!
0:57
Wylsacom
Рет қаралды 1,9 МЛН
iOS 18 в реальной жизни
14:42
HUDAKOV
Рет қаралды 96 М.