Questions tagged [machine-learning-model]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

Understanding declared parameters in my Conv2d layer of my convolutional neural network

I am trying to understand the architecture of my keras model implemented by the sequential model. Here is a piece of the code : ...
0
votes
0answers
4 views

Should I use a different ML model for feature sets with missing values while drawing inferences?

I have trained a model with 5 features. While training, I had no missing values, and the models were perfectly trained. However, when I'm using this model to draw inferences, sometimes I'm missing one ...
0
votes
1answer
27 views

Getting 0 accuracy and NaN mae for all epochs training my NN

Background: I made a simple game using python library 'Turtle' in which there is a long plank with a ball balanced on top of it. I can press right or left arrow keys to rotate the plank (either ...
-1
votes
0answers
13 views

Understanding the modified version of weighted_categorical_crossentropy() function for keras model?

I had found this piece of code as a solution to solve class imbalance. I am trying to understand it but I still have some ambiguity. Here is the found code: ...
1
vote
0answers
24 views

Is it possible to do attribute, value extraction prediction model in Machine Learning?

Previously I asked a question at here, but it doesn't seems to be at the correct place. So, I moved it here with more details of what I've done. Here is the sample data image to be process. Start with ...
1
vote
1answer
17 views

Classification report question

I need some help to interpret the 2 classification reports of the same logistic regression. The only difference between them is the size of test_size. Even though my second classification report has a ...
0
votes
0answers
23 views

Model Deployment

I am trying to work on deploying my first model to Heroku. So I was referring some videos for it. I saw that some pre-processing like removing stopwords, lemmatizing etc are done while creating the ...
0
votes
0answers
22 views

Sequence-to-Sequence Autoencoder with asymmetric length of encoding sequence

I am trying to design a sequence-to-sequence autoencoder where the encoding sequence has a length shorter than the sequence itself given that the encoding's dimensionality could be more to compensate ...
0
votes
1answer
41 views

How do I know what the best number of layers is required to achieve the highest accuracy

I'm learning from Udacity using this video. I saw this piece of code: ...
0
votes
1answer
29 views

Logic behind the Statement on Non-Parametric models

I am currently reading 'Mastering Machine Learning with scikit-learn', 2E, by Packt. In Lazy Learning and Non-Parametric models topic in Chapter 3- Classification and Regression with k-Nearest ...
1
vote
0answers
17 views

Style transfer model outputs only zero valued pixels

Currently implementing the style transfer model proposed in the article "Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization" (https://arxiv.org/pdf/1703.06868.pdf). ...
2
votes
2answers
47 views

X, Y names in data-science [closed]

I am from CS background and moving towards Data Sciences, I have came to know ML is highly influenced by Statistical Inference/signal processing. The X we use in data science is called input, feature ...
3
votes
1answer
37 views

How to make an MNIST classifier work with blank images?

I am trying to make a Sudoku solver and for the image recognition I trained a CNN but the problem that I am facing is that I don't know how to make it see a clear distinction between numbers and blank ...
0
votes
0answers
16 views

Graph Neural Network - Node and Global Properties

I am trying to work with Graph neural networks. I am trying to use the 3d coordinates and some othe things related to those positions as features. However the whole system also has some global ...
1
vote
1answer
32 views

How to create a table to display relative frequencies of selected words (eg. with, can, will) from any text corpus in nltk package in python [closed]

Interested words are ['with', 'can', 'will'] gutenberg corpus is the corpus we would like to search on. Expected output is ...
1
vote
1answer
38 views

regularization error vs over fitting

I have a collected data from 50 unique blocks, and then merged data from 49 blocks into one data set, and saved the data from 1 block for testing purpose. I then split the merged data set from 49 ...
2
votes
0answers
25 views

Keras deep learning speaker identification model excels during training and then fails predictions

I am attempting to create a 1:N speaker identification model with Keras using a TensorFlow backend. I used the LibriSpeech corpus for training data, and preprocessed the data by first converting each ...
1
vote
0answers
33 views

Error when checking target: dimensions error in CNN-LSTM model for multivariate time series forecasting

I'm making a CNN-LSTM model to forecast multivariate time series: ...
2
votes
2answers
23 views

Running Jupyter notebook on remote server with local files

I would like to train my model faster and that's why would like to create a standalone remote machine with GPU support. The solution I am looking for is to have the data locally on my machine and to ...
1
vote
1answer
24 views

Using Low Frequency Labels with High Frequency Features

I am trying to build a model (most likely a regression or random forest regression) for quarterly financial data. My training data has a daily cadence, but I am not sure how to work with these to ...
0
votes
0answers
6 views

How to include the other variables at t=t to predict the target variable with time lags also in LSTM?

I am having a training data set for a time-series dataset like below: ...
1
vote
0answers
33 views

Intuition behind understanding eigenvectors and Machine Learning

I am struggling to understand linear algebra application in machine learning, and I am not able to answer the following question. Is the model learned in Machine Learning the eigenvector of the ...
1
vote
1answer
17 views

how to adjusting already built ML predictive model

How can I continue machine learning model after predicting results? What I mean by that is that I built a model for my 1 million records dataset, this model took around 1 day to get built. I extracted ...
1
vote
2answers
25 views

How to combine two different machine learning models, to get the combined result?

To further explain my question, I will explain my use-case. Say I have a model which is trained for how good/bad a food is for obesity based on its nutrition facts. And another model for, say ...
0
votes
1answer
28 views

what's this approach to spatiotemporal data named as?

I have some sequential data (e.g. audio, video, text etc.) and I am using this approach to classify sequences. I am sure there's a name for it, but I can't think of it: ...
0
votes
1answer
39 views

Why PyTorch is faster than sklearn models?

Recently, I get to know about the hummingbird library for Python. I trained a RandomForest on a 10M-sized dataset with 2 labels. With sklearn it was taking 450 ms for inference. But after converting ...
1
vote
1answer
22 views

Train test split ERROR [closed]

So I was applying the random forest classifier model to a problem,however it showed this error ,even though the columns in X and Y of my dataset are equal. How can I resolve this? ...
4
votes
1answer
121 views

What happens if at leaf node both classes have same number of samples?

I analyzed a small dataset which had three features, so I kept max_depth of decision tree to be 3, in doing so I found it something intresting, there was a leaf node which had number of samples of ...
0
votes
1answer
34 views

How to understand the performance of different machine learning models?

I have a dataset, which contains the processing conditions (i.e., 42 features) and the property (i.e., 1 target) of a class of material. To know the performance of different machine learning models, I ...
0
votes
0answers
17 views

Best methods for Predictive Analysis in Machine Learning?

I'm trying to analyze some data(I get data daily) in R and predict as accurately as I can what will happen in the future. I'm hoping I can predict a few months ahead, but anything that works well will ...
0
votes
2answers
39 views

Linear Regression Model

I'm taking a course on Supervised Learning in R: Regression. There is a section where I'm supposed to predict blood pressure given age and weight. This is was MY approach ...
1
vote
1answer
29 views

How to do data augmentation for Machine Learning on statistical data?

I am training machine learning classification model. I have data in csv format with lets say 5 features(or columns) and 100 such observations(or rows). I want to add more similar data to improve my ...
0
votes
1answer
109 views

ValueError: Found input variables with inconsistent numbers of samples [duplicate]

I am trying to do svm model training and it gives this error: ValueError: Found input variables with inconsistent numbers of samples: [91, 212] Code: ...
0
votes
1answer
16 views

How to go about cooling load forecast for a district level dataset?

I am trying to build a high accuracy cooling load forecast for a district-level dataset over various time horizons. My data consists of a time series of cooling load and consecutive weather data. I ...
0
votes
1answer
13 views

Use serialized model without installing dependencies

I prototyped an ML model consisting of preprocessing + multiple stacked regressors. I would like a colleague of mine to develop an API that will query the model. Is there any way to query the model (...
1
vote
1answer
28 views

what are the next step after ML prediction and how to proceed?

I have trained an ML model with a good accuracy but what next? I am facing difficulty in answering this question, how will you present your model. Which framework do you use How do you make sure ...
0
votes
1answer
40 views

What is the best way of combining audio and visual data to make predictions?

I am trying to predict the probability of a disease by using audio and images, the audio and the images do not come from the same source. I am thinking of combining the outputs (maybe average them) of ...
0
votes
0answers
11 views

i am trying to one hot the inputs for the encoder and decoder layers in lstm? is this logical?

the follwoing code is a generator I am using to pass the training, for this generator i am passing questions and answers. the first 200 Q and A I am reserving for testing. The relevant part of the ...
1
vote
0answers
13 views

How do you evaluate a predictive model that is deployed in production that is suppose to prevent certain scenerio?

Let's consider I trained a model that gives the probability if an apple will rot and deployed it. Once it's deployed, how can I measure/evaluate its performance. At first I thought, we can just check ...
-1
votes
1answer
31 views

Help for formula for regularized logistic regression?

Can someone help me write the cost function for logistic regression in octave.These are the variables I used... ...
3
votes
2answers
38 views

Which model is better for incremental learning?

I'm trying to implement face recognition. I'm planning to use some model (like DeepFace) to extract discriminative features and then use a classifier to recognize the faces. I'm confused as to which ...
0
votes
0answers
20 views

What ML model should I use for matching 3 datasets on a selection of common columns?

I am looking for suggestions on which model might be appropriate for my case. I have 3 tables that I need to match. Column names don't match but I can modify them. Fields ... do match to some ...
0
votes
0answers
14 views

Building the right prediction process with machine learning

I am working on a two-class classification model to predict if some lead becomes a sale. At this moment I have all leads try to predict these ones, which are sales. I become good metrics right now ...
0
votes
0answers
121 views

AxisError: axis 1 is out of bounds for array of dimension 1

I've used svm classifier. Now I need to construct the confusion matrix. Here is the code that I have used. ...
0
votes
0answers
17 views

Learning curve and Lambda curve doubt!

Please tell me if my understanding is right or not! I am stuck on this for long! First, Let's consider Linear regression. Now, For this we define a cost function without regularization. After ...
0
votes
1answer
28 views

How to choose the best algorithm

this might be simple but I need to know how to choose a best algorithm based on a scenario. I have a dataset. The target class is, let's say color, this ...
0
votes
1answer
20 views

Regression and Machine learning models for panel data

I have a panel data which consists of the sales of different companies across different years. Can someone tell me what kinds of regressiona and ML methods we use for forecasting the sales? Thanks
1
vote
2answers
42 views

Decision Tree gives 100% accuracy - what am I doing wrong?

My assumption is that my training set includes the test set, but I don't know how to change this. ...
0
votes
2answers
16 views

Identify same product

I am new to ML and still learning it. My problem is to identify duplicate products. I have a dataset containing product details such as name, colour, size, description, features etc (there are ...
0
votes
1answer
21 views

Finding gender affinity for businesses

What are the different models I can use to find the gender affinity of businesses using yelp dataset-- https://www.kaggle.com/yelp-dataset/yelp-dataset . I need to find Probablity (Male buying from a ...

1
2 3 4 5
9