# All Questions

31,062 questions
Filter by
Sorted by
Tagged with
7 views

### Get GradCAM image for MFCC from CNN saved model in Python

Please note I have also asked this question in stack exchange 2 days ago, but have not received any answers to date: After extracting the MFCCs via this code: ...
9 views

### Why SVM works well with high dimensional data?

I'm having troubles trying to understand why SVM works well with high dimensional data, the case when p >> n. I read the following: SVM is automatically regularized. You don't have to pick a ...
9 views

### Parameters of doc2vec model

I am new to NLP and doc2vec model. I would like to understand the parameters better. Pls assist if you know. Thank you Doc2Vec(dm=0, vector_size=300, negative=5, hs=0, min_count=2, sample = 0, workers=...
10 views

### NameError: name 'model' is not defined Keras with f1_score

I'm having a problem with my Keras model, in the .compile() I use accuracy, loss, precision, recall and AUC, but also I need f1_score, due to Keras doesn´t include f1_score, I tried to calculate by ...
17 views

### Small question about logistic regression-multiclass classification problem for NLP

I have one more very small question. For example in my multiclass classification problem, based on the sigmoid function, I think this theta's dimensions should always be the same as x(i). If I'm ...
15 views

### How do I go for NLP based on phrases instead of sentences?

So I have a list of words in this format: chem, chemistry chemi, chemistry chm, chemistry chmstry, chemistry Here, the first column represents the actual word which is in the second column. I need to ...
12 views

### What changes is the Neural Network back-propagation algorithm doing on the weights?

I have seen the formula for back-propagation algorithm for neural network error minimization, but I am not quite sure about what changes it is performing on the weights individually. Let us suppose a ...
21 views

### Can a ML model predict output vector based on input vector?

This is a conceptual question. I am aware that many ML models predict the value of a variable on a row-by-row basis. Are there models that do so for vectors? For example, if my data is this: ...
4 views

### Organizing data sources when working with multiple tables from one database

I'm working with a workbook that has a dozen or so dashboards, each showing information stored in a different table in a MS SQL Server database. The information is pre-summarized, Tableau is just ...
8 views

### Vectorize scipy.stats.norm.logpdf

I am tryint to trying to train a Bayesian NN and at some point I need to compute log-likelihoods for some data points, according to a multivariate diagonal gaussian distribution with parameters (mu, ...
24 views

### How to train and evaluate model based on inner ordering of data subsets?

I've got a problem which I don't know how to frame properly (what techniques to use, what data structure, etc). Here's a rough definition of it: ...
13 views

### What skills are required to work effectively with AutoML?

What is the required set of skills for engineers to work with AutoML services on GCP and AWS platforms? I was wondering is it required to have the same set of skills as ML engineers who work with ...
12 views

### How to identify precision, recall, IoU, and mAP in these results for my trained Tensorflow model?

I have trained a Single Shot Detector model (using Tensorflow), and have run the evaluation metrics. However, I am not entirely sure what to make of them. Doing a computer vision literature search, ...
11 views

### ResNet output dimensions of initial convolution don’t yield in an integer

I’m trying to understand the ResNet dimensions, but got stuck at the first layer. We are passing a [224x224x3] image into 64 filters with kernel size 7x7 and stride=2. According to the ResNet source ...
10 views

### CNN features vs bert features for text classification

Using CNN we can get bi-gram tri-gram or n-gram features but is it possible with bert for text data. When to use Bert and when to use CNN for text classification. Any kind of reference is helpful
10 views

### Multiple values for a single parameter in the mlflow run command

How to pass multiple values to each parameter in the mlflow run command? The objective is to pass a dictionary to GridSearchCV as a param_grid to perform cross validation. In my main code, I retrieve ...
15 views

### The channel dimension of the inputs should be defined. Found None

Hello I'm trying to use SegNet in my project with tensorflow, for educational purpose. And I'm surely following someone else's code on GitHub: ...
5 views

### Analyzing Microscopic Residue

My goal is to analyze a set microscopic residue. I'd like to apply entropy discretization to attribute A1, segmentation by natural partitioning to A2, then correlate A1 and A3. The first attribute of ...
7 views

### Transparent Matching / Recommendation System

I am thinking of a matching/recommendation algorithm which matches students to the right teachers for their individual problems. The dataset would look like this: Student Name Age Gender Weak ...
17 views

### Sklearn xgb.fit: TypeError: fit() missing 1 required positional argument: 'y'

I am new to ML, and XGB is really confusing me. I understand that for Python XGB can be imported directly from the xgb library or via SKLearn. The methods for xgb from the direct xgb library also ...
13 views

### Order by commonness of words: Sentence matching

I'm trying to compare two sentences which might or might not be about the same theme (product). I've tried a few metrics like cosine similarity, distance etc. but the results are not very impressive. ...
15 views

### Regression followed by thresholding to predict rare events

I have a multi-variate time series for which I am performing forecasting by regression. My aim is to forecast extreme values in this time series (rare events). On the one hand I have a regression ...
8 views

### Listing categorical variables captured using OrdinalEncoder

Long time listener, first-time caller..! I've searched and have been unable to find an existing solution to the problem outlined below. I have a large list of discrete categorical data that has now ...
11 views

### Updating a genism LDA model with new documents and topics

I have a conceptual problem that is related to a project I'm working on. I'm relatively new to the domain of NLP so this might be a poor question but I would really appreciate any help. My dataset is ...
18 views

### Understanding Max Pooling

I understand max pooling in CNNs can help decrease the computational load due to downsampling. Another thing mentioned is that max pooling can help provide a sort of "spatial invariance" for ...
16 views

### Matching job descriptions to job titles

I have a list of potential job titles e.g. .NET developer, and a corpus of job descriptions that people have written for themselves. I would like to match the job descriptions to the appropriate job ...
10 views

### How Can I Convert Dataset Annaotations To Fixed(YoloV5) Format Without Hand Encoding

So I Am Working On This Awesome Project On Object Detection,Where The Prior Task Is To Identify Brand Logos, So after Doing some research i found this dateset available for the brand logo For More ...
14 views

### Model accuracy and validation accuracy stuck at constant value for denoising autoencoder model

I am building a denoising autoencoder (DAE) to denoise respiratory signals. I pass through the model both noisy and clean versions of the signal (in frame sizes as multiples of 1024). I've set up my ...
23 views

### What is the appropriate machine learning algorithm for this problem?

I have a dataset in which each sample contains a user id, a date, and the status associated with that particular user (active, expired & deactivated). The dataset contains records for a full year, ...
20 views

### Residual plot understanding

I am trying to build a regression model to predict Gerrit code review delay (i.e the time between the creation time of the code review until the time of the last update.) For that, I used a random ...
25 views

### classification balanced target y [0,1] but imbalanced feature x [many 0 , few 1s] , maximize precision

I have a simple dataset with balanced target y (0 or 1) ,and imbalanced feature (many 0 , few 1's) I aim to get high precision (don't care about recall) I can get high precision of 0.53 if I just ...
19 views

### best prediction technique for small dataset

Whats the best way to predict till time value 40. Thanks! ...
10 views

### How to compute gradient of Softmax in backward pass of a neural network?

I am trying to implement the backward pass of a Softmax layer. As an input to my backward-function, I receive the gradient from the next upper layer and I have to ...
9 views

### Structural Equation Modeling as Neural Network

Is it possible to create an architecture Structural Equation Modeling as Neural Network ?
9 views

### Multi-class classification but a single feature sometimes boils it down to a binary-classification

I have a three-class classification problem for a large dataset. Classes are 0, 1 and 2. There's a categorical variable in my feature vectors such that when a sample point has this variable positive, ...
27 views

### Can any data be learned using polynomial logistic regression?

We know that a Taylor polynomial can approximate any smooth function. In binary logistic regression we're trying to fit a decision boundary to our data. But this decision boundary is not necessarily a ...
35 views

### Vector elements of word2vec?

In word2vec I understand that selecting a vector size of lets say 100 would give me a word vector which has the correlation (kind of) between the word and 100 other words in corpus. My question is are ...
22 views

### How to deal with multiple binary timeseries?

I have a time series data looks like this userID month year target user1 1 2 1 user2 12 2 0 ... ... ... ... userN 6 3 0 with about 2000 unique userID, ...
13 views

### under sampling the dataset of multi-label classifiction

I have a multi-label dataset, whose label distribution looks something like this, with label on x-axis and number of rows it occurs in the dataset in y-axis. ...
10 views

### data.iterrows() + plt.imread() alternative, really exhausting

Currently, I'm loading my images for the training model with TensorFlow, like this: ...
19 views

### XGBoost in Python: How do I input the scale_pos_weight for multi-classes?

I have 3 classes and my weights are Class 1: 1 Class 2: 0.333 Class 3: 0.167 How do I input them into the scale_pos_weight parameter? I know for a binary classification, we input it like below: ...
21 views

### Predicted values scatter plot angle

Could you please come up with any possible explanation on why this happens when one uses a deep learning model to predict something? The points should be on a 45 degree angle but they seem to be on a ...
23 views

### GridSearch CV: Suitable scoring metrics for Imbalanced data sets

I am new to machine learning. This is my $1^{st}$ machine learning project and I am working on classification on an imbalanced dataset. There are also multi-classes in the target variable. I would ...
34 views

### Why is it important that a transformation applied to a metric is monotonic?

What does it mean for a function to be monotonic? Why is it important that a transformation applied to a metric is monotonic?
23 views

### how to classify highly overlapping data after PCA and t-SNE?

I'm working on a classification (3 classes) of unbalanced weather data having 22 features. Even after applying PCA and t-SNE the data is overlapping. The best classification score achieved so far is ...
17 views

### Nested Classification in Tensorflow

I am working on a text classification problem that has an output structure that one could consider nested in the sense that similar child labels fall under the umbrella of parent labels, which are ...
334 views

### Multicollinearity vs Perfect multicollinearity for Linear regression

I have been trying to understand how multicollinearity within the independent variables would affect the Linear regression model. Wikipedia page suggests that only when there is a "perfect" ...
7 views

### Maximum Likelihood Estimation - huge bias on certain values, advice?

First of all I profusely apologise for the lack of suitable ways to express myself, I lack the formal data science background and am trying to learn as I go along, so finding the right terminology is ...