Questions tagged [machine-learning-model]

A machine learning model is a simplified representation of a dataset, derived from statistics in the data, used to make predictions. It can represent patterns, behaviours or features within this dataset which have been learnt by the algorithm during training.

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

Machine learning model using keywords for binary decision

I have a some experience from Uni with convolutional NN and edge detection, but haven't much explored the other types of machine learning models. I was wondering if there might be one that is suited ...
Daniel Pavlovsky's user avatar
1 vote
0 answers
48 views

Machine learning model for determining whether a transaction is cheap, fair, or expensive,

I am currently working on a final project related to data science and would like some advice. I have a second hand bike selling data set that consists of around 100,000 observations with the ...
ruka's user avatar
  • 11
1 vote
1 answer
165 views

In Incremental Learning will the model be updated automatically?

I came across Incremental Learning algorithms paper, where incremental algorithms are compared. I have problem with general understanding. Will the model be updated /adapts itself automatically when ...
priya's user avatar
  • 111
0 votes
1 answer
131 views

Reordering feature and its impact

How does reordering the features impact model training and its performance? Per my understanding, it should not impact the model performance as weights get tuned according to feature value and not ...
vipin bansal's user avatar
  • 1,252
3 votes
0 answers
163 views

Dynamic pricing models in freight transportation (logistics) business

I'm not sure this could be an appropriate question for here. I'm a newbie in the field of data science. I'm looking for keywords which can guide me to search the results to implement what I want to ...
Hosang Jeon's user avatar
5 votes
1 answer
6k views

Creating a Object Detection model from scratch using Keras

I have a dataset containing 330 images which contain guns. Along with the images, I have a text file associated with each image file which contains, The number of objects ( guns ) in the image. ...
Shubham Panchal's user avatar
2 votes
1 answer
304 views

What's a classifier capable of predicting a variable number of classes

I want to solve what I understand as a classification problem regarding tagging. Let's say an Entity can have 0 or more tags and I want to be able to predict which tags (if any) an entity might get I ...
Quentin Sommer's user avatar
0 votes
1 answer
58 views

Why does the same algorithm give very different metrics on similar datasets?

I used Random Forest and hypertuned the parameters for a binary classification problem on a dataset (dataset A). I got a F1 score of 0.78. I then used a second dataset (dataset B). It was very similar ...
data_analyst's user avatar
0 votes
1 answer
2k views

How to find optimal number of trees in random forest using Grid search in R?

From below code, I am getting optimal number of mtry. What is this mtry ? and How should I find the optimal number of tree that to be assigned to Random forest algorithm so that it will give High ...
Ankit Rathi's user avatar
8 votes
2 answers
16k views

How to Use Shap Kernal Explainer with Pipeline models?

I have a pandas DataFrame X. I would like to find the prediction explanation of a a particular model. My model is given below: ...
Nayana Madhu's user avatar
0 votes
0 answers
428 views

Custom keras metric error

I'm trying to create a new metric for my model and this is my function ...
Alwyn's user avatar
  • 9
1 vote
1 answer
299 views

For binary classification, which is best Random Forest or Neural networks?

I had to perform a binary classification, and from the beginning I started thinking about using the Random Forest classifier. But now I'm thinking, if using a neural network would've not been better. ...
Dimi's user avatar
  • 223
1 vote
1 answer
10k views

R - newdata has X rows but variables have X rows

I have a dataset dimensions 1142obs in 454 variables. I've used 'caret' to separate into training and testing datasets. training =858 obs of 99 var testing =284obs of 99 var I make a linear ...
user74691's user avatar
1 vote
2 answers
312 views

ML model deployment architecture?

I came from a software development background and we have separate servers of the same database (dev, test, prod). The reason for this is because we develop our apps against the dev DB, run tests ...
TheSugoiBoi's user avatar
0 votes
1 answer
2k views

How to combine different kernels for Gaussian process in GPyTorch?

I am trying to learn gaussian process by using GPyTorch to fit a Gaussian Process Regression model. However, I can't figure out ...
user62198's user avatar
  • 1,091
1 vote
2 answers
5k views

difference betwen predicting seen and unseen data

I tried to test my model with seen and unseen data (seen data are data that i used to learn the model). I figure out that as much as i increase the number of features seen data can be properly ...
Born New's user avatar
1 vote
0 answers
90 views

What is divergence exactly in machine learning?

I know about KL divergence, JS Divergence and clearly know that it is different from the divergence in calculus. I have an intutive feeling of divergence as it roughly compares the closeness of two ...
Anshul Yadav's user avatar
0 votes
1 answer
45 views

Experiment click to lead prediction with Azure ML

I am experimenting now with the Azure ML Studio and I am trying to predict leads based on the clicks I have. I am exporting a data set of 60.000 Clicks and 8.000 Leads from these clicks. My data ...
Mutatos's user avatar
  • 181
2 votes
1 answer
322 views

Best way to classify plots which are overlapping?

I have an experiment in which it was done under two conditions. For each condition, the experiment was performed 26 times. The output of the experiment is a plot with 70 time indices. I would like to ...
HaneenSu's user avatar
1 vote
1 answer
129 views

How to import trained keras models

I have some trained models that I could import and compare, but then the same code gave: ...
Andy's user avatar
  • 21
2 votes
1 answer
61 views

Help with approaching this problem correctly

newbie here trying to figure this out: I have a dataset which looks like: ...
AbdurRehman Khan's user avatar
0 votes
2 answers
198 views

Dealing with the test set of imbalanced data

I am working on a problem dealing with unbalanced data that has a very specific request. I would like to know the following: When I have an imbalanced dataset and I do train test split, the test ...
tsumaranaina's user avatar
3 votes
1 answer
101 views

Model comparison with CV using standard error

Discovering the ML world with sklearn, I'm testing a large panel of models onto my dataset. This is for learning purpose but also for work so I want the final model ...
Dan Chaltiel's user avatar
2 votes
1 answer
422 views

Deciding on the number of components in PCA

I have been running my model several times now. Each time i get different results based on what number i put in my PCA component number range (I used raw numbers in the code instead of the range ...
tsumaranaina's user avatar
1 vote
1 answer
81 views

Anomaly Detection System

I need a sanity check. I want to create an anomaly detection system. The logic which I am planning to use is the following: Find anomalies in the past using Seasonal Hybrid Extreme Studentized ...
Angelos's user avatar
  • 13
1 vote
3 answers
213 views

How to encode a job description for machine learning

I'm working on a sample project and one of the features is the job description of a person (categorical, for example: blue-collar, retired, unknown, unemployed, student, etc.). Since in the future ...
shulito's user avatar
  • 111
1 vote
2 answers
102 views

Random Forest Techniques/Models

Can anyone tell about different Techniques/algorithms of Random forest? I know, Random Forest is itself an algorithm/model, but I'm looking for another version of it as we have in decision trees. List ...
Felix Tenn's user avatar
3 votes
1 answer
4k views

How does keras train without disrupting the data set order

I want to train a neural network using keras. model.fit(trainX, trainY, batch_size=400, epochs=1000,shuffle=False) I want the model training using the sequence ...
hellozq's user avatar
  • 31
0 votes
0 answers
24 views

Accuracy doesn't increase in Binary Classification with 3D coordinates as data

I have 4000 catalogues of galaxies, in each there are 34700 objects, for each of it I have x,y,z coordinates. I want to do a binary classification creating a model which should be able to determine ...
Niccolò Veronesi's user avatar
2 votes
3 answers
2k views

Predicting yearly income with linear regression using Python

How to predict the per capita income of Pakistan in 2020 by using linear regression model in Python. The training data is: ...
Shamoon Ahmad's user avatar
3 votes
2 answers
187 views

Approaching a multi-class classification problem but without labels

I am working on a business problem where I have a movie description dataset. In this dataset I've columns as - Movie title, Movie plot summary, Date of Release. Now based on this information and using ...
Pankaj's user avatar
  • 31
0 votes
1 answer
139 views

Continuously training one model with different dimensions each time

I'm trying to solve a problem where I need to train one model with N dimensions and again train on top of that model with M dimensions. How can I achieve it? To give you guys some context, I have 1 ...
Shreyas S's user avatar
0 votes
1 answer
481 views

No target variable in my data

I have a list of transactions of bus route from place to place, I don't have any target variable here. I was asked to give meaningful insights from the data, what can I do here? I cleaned the data, ...
Pardhu's user avatar
  • 21
1 vote
1 answer
2k views

Improving accuracy on highly imbalanced dataset

I need some suggestions to improve my model accuracy. The training data shape is : (166573, 14) It has all int and float columns. I have dropped claims_daysaway column as most of values are NaN and ...
Praveenks's user avatar
  • 151
1 vote
1 answer
256 views

What is a basic object detection/localization ML algorithm that can be used for my relatively simple image set?

I have a relatively simple object localization task. I have an image set that are either uniform or contain an 'object' consisting of a black circular shape at some position in the image. The labels ...
Katelyn's user avatar
  • 11
2 votes
1 answer
69 views

Estimating location in a model

I have a big dataset with 10 columns and about a 100,000 rows. Each 5 rows represent a person being tracked and the data related to this tracking such as time, velocity, etc. the last two columns are ...
principe's user avatar
1 vote
1 answer
764 views

Machine learning model to predict the best candidate

Problem: I would like to build a machine learning model that can predict the best candidate from any given set. What could be a good architecture for such a model? Given: I have several training ...
mak's user avatar
  • 13
2 votes
1 answer
241 views

Training data : forecasted or actual?

I am working on a time series prediction problem. I am using keras models for machine learning. For this prediction, weather variables are used as input. They can be of two types: forecasted and ...
Osama Dar's user avatar
  • 589
1 vote
1 answer
2k views

Error: ValueError('%r cannot be used to seed a numpy.random.RandomState')

I am getting this error message while trying to fit a model for the isolationForest algorithm. ...
Rahul's user avatar
  • 11
1 vote
1 answer
166 views

When does fitting happen in KNN?

In training session, model fitting happens to reduce error. But does KNN do this? Reducing error only happens due to changing K value and number of features, isn't it? So training set and test set ...
Jinwoo Lee's user avatar
1 vote
1 answer
130 views

Is there a model that can adapt to additional new training data with different columns?

My training data comes in batches. Sometimes, new batches (completely new samples) come with new columns that are not in old batches, or they may be missing some of the old columns. For example, ...
kakarukeys's user avatar
1 vote
2 answers
4k views

Is it always better to using stacked LSTM than single LSTM?

I am currently studying LSTM and RNNs. I came across several concepts like Multidimensional LSTM and Stacked LSTM. I have used Stacked LSTM and it gives me a better performance than single LSTM. As ...
DukeLover's user avatar
  • 561
1 vote
0 answers
80 views

Hi..Can anyone help me resolve the error with following piece of code below? [closed]

...
Vibhor Srivastava's user avatar
1 vote
2 answers
2k views

Low accuracy in multi-class classification despite all data being generated from rules

I have a well defined data where i have cleaned up my data to final form which has 20 features mapping to a number between 1 to 100. Upto 5 features are enabled(value set to 1) for each row. The data ...
Sachin Hegde's user avatar
2 votes
1 answer
100 views

Can I forecast with discontinued data using ARIMA?

I have data for sales on monthly basis, but a few months' information is not in the CSV file or data file. Can I forecast or fill that missing month with other calculated values from present records? ...
Bipul's user avatar
  • 201
2 votes
2 answers
954 views

How important is the input data for a ML model?

Last 4-6 weeks, I have been learning and working for the first time on ML. Reading blogs, articles, documentations, etc. and practising. Have asked lot of questions here on Stack Overflow as well. ...
ranit.b's user avatar
  • 451
1 vote
1 answer
330 views

What models do Create ML and Turi Create use

I'm taking a course on Apple's machine learning technologies. I just came across this paragraph: Turi Create and Create ML are task-specific, rather than model-specific. This means that you ...
Martin Muldoon's user avatar
1 vote
1 answer
98 views

What are some possible reasons that your multiclass classifier is classifying alll the classes in a single class?

I have unbalanced classes. Group1 N = 140 Group2 N = 35 Group3 N = 30 I ran the code on this data and all the Groups got classified as Group1. I thought that since group1 is the majority group this ...
tsumaranaina's user avatar
0 votes
1 answer
6k views

Keras exception: Error when checking input: expected dense_input to have shape (2,) but got array with shape (1,)

I have an understanding of this error, it means that the input that I'm passing to the model is of a different dimension that what was expected. The error also states that the input that I'm passing ...
Rohit Nair's user avatar
0 votes
2 answers
830 views

What is purpose of partial derivatives in loss calculation (linear regression)?

I am studying ML and data science stuff from scratch. As a part of the course, I am studying how the models are derived. And for most of them, starting with the simplest - linear regression, we take ...
aB9's user avatar
  • 101