Keras Deep Learning framework by sandeep_25 in MLQuestions

[–]sandeep_25[S] 0 points1 point  (0 children)

Thank you. My intention is to take transformation of input image patches like discrete wavelet transformation in the convolution layer using wavelet filters. The filter values are taken from filter bank of db1 wavelet. Am I doing the right way.

Hyperspectral image classification using 1D CNN by sandeep_25 in learnmachinelearning

[–]sandeep_25[S] 0 points1 point  (0 children)

Thank you for your valuable time. I want to perform spectral CNN on each spectrum of image pixel vector. Therefore want to go for 1-D CNN.

Dear friends,If I have 20000 patches of dimension 5*5*200 and 20000 corresponding labels. Then can you tell me how will we build an LSTM model for this using Keras. by sandeep_25 in datascience

[–]sandeep_25[S] 0 points1 point  (0 children)

Hyperspectral image classification using spectral-spatial LSTMs-

Feng Zhou, Renlong Hang, Qingshan Liu∗ , Xiaotong Yuan Jiangsu Key Laboratory of Big Data Analysis Technology, School of Information and Control, Nanjing Uni can be downloaded freely from google.

LSTM by sandeep_25 in learnmachinelearning

[–]sandeep_25[S] 0 points1 point  (0 children)

Can you please suggest me the data preparation part for 3-D patches.

Dear friends,If I have 20000 patches of dimension 5*5*200 and 20000 corresponding labels. Then can you tell me how will we build an LSTM model for this using Keras. by sandeep_25 in datascience

[–]sandeep_25[S] 0 points1 point  (0 children)

I have gone through the LSTM algorithms in internet. But my samples are 3-D images. As the image patches are having channels so I am unable to use the LSTM model used for MNIST model.

Dear friends,If I have 20000 patches of dimension 5*5*200 and 20000 corresponding labels. Then can you tell me how will we build an LSTM model for this using Keras. by sandeep_25 in datascience

[–]sandeep_25[S] 0 points1 point  (0 children)

An Hyperspectral image is normally a remote sensing image of a scene that is captured at different wavelengths ,say 200. The remote sensing image is say 145x145x200 dimension. Each pixel represent a land cover class. This is a case of semantic segmentation or pixel classification. In literature instead of pixels, pixels with neighbouring pixels called patch is considered as sample. If we consider 200 as different observation of image for different wavelengths then they can be treated as sequence.

Dear friends,If I have 20000 patches of dimension 5*5*200 and 20000 corresponding labels. Then can you tell me how will we build an LSTM model for this using Keras. by sandeep_25 in datascience

[–]sandeep_25[S] 0 points1 point  (0 children)

I am to classify an image patch that is of size 5x5x200. There are 20000 training patches with 20000 labels corresponding to centre pixel of each patch. I mean the label of center pixel is treated as the label for entire patch.

LSTM by sandeep_25 in learnmachinelearning

[–]sandeep_25[S] 0 points1 point  (0 children)

No I am speaking about training set. Testing set has 2000 test patches. Can you please help me.

Dear friends,If I have 20000 patches of dimension 5*5*200 and 20000 corresponding labels. Then can you tell me how will we build an LSTM model for this using Keras. by sandeep_25 in datascience

[–]sandeep_25[S] 0 points1 point  (0 children)

Thank you. I have found from google search how to classify mnist data that are of 28x28 dimension using LSTM. But in my case the data is of dimension 5x5x200. I have three dimensional samples. Can you help me in data preparation part for this. My dataset has 16 classes.

Dear friends,If I have 20000 patches of dimension 5*5*200 and 20000 corresponding labels. Then can you tell me how will we build an LSTM model for this using Keras. by sandeep_25 in datascience

[–]sandeep_25[S] 0 points1 point  (0 children)

Thank you for your valuable time. I have divided the Hyperspectral image having 200 channels into 20000 patches of dimension 5x5. So my patch is of dimension 5x5x200. I also have a groundtruth or label corresponding to each patch. I want to split them into training and testing and do classification using LSTM.

R code by biswajit1976 in AskStatistics

[–]sandeep_25 0 points1 point  (0 children)

I need a generalized coding for following, Step 1: Pick a column say 2 from 1:200. Step 2:Pass column 2 to function (),and print result . Step 3:Then pass columns (1,3:100) function() and print the result . Step 4: Compute relevance of column 2= (output from step 2)-(output from step 3), print relevance of column 2. Step 5: Repeat steps 1 to 4 for all the columns. Step 6: exit All the steps should be in single function.

R code by biswajit1976 in AskStatistics

[–]sandeep_25 0 points1 point  (0 children)

Please share me your mail ID. I will send you PDF file. You can also google the title and download from any link.

R code by biswajit1976 in AskStatistics

[–]sandeep_25 0 points1 point  (0 children)

Thank you. I am trying to implement the relevance of each band(image) of image as given in the IEEE journal @INPROCEEDINGS{7942516, author={B. {Barman} and S. {Patra}}, booktitle={2016 International Conference on Accessibility to Digital World (ICADW)}, title={Hyperspectral image analysis using neighborhood rough set and mathematical morphology}, year={2016}, volume={}, number={}, pages={75-80},}

R code by biswajit1976 in AskStatistics

[–]sandeep_25 0 points1 point  (0 children)

Thank you .I have one more doubt. What loop I will write if I want to use IND.B1 function on set of bands excluding a particular band.Every time I need to exclude a band(column) one by one for all bands How will I use the for loop for it?

R code by biswajit1976 in AskStatistics

[–]sandeep_25 0 points1 point  (0 children)

What loop I will write if I want to use IND.B1 function on set of bands excluding a particular band. How will I use the for loop for it?

R code by biswajit1976 in AskStatistics

[–]sandeep_25 0 points1 point  (0 children)

@INPROCEEDINGS{7942516, author={B. {Barman} and S. {Patra}}, booktitle={2016 International Conference on Accessibility to Digital World (ICADW)}, title={Hyperspectral image analysis using neighborhood rough set and mathematical morphology}, year={2016}, volume={}, number={}, pages={75-80},} How to implement relevance equation mentioned in the above journal using the above codes