All Questions
30 questions
0
votes
0
answers
80
views
Which is better: tensorflow 2.3.0 with GPU or tensorflow 2.18.0 with only CPU?
What is the speed of running tensorflow 2.3.0 with GPU relative to tensorflow 2.18.0 with only CPU?
Hardware
Laptop: MacBook Pro 15-inch 2012 64-bit.
OS: Windows 10 Pro 22H2
Processor: Intel(R) Core(...
2
votes
1
answer
231
views
Loss function to prevent estimator bias
I have a regression problem I'm trying to build a model for: Predicting sales per person (>= 0) depending on some variables. I'm running different model types and gave deep neural networks a try. ...
0
votes
0
answers
39
views
R: Model results in same test accuracy and ROC - How is this possible?
I've trained a simple mlp with my data set (unfortuanetly I cannot share any details):
...
2
votes
1
answer
327
views
Calculate importance of input data bands for CNN image classification?
I constructed and trained a convolutional neural network using Keras in R with the TensorFlow backend. I feed the network with multispectral images for a simple image classification.
Is there some way ...
0
votes
0
answers
20
views
Parsed source code classification - a text classification problem?
I'm new to machine learning, so excuse me if this is a foolish question. I'm working on a data science project in R, where I try to predict whether a Swift code ...
1
vote
0
answers
20
views
Prediction method when the time series is not sequential?
I have multivariate time series data consisting of monthly sales of contraceptives at various delivery sites in a certain country, between January 2016 and June 2019. The data looks as follows:
The ...
1
vote
0
answers
297
views
A simple logistic regression using keras and R
I am new in ML. I try to run a simple logistic regression using Keras in R.
I have 0 or 1 in a train$y data set. It corresponds to ...
0
votes
2
answers
4k
views
Model with always Error in py_call_impl(callable, dots$args, dots$keywords)
I have a problem with my trainingtarget, trainingtarget, trainable and ...
2
votes
1
answer
248
views
Using keras in R to perform neural network, my model has very low accuracy but the prediction is good and I don't know why
I used the classic dataset - mnist dataset that has 784 columns of pixels and 1 column of the label (from 0 to 9), and I was going to transform the images into their corresponding seven segment ...
1
vote
0
answers
274
views
Different Results from Pre-Trained Model Between Python vs R
I am using a pre-trained Model. Firstly, I trained the Model in python which came with 94% accuracy. Now, I am trying to reproduce the same results with same configuration of the model in R, but it is ...
1
vote
0
answers
28
views
Stabilize Neural network prediction for class probability
I could not carry my question from stackoverflow
I ve been trying to fit a neural network for binary setting using library(keras) and I am interested in class ...
9
votes
2
answers
8k
views
Can I use LSTM models to evaluate multiple, independent time series?
Let's say that I would like to predict the temperature tomorrow. I could use the approach whereby I train a model based on a time-series dataset collected from a single location (for example, see this ...
1
vote
0
answers
573
views
Keras Embedding layer weights
I am trying to analyze the weights in a trained Keras embedding layer. The goal is to understand how well (or how poorly) we're capturing relationships between some specific tokens in our texts, ...
0
votes
2
answers
307
views
How to get a output of a hidden layer of a single-layer LSTM
How can get the hidden layer outputs in a simple one-layer lstm?
...
1
vote
0
answers
93
views
How do I use LIME in R to explain a Model created in KERAS?
I have created a model in KERAS R, using a data table, with the following script:
...