Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use for data science questions related to the programming language Python. Not intended for general coding questions (which should be asked on Stack Overflow).
0
votes
How can I improve the accuracy of my confusion matrix to 100%?
Achieving such accuracy is hard but not impossible, especially when you test your model in real life to see if the model can achieve the same accuracy or not. Here are some tips that help to improve y …
3
votes
1
answer
646
views
resampling image takes a large amount of time
I am working on medical image exactly CT scan images, there is a method for reading these type of images, also another method for resampling, the code for two methods shown below:
def load_itk_image( …
2
votes
1
answer
2k
views
Stop CNN model at high accuracy and low loss rate?
I train my CNN model with a large number of epochs, with each epoch I print the training loss and accuracy, but there is a lot of high and low in these two metrics, I want to do early stopping with fo …
2
votes
1
answer
2k
views
out of memory error when consrtucting 2d list from 2 numpy arrays
I am working on lung CT images from luna16 dataset, the dataset have a 3d lung image and a label from CSV file, I have a code for constructing 2d list from 3d array 25x25x25 (the 3d image) and a label …
1
vote
1
answer
558
views
How L2 Regularization penalizes weights in TensorFlow?
I know that L2 Regularization technique is used to reduce over-fitting and penalizing large weights. In more than one place, I saw that it is used like the code below in TensorFlow library:
reg = tf.n …
-1
votes
2
answers
31
views
two dimensional list takes huge amount of memory
I have a 2d list which is created from lung CT image data and a label (the first item is a 3d array(image data) and the second item is a label(0 or 1)), I need this to data to train CNN model, the lis …
1
vote
1
answer
278
views
adding summary to tensorflow model error
I have a CNN model for classifying lung CT images, the code is written in tensorflow, I added some tensorflow summaries to my code to show graph, scalar, histogram, ... of my tensorflow model in tenso …
1
vote
1
answer
141
views
what is the one hot encoding for cancer data classification
I am working on a project to classify lung CT dataset using CNN and tensorflow, I know that the order for the category is cancer/no-cancer (only 2 classes), in more than one Github repository I see th …
7
votes
2
answers
2k
views
Memory error when using more layers in CNN model
On my dell core i7 - 16GB RAM - 4gb 960m GPU laptop, I am working on a project to the classify lung CT images using 3d CNN. I'm using the CPU version of tensorflow. The images are prepared as numpy ar …
1
vote
1
answer
358
views
Batch data before feed into CNN network
I am working on a project to classify CT scan images using the CNN model, the image size is huge and I want to feed it into the network using the idea of batches, tried doing that with this pieces of …
0
votes
1
answer
3k
views
how to save deep learning model and test it after training?
I have a CNN model written using tensorflow for python, the model is for classifying lung CT images (cancer/no-cancer), after training the model with training and validation data and get a reasonable accuracy …
4
votes
1
answer
1k
views
How to make a Python code execute on GPU and not CPU
I am doing some image pre-processing using Python 3. …
10
votes
2
answers
21k
views
Using Cross Validation technique for a CNN model
I am working on a CNN model. As always, I used batches with epochs to train my model. When it completed training and validation, finally I used a test set to measure the model performance and generate …
3
votes
1
answer
695
views
storing a huge dataset in h5py file format
I work on preparing the luna16 dataset for feeding into the CNN model, after reading all '.mhd' files and the labels(0, 1) in the annotated CSV file, I get a memory error, I know the problem is becaus …