# All Questions

23,195 questions
Filter by
Sorted by
Tagged with
2 views

### Uniform Convergence and VC Theroy

I've started reading more about statistical learning theory, specifically this paper right here and I cannot understand the following part: It turns out the conditions required to render empirical ...
4 views

### Do I have to wrap multiclass SVM in OneVsRestClassifier()?

I am using an SVM for mulitclass classification between 3 labels (1,0,-1). I thought this could simply be done by using SVC(decision_function_shape = 'ovr') in my ...
3 views

### Data Loader (imbalanced classes) for Multitask Learning - same input multiple output

I am working on developing an MTL model. There are three tasks in the model, task1, task2, and task3. The classes in these tasks are imalanced and I am stuck at how I should sample from these so that ...
4 views

### Is weighted jaccard metric suitable for semantic segmentation?

I'm trying to deal with a binary segmentation peoblem using Unet on Tensorflow 2.0 (Keras module). My classes're higly unbalanced, so I have to use class weights (0.03 for background and 1.0 for ...
6 views

### Which activation function of the output layer and which loss function are advised to be used for bounded regression?

I want my (deep) neural network to produce an output from a certain range, in my case between 0 and 255. I have scaled the labels from [0..255] to [0..1]. For the neural network, I have tried a ...
7 views

...
10 views

### BERT classifier with Ktrain API is unable to predict new data

I have trained a classifier for sentiment analysis using BERT architecture. I am able to train the classifier and I am getting a validation accuracy of 87%. But whenever I feed in test data, or some ...
12 views

### treeExplainer algorithm intuition

I'm reading the paper about the treeExplainer; the pseudo-code of Algorithm 1 is a bit cryptical as most of the variables are not even defined (same with sampling and all details involved). Is there a ...
17 views

### Artificially expanding the datasets through rotation of images in MNIST

I came across this question from the 3rd chapter of the book Neural Networks and Deep Learning by Michael Nielsen, this is a question given in his exercise. One way of expanding the MNIST training ...
34 views

### find the difference between two columns in specific rows

I have the following columns from one data frame ...
5 views

### first predicting subgroups and then combining or the other way around

Assume I have a dataset and want a model to give me a binary output 0 or 1. This dataset is very detailed and has many categories which are subcategories of either the group that yields 0 or the group ...
12 views

### Why is the result of each model algorithms (max entropy, forest, svm, etc) producing the exact same output in the tables?

In the R code below, I am feeding in matrix data to help create models based on a series of algorithms (e.g. Max Entropy, SVM, etc). I am having a problem with the algorithm table of results, as each ...
11 views

### Is it necessary to one hot encode while using Pytorch?

I'm doing Image Classification task using Convolution Neural Networks in Pytorch. Do I need to explicitly one hot encode the output labels of Images or Pytorch will handle it ?
10 views

### Geometrical Deep Learning Examples

Could you suggest any articles, or work that has been done in the Geometrical Deep Learning field, I was recently exploring Pytorch3D and I was curious about some work that has been done recently.
7 views

### Doc to bow vectorizer dimensions are always changing when I re-run notebook

I am running a corpus of tweets through a pipeline, with a SKLEARN wrapper to feed it into a Keras neural network. My problem is that the dimension size of the doc to bow vectors changes from one run ...
8 views

### Statistical Test on small sample size (n<30) for non normalized data with MATLAB

Two exams were given and the resulting scores are listed below. Test the hypothesis that there is no difference in performance on each exam versus the alternative that exam 2 performance was poorer. ...
12 views

### Multivariate Polynomial Feature generation

I don't quite seem to understand the rules used to create the polynomial features when trying to find a polynomial model with Linear Regression in the multivariate setting. Let's say I have a two ...
13 views

### Why does the Neuralnet package predict constant values when a second hidden layer is added?

I'm trying to use a multi-layered neural network to predict concrete strength, using R's neuralnet package. Everything works great with a single layer, but when a second layer is added, the ...
6 views

### how to calculate WAR and UAR accuracy when I use SVM.SVC.score in multi-class classifiers?

I used SVM.SVC function to classify. but when I wanted to calculate the weighted and unweighted average accuracy I couldn't access the confusion matrix. because of svm.SVC.score only provides a ...
11 views

### Efficient scanning method on images/volumes when applying neural network

I am a newbie in neural network. I am using this for one of my physics problems. So, please forgive my sheer lack of knowledge in this field. My neural network is a convolutional neural network with ...
9 views

### map_table() function

I am trying to use the map_table(t) function from datascience package, the problem is that the geographical map is not shown on the screen although the parameters ...
13 views

### Known datasets for long document analysis

Are there good baselines datasets or benchmarks for similarities/retrieval of long texts (extremely long documents, books, etc.)? Although significant both academically and applicational, I cannot get ...
15 views

### Any thoughts on analyzing this Time Series

I'm trying to analyze and better understand this time series. More specifically, I'm trying to predict the distribution of the next sample. My initial approach was to plot the histogram, fourier ...
9 views

### averaging non-aligned vectors or lists of numbers

I have two lists of vectors: x, and y. Each x,y vector forms a function that can be plotted (see figure). The values in x do not all match, which you can see from the plot. Also, each x vector may ...
8 views

52 views

### average of 2 classification reports

is there a way to take the average of two classification report? so if I have this two reports ...
6 views

### Keras TimeDistributed wrapper Alternative

I have model in Tensorflow 2.0 keras. But I need to deploy this model to 32-bit windows project. I have tried opencv 4.3-dev 32-bit library for inference. But in a model I use ...
15 views

### What's wrong with my backpropagation through time (BTT) calculation or how to multiple a scaled vector and a matrix without matching dimensions?

I am trying to make a pretty simple RNN from scracth, using only Numpy library of Python. At this moment I am having troubles with BTT as I do not know how to proceed with situation when a ...
18 views

### What is the origin of YOLO/darknet coordinates

I am aware of that darknet/yolov3 outputs relative coordinates, would the coordinate (0,0) be at the bottom left, or at the top left? I am confused as opencv2 seems to have the ...
9 views

### Adding high p-value and low R square features in linear regression model to improve result

I am working on a linear regression problem. The features that has been selected for anslysis using both p-value and domian knowledge has improved the model R2 (0.25 to 0.85) and RMSE. Butthe issue is ...
7 views

### Issue with custom loss function including parameters in keras autoencoder

I am writing an Autoencoder that tries to find parameters for 3D Meshes. For example how bent an object is. I input the Mesh vertices but would like to include the true parameters versus the ...
24 views

### Linear and logistic regression output with same neural network

it seems like this should be a very common task, but I have not found anything useful on my research: How can I do linear and logistic regression with the same neural network? By example, what I mean ...
12 views

...
9 views

### Is Difference Transformation required for LSTM?

I am Working on uni variate multiple step LSTM sequence prediction .My LSTM model is failing to give a good prediction on My Data.From some online blogs I saw that Difference Transform may reduce Data ...
10 views

### Tools to do Semantic Anotation on 3d CAD Models

I am trying to do Segmentation on my custom dataset consisting of 3D CAD Models. However, I am not able to find proper tools to generate my dataset for Segementation. I am able to find existing ...
17 views

### Which ML algorithm should I use for following use case for classification and Why?

I have data in table format having total 3 columns. One column for label, other two columns are features. So, such 30 rows(1 row contains 2 feature and 1 label) make one set of data with all 30 rows ...
14 views

### Question about balancing training data for sentiment analysis (machine learning)

My question is about when to balance training data for sentiment analysis. Upon evaluating my training dataset, which has 3 labels (good, bad, neutral), I noticed there were twice as many neutral ...
8 views

### Listwise ranking for query with thousands of docs

Typical listwise ranking model will predict a complete permutation of all docs corresponding to a query q. If the number of docs to one query are large, for example,...
9 views

### Creating ANN's (LSTM) for multiple datasets

I have three datasets, each representing time-series water quality data from three different regions (upper, middle, lower regions) of the same geographic area. I want to create different types of ...
6 views

Hello I'm using AWS Sage Maker to build my model. I want to store the model in S3 for later use. How do you save your model in S3 with Amazon Sage Maker? I know this seem trivial but I didn't ...
14 views

### What is the best way to match street addresses in a dataset in Python?

I have a dataset of land parcels owned by the government and I am attempting to match street addresses to an existing list of government agencies. I've used fuzzy matching and used a regex that ...