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
0 answers
26 views

How to predict what someone will order?

Suppose Prof. X goes to a road side tea-coffee shop everyday at 5pm just after his office. After reaching there he tosses a coin, and places his order tea or coffee. The shop owner Y has been ...
Alok Maity's user avatar
0 votes
0 answers
6 views

SMOTE-Tomek links with imbalanced dataset

I have a question: if I want to use SMOTE-Tomek links for my imbalanced dataset, should I now apply the method before or after the split?
Hind's user avatar
  • 1
4 votes
2 answers
229 views

Modeling uncertainty from known physics

I have an equation given by: $$ \frac{\mathrm{d} s}{\mathrm{d} t}=4a−2s+\lambda(s) $$ where, $a$ is an input constant and $\lambda$ is a non-linear term that depends on $s$. I know that the true ...
nop nop's user avatar
  • 41
1 vote
1 answer
26 views

What process actually takes place during audio feedback suppression machine learning

After training a neural network (NN) to tell the difference between a clean audio signal and a signal with a specific "noise", what is the mechanics that actually takes place where an unseen ...
Joe's user avatar
  • 147
0 votes
1 answer
16 views

What is a better way of loading a model in Flask service hosted with IIS

I have a ML model (trained in Sklearn) and based on it I have created a Flask web service and hosted it on Windows IIS server. What is the best practice to load the model? Shall I load the model when ...
Sociopath's user avatar
  • 1,203
0 votes
0 answers
10 views

Preparing LSTM Network input from multiple files

I would like to train LSTM Network, which should take 5 files as input and predict the 6th file. Each file contains 810000 data points (precipitation values), and each data point indices the location. ...
karnati shiva's user avatar
0 votes
1 answer
21 views

How complex can I make a classifier's loss function in Scikit-Learn?

I want to customize the loss vanilla loss function being used by scikit-learn classifiers like the Logistic Regression classifier, etc. For example, if the vanilla empirical risk minimization ...
Inferno Dynast's user avatar
0 votes
0 answers
9 views

Interpreting the pre-processing information of a the ridge regression

I have a dataframe of 39,600 records and 13 columns (12 of which are the predictors. 3 of the 12 are factor variables, the rest are numeric). The response variable ...
Nemo's user avatar
  • 101
0 votes
0 answers
9 views

Hidden Markov Model is not accurate with me

I am new to Speech Recognition and want to implement a simple words classifier that predicts the spoken word is one of the 100 words I have in my system. So I have a dataset of audios with every ...
Muhammad Ibrahim's user avatar
0 votes
1 answer
22 views

Flow of machine learning model including code

I'm towards the completion of my first data science project that will go into my GitHub portfolio. I'll be happy for some clarification regarding the machine learning models section: I got a little ...
Sigal Cohen's user avatar
0 votes
2 answers
32 views

Is it possible to overfit a simple single variable linear regression model?

I searched this question and the answer I got was about a general regression model, rather than a single variable, linear regression model. If you increase the number of variables, you could fit a ...
Dietzsche Nostoevsky's user avatar
0 votes
0 answers
13 views

How to make a prediction if training time series have different lengths?

Description: I have 100 products. For each item I have the number of hours it has been used for each quarter of multiple years. Item 2020_Q1 2020_Q2 2020_Q3 2020_Q4 2021_Q1 2021_Q2 2021_Q3 2021_Q4 ...
Federico Gentile's user avatar
0 votes
1 answer
72 views

Clarifying some unclear Areas of model training, python, Machine Learning

The Problem I'm learning ML these days. I'm training a dataset with 10,000+ samples with 20+ features, the model I picked to train was "Logistic Regression", I have some problems in my mind, ...
OctoCat's user avatar
0 votes
0 answers
9 views

why performance values for passive aggressive model changing every time?

i havq question, that am a little confused about PassiveAggressive performance values after i fitted tf-idf vectorization on it(bigram and trigram), the values are changed every time i run the code ...
joj abd's user avatar
0 votes
0 answers
24 views

Getting a dimension mismatch when training dataset on openAI CLIP

Here's the code I've written: ...
Manan Uppadhyay's user avatar
0 votes
1 answer
29 views

How to reduce the false positives to improve the models performance?

I am currently building a binary classification model to predict order return rates. I used the GradientBoostingClassifier for training the model and also performed hyperparameter tuning using ...
Kedharnath Kb's user avatar
1 vote
1 answer
30 views

Can we create tensorflow or tflite model for object detection without uploading our dataset images to cloud?

I need to create a custom Tensor flow lite model for object detection to integrate in an android app. But I have a constraint that the dataset images to be used is confidential and cant be uploaded ...
Roohi Zuwairiyah's user avatar
0 votes
0 answers
12 views

how can i store independent multiple time series datasets with same features in a matrix for training a model at once?

I have independent multiple time series datasets with same features. They are drilling proccesses in bone. Each dataset is a measurement. Is there a way to store all the datasets into a Matrix or ...
heyoka955's user avatar
0 votes
0 answers
8 views

How do you know which examples of data are the most accurate classified using Self Organizing Map?

Here is an example of data where I apply the SOM general rule: If distance1 > distance2 than class C1 else class C2 ; So in this example I use a self organizing map which clusters only two classes ...
darieem's user avatar
0 votes
0 answers
20 views

How do you know which is the closest class example(observation) to a particular class in Self Organizing Map?

For example there are two classes C1 and C2, distance1 and distance2, The rule tells which class is: If distance1 > distance2 than class C1 (Node1) else class C2 (Node2) Here are some data examples:...
darieem's user avatar
0 votes
0 answers
7 views

Best ML Model for Embedded to detect anamoly over the time utilizing Accelerometer data (x, y, z)

I am trying to design a product related to predictive maintenance for the motor pump, where I need to utilize the accelerometer data to detect any upcoming anomaly in the future through Machine ...
Upanshu Srivastava's user avatar
0 votes
0 answers
12 views

Modeling time series with events data for ML

We have a business that provides analytics for institutional traders. The data we provide is in the form of events (various market dynamics have changed, etc), temporal zones that describe specific ...
Thomas's user avatar
  • 101
0 votes
0 answers
37 views

Existence of a "three-point" machine learning model?

I may want to ask if there are studies that exist which utilize a "three-point machine learning model. What I mean by "three-point machine learning model is that it may use several ...
Ralph Henry's user avatar
1 vote
0 answers
12 views

NLP: Infer intent of finalising a transaction in a dialogue/chat system

I have been tasked with tacking the following problem and I wanted to ask for different approaches on how to best approach it. Problem I am looking to infer the intent of finalising the transaction ...
Andros's user avatar
  • 11
4 votes
3 answers
284 views

What techniques are used to analyze data drift?

I've created a model that has recently started suffering from drift. I believe the drift is due to changes in the dataset but I don't know how to show that quantitatively. What techniques are ...
Connor's user avatar
  • 557
0 votes
1 answer
51 views

Decision boundary of an neural network

Starting with a). For the first unit: 0 * x1 + 1 * x2 + 1 > 0 (0, because the threshold is 0) which is the same as x2+1 > 0. For the second unit: x1 * 1 + x2 * 0 + 1 > 0 (0, because the ...
kim120's user avatar
  • 11
0 votes
0 answers
21 views

Reporting and/or evaluation of metrics in deep learning

While I was trying to write a custom training script, I encountered the following doubt. I see that the loss is evaluated at the end of every forward pass (i.e., a step or with a particular batch of ...
Rajesh Nakka's user avatar
0 votes
0 answers
13 views

What is the best way to whittle down rendundant categorical data?

I'm trying to build a linear regression model in Tensorflow (and preprocessing with pandas) that will help me categorize bank transactions. I'm trying to whittle down the vendor parameter, because the ...
Ethan Leyden's user avatar
0 votes
0 answers
9 views

Derivative of a KernelRidge regression model based on Coulomb Matrix descriptor

I am trying to take analytical derivatives of a KernelRidge regression model that takes as input a Coulomb Matrix descriptor. A Coulomb Matrix is a way of representing a molecular structure basically ...
Leo's user avatar
  • 1
0 votes
1 answer
74 views

How do you retrain a model as new data comes in?

I'm just curious about real ML projects on production. I was wondering what is the way to go to retrain your models when you get new data? for example, let's suppose you've built a model with 2023 ...
Dani's user avatar
  • 113
0 votes
1 answer
12 views

CWRU Bearing fault

I am new to ML. I have been asked to use a pre-trained GRU model for detecting a bearing fault in CWRU. is pre-trained model another name for transfer learned model?
Asma Shah's user avatar
0 votes
1 answer
24 views

Machine learning / statistical model of a deterministic process: how large must my training set be to ensure almost perfect accuracy?

This may be a silly question, but if I got a deterministic process, for instance, a function (in the mathematical sense) that happens to be computationally expensive to evaluate, and I decided to ...
Koto's user avatar
  • 103
0 votes
0 answers
20 views

Does order matter in this causal language model?

Say you've implemented a causal language model like so: ...
Manny's user avatar
  • 1
0 votes
0 answers
9 views

Which zero-shot models predict the contents of an image?

I'm looking for the class of machine learning models on Hugging Face where you provide an image and a list of options and it returns which of those options appear in the image for example I might ...
nickponline's user avatar
0 votes
1 answer
40 views

Is classification enough for this?

I have a DB with 2 tables connected with a one to many relationship. Let's say one of A is linked to many of B. The tables have both two fields for a date and some text. And both tables get new ...
denpal's user avatar
  • 1
0 votes
0 answers
78 views

Do we need to check the training score when we use randomizedsearchcv

given a model and a set of parameters, randomizedsearchCV(or gridsearchCV) gives the mean of the best scores from a list of different folds of the datasets. Does the model control for overfitting? I ...
Mehmet Deniz's user avatar
0 votes
0 answers
32 views

Given 20+ input numbers, predict 4-5 output numbers, using past data with the same 20+ inputs / 4-5 output for training

I'm a veteran Python software engineer, but very amateur at this stuff. I've used PyTorch for some NLP (sentiment and classification), and I've spent a bit of time attempting to learn data science, ...
orokusaki's user avatar
  • 101
0 votes
1 answer
59 views

Why is the accuracy on train dataset not always 100% while we use the same dataset to train the model?

Though tree-based ML algorithms give us 100% accuracy on train dataset many times, but why is this not happening every time. I know this results in overfitting but why not 100% accuracy every time on ...
Mystical_soul's user avatar
0 votes
1 answer
270 views

How can I convert a numpy array of tensors to tensor of tensors?

It is my first GRU model so pardon the stupidity. I am trying to learn by training a simple GRU network on variable length sequences. The sequences are numpy arrays of tensors. The length of numpy ...
Ayush Gupta's user avatar
0 votes
0 answers
31 views

Refining AI problem statement - suggestions

I am looking for some guidance. My company is a electronic goods manufacturing company. We work with multiple distributors (around 7 distributors) across specific regions to sell our products. But ...
The Great's user avatar
  • 2,507
1 vote
0 answers
121 views

ValueError: Found input variables with inconsistent numbers of samples: [120, 30]

I practice XGBClassifier() to predict the target in iris dataset. here is the code: ...
BADREDDINE BALAJ's user avatar
0 votes
0 answers
15 views

Which CNN model to use for the classification(20 classes) of gemstones (diamonds, sapphire, ruby etc) based on digital photo images and huge data set?

Im trying to build CNN Model for the classification of precious stones (like diamonds, sapphire, ruby) based on digital images. So I have data set of labeled 150,000 gemstone certifications and the ...
Bob9710's user avatar
  • 101
0 votes
0 answers
12 views

Loss function for model with two-outputs

I have created a model for this Kaggle competition that outputs a classification of the level of the disease (from 0 to 4) from an image of the retina. I now want to blend the predictions for both ...
Zan's user avatar
  • 113
0 votes
0 answers
33 views

How to do forecasting with categorical timeseries?

I have a dataset that is in the form of categorical timeseries: (specifically, we either know or don't know the values of 6 degrees of freedom of an object at any given time). If we know it, it's ...
Ash's user avatar
  • 101
3 votes
2 answers
281 views

is there a deep learning model that handle 47800+ classes for classification?

I am trying to build a text classifier with 47893 classes and 1.3 billion (1,302,687,947) data samples. What would be the best classifier to build with such kind of data? Each data label will contain ...
Raady's user avatar
  • 239
0 votes
0 answers
14 views

Machine learning with 2D data table and single outcome to model

I am new to machine learning and am trying to conceptualize how to effectively build a database of sports data for machine learning. I currently have a list of games and outcomes as well as separate ...
Kaleb's user avatar
  • 1
0 votes
1 answer
40 views

Do I need to use always the same "Test" dataset to compare between different models?

I have two datasources A and B, and I want to check how several methods can affect the accuracy of my multi class models: If I use cross-validation with validate dataset to obtain the best hyper ...
Just_4n0th3r_Pr0gr4mm3r's user avatar
0 votes
1 answer
128 views

Machine learning | Column names vs number when training/predicting

Been doing machine learning since a few months by now. I've a grounding questions that I couldn't answer by my self. It's possible I'm asking the wrong question: When training models, like XGBoost, ...
juanmac's user avatar
0 votes
1 answer
32 views

Predicting student exam outcome based upon study patterns

I have a few years of data now for HE students participation in their course(es) including exam results. If I just compare formative exam results with summative results there is good correlation, and ...
brianlmerritt's user avatar
1 vote
1 answer
43 views

Rule based vs predictive maintenance models

I have data for pumps which have one or more sensors to record the air pressure. Apart from the sensor_id and timestamp, with ...
SageMaker's user avatar
  • 185

1
2 3 4 5
17