All Questions

0
votes
1answer
6 views

Can I use the Softmax function with a binary classification in deep learning?

I want to create a deep learning model (CNN) for binary classification, can I used the softmax function instead of the sigmoid function in binary classification? Adding the classification layer to ...
0
votes
0answers
3 views

Cross validation with xgboost in R

I wanted to do CV with Xgboost with the function xgb.cv() documentation here I am not quite sure how it works tho. I read online that this function tell's you at which iteration to stop when training ...
0
votes
0answers
10 views

How to do add and subtraction in between three inputs for predict the value using python

This question is related to this unsupported operand type(s) for -: 'list' and 'list' using python I want to predict value according to the three inputs(X1,X2,X3) . for prediction ...
2
votes
0answers
13 views

Is there a rule of thumb when designing neural network in deep reinforcement learning?

In deep learning, we can assess model's performance with loss function value and improve model's performance with K-fold cross-validation and so on. But how can we design and tune neural network used ...
1
vote
1answer
8 views

Transfer learning - small database

I am trying to use transfer learning in medical (ultrasound pictures). The problem is - I have very limited picture database = 400 (360+40). I am using resnet50 (I don't think this is important but ...
1
vote
1answer
19 views

unsupported operand type(s) for -: 'list' and 'list' using python

Here I have a data file and I designed neural network to predict value. I have a three inputs. These three inputs affect to predict value bysubtarcting and adding. If my three inputs are x1,x2,x3 . X1 ...
1
vote
0answers
11 views

How does the naive Bayes classifier handle missing data in testing?

Assume that a classier has been trained already (no missing training data), but a prediction has been requested based on an observation that does not include every feature. How can we handle this ...
0
votes
0answers
5 views

Google Colaboratory - Won't Start Error

Has anyone else encountered this error? I am teaching a business analytics class with python this semester and Colab has been absolutely fantastic, yet one student is getting the following error. ...
1
vote
0answers
13 views

How to predict whether or not a customer will renew

I have a dataset of customer contracts that specify a start date and if applicable an end date. Each month a customer is up for renewal. Below is an example of how the data is organized in excel: <...
1
vote
0answers
6 views

KShape cluster centers offset?

I am using tslearn KShape to cluster time series data. I am generally happy with the results, as upon inspection, the clusters seem to make sense because of the similarity in shape and magnitude. I ...
1
vote
0answers
13 views

what is fuzzy svm?

I have to solve this question for my homework but I don't get how to formulate svm to FSVM. can someone please guide me? What is your idea to have a model of SVM classifier in which instances can ...
1
vote
0answers
7 views

Multi-Step Forecast for Multivariate Time Series (LSTM) Keras

I have been trying to understand how to build LSTM model for multivariate time series forecast using Keras but I am still unsure how to present the data in the correct shape. ...
0
votes
0answers
5 views

Best Technique for find Similar Elements in Sets with Widely Varying Numbers of Attributes

I have a data set containing millions of items collected from many disparate sources. Each item contains a list of anywhere from fifty to a thousand attributes. The specific attributes available vary ...
1
vote
0answers
6 views

Keras importing two images of same object for ConvLSTM

I'm trying to use Keras's recurrent models (ConvLSTM2D here) for my neural network. My objective is to takes two images of the same object at different angles, and based on the features from the two ...
1
vote
1answer
35 views

Understanding why ensembling only improves marginally

I have two models, A and B, trained on Imagenet. Their accuracies on Imagenet validation set are 35.6% and 28.64% respectively, while the accuracy of their ensemble (averaging their scores) is 35.68%. ...

15 30 50 per page