What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Questions tagged [data-science-model]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

How to make an AI model that shows sort of similar-looking images from the dataset to the new image being input by the user?

I want to create an AI system for an e-commerce website where a user gets to input image and the system suggests top ten similar-looking items available on the website. Can you give me the guidelines ...
1
vote
0answers
10 views

Are there different types of confidence values?

Query related to apriori association in ML. I am learning apriori association from a teacher. I have a simple dataset of five transactions as follows. T1: {Milk, bread} T2: {Milk, bread} T3: {Milk, ...
0
votes
0answers
20 views

What algorithmic solution would you use for this scenario?

The Project In a Nutshell Use an algorithmic solution to predict with 70%+ accuracy in as close to real-time as possible the increase and decrease of at least three numeric incremental movements for a ...
0
votes
1answer
147 views

Feature Engineering in Multi-class Classification

I am working on a 3 class classification problem. I am curious on what is the best way to bin continuous variables for this problem. When I worked previously on 2 class problems, for examples sale ...
1
vote
3answers
47 views

Riskscore creation on Numerical Data

I am working to create a Risk score on a data where I have variables - Invested_amount, Profit Amount, Age of Account in days, Total Trading Transactions,Profit per Transaction & Investment per ...
2
votes
2answers
130 views

Predicting missing data. Looking for good data predicting technique

I am analysing data for Countries Trade GDP. Some of the countries have missing GDP value for given a year. However, I have Grand Total for the entire region for that year. Is there a good data ...
-1
votes
1answer
25 views

DataFrame object has no attribute to_frame [closed]

Hi I'm try to figure this code out? and getting this error: the code supposed look like this I got the code from this website.
0
votes
2answers
43 views

Neural network is not giving the expected output after training in Python

My neural network is not giving the expected output after training in Python. Is there any error in the code? Is there any way to reduce the mean squared error (MSE)? I tried to train (Run the ...
0
votes
1answer
36 views

Whether to replace NaN values in result column

I have a training dataset where we have to predict "Result" based on features "A", "B", "C" and "D" using machine learning. For a few rows, the "...
-2
votes
1answer
60 views

Which machine learning model to choose? [closed]

I am a beginner in data science. I am facing the problem of choosing the most appropriate algorithm for my specific problem. I am building a recommendation system that gives students insight into ...
0
votes
0answers
27 views

Receiving the ValueError: Expected 2D array, got 1D array instead

I'm trying to use LSTM for time series forecasting but l keep receiving the value error: expected 2D array, got 1D array instead. Can anyone help me figure out what's missing, here is my code: ...
0
votes
3answers
30 views

how to use predictions on a single value?

I am comfortable using Machine learning on my train data and test data and validate it. But the question here is if I want to predict a single variable how do I do it? Let's suppose I have done ...
0
votes
0answers
14 views

Error in predictions using glmnet() function in R

I've got a problem with my code, whilst making predictions using glmnet() Here is my code plus an error which occurs: ...
0
votes
1answer
32 views

How can a ML algorithm learn to classify fake news? [duplicate]

I am new in Machine learning techniques and in fake news detection by using these algorithms (SVM, nn, logistic regression,..). I would like to understand how an algorithm can learn from a training ...
1
vote
1answer
34 views

How to apply multiple filter in Data Frame? [closed]

How to implement multiple filters for checking data cell in a range ? Suppose, I have a list of numbers like, ...
2
votes
3answers
35 views

Combining Two CSV's in Jupyter Notebook

I want to combine both CSV files based on Column1, also when combined each element of Column1 of both csv should match and also each row or Please suggest how to reorder Column1 according to another ...
2
votes
3answers
5k views

How to convert model.h5 to model.pb?

I wrote in google-collab to get the model using keras, but I have to do predictions in Visual Studio using tensorflow I've search for a method converting models from keras .h5 to tensorflow .pb, but ...
0
votes
2answers
227 views

error while running lasso.py

The following is the error code generated while running lasso.py. Can anybody help in fixing the same. Here is the code: ...
1
vote
1answer
21 views

Why gaussian assumption in GMM-HMM ASR?

I am reading a book entitled Speech and Language Processing by Daniel Jurafsky and James. For Acoustic vector, I would like to know why Gaussian assumption is made? I searched over the internet and ...
1
vote
1answer
32 views

How to use weights from our data set properly? Should we use them at all?

The census data set I'm using: https://archive.ics.uci.edu/ml/datasets/Adult So, I'm currently using this census data to make observations and predict whether someone is married or not. However, when ...
1
vote
1answer
17 views

How to handle fixed values for variables in pre-processing

I have a dataset which contains few variables whose values do not change. Some of the variables are non-numeric (for example all values for that variable contain the value 5) and few variables are ...
1
vote
2answers
551 views

What is the difference between a data-driven model and an empirical model?

Are they the same? Empirical models, per Wikipedia, are any kind of (computer) modelling based on empirical observations rather than on mathematically describable relationships of the system ...
1
vote
2answers
95 views
1
vote
2answers
31 views

What is the purpose of the 'train model' step in data mining?

My understanding is that training a model is something done in machine learning using training data so that the model can predict values when new data is given to it. Data mining is the process to ...
0
votes
1answer
14 views

How to run two different models in single frame?

I have mask_detector.model and yolov3 social distancing weights. I want to run them simultaneously with a single webcam stream. how can I run them both i.e. detecting mask and social distancing model ...
0
votes
2answers
214 views

How to reduce the Root mean square error

I have dataset which describe "how many passenger arriving in some airport " and I would like to predict how many passenger arriving in monthly bases for next year. The features that I have is the ...
2
votes
1answer
21 views

How do I deploy a model when using Stratified K fold?

I have used Stratified K fold for learning the model . Below is the python code: ...
0
votes
0answers
16 views

How to validate the model when using Smote technique? [duplicate]

I am using Smote to treat Class Imbalance and I apply Smote only on the train data. I fit a model using balanced data("Smoted" data). Now I need to check recall and precision for train and ...
0
votes
0answers
18 views

Should the column be kept from which range column was extracted?

I'm creating a Neural Network model to predict the price range of laptop. Input would be the configurations of that laptop. But the price range column was created from the price column. If I keep the ...
0
votes
1answer
31 views

Finding the worst affected industry due to COVID in terms of unemployment

My goal is to find the worst affected industries from COVID—19 in terms unemployment. In terms of the data I will use for this task, I have a time series county-wise unemployment rate data of each ...
0
votes
2answers
136 views

huge doubt on anomaly detection

from the naked eye itself, we can tell in the region 5161 the network usage is high so that is the anomaly in my case, then why do we want to apply k-means and other machine learning algorithms to ...
1
vote
0answers
26 views

Advantages and disadvantages of using softmax/sigmoid and categorical_crossentropy/binary crossentropy for a binary classification with a CNN

I'm doing a deep learning model using tensorflow and keras. I have a question about the output architecture. I want to classify between two classes, images with defects and images without defects, I'...
1
vote
0answers
16 views

How to calculate cov(e|X) in Generalised linear regression?

This image taken from wiki https://en.wikipedia.org/wiki/Generalized_least_squares. I am not able to calculate Cov(e|X)? Can someone tell me that.And also give me dimesion of cov(E|X)= sigma^2 * rho
0
votes
2answers
79 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 ...
0
votes
1answer
53 views

Machine Learning classification problem

I'm trying to do this classification problem, depicted in the following Figure. The task is to separate the blue elements from the red elements in a cartesian (x,y) coordinate system. I have to: ● ...
0
votes
0answers
29 views

How to compare 2 datasets with machine learning

I have multiple datasets from different sources (multiple cities) but with the same parameters and one output that I want to classify. Each dataset has different number of datapoints (thousands). I am ...
0
votes
2answers
97 views

Effect of skewness in data

I am preparing classification model. Many of numeric variables are positives skewed. Should I change a distribution of variables to be more Gaussian?
1
vote
0answers
30 views

Find periodicity of a signal using python

I have a dataset that contains occurrences of the Kettle in a single-occupancy house for the duration of a month. In this dataset, ‘ts’ column indicates the unix-timestamp (this can be converted to ...
2
votes
2answers
104 views

what is Tensorflow Quantum(TFQ)?

Google announced a new open-source library called TensorFlow Quantum(TFQ) so I am curious to know about Tensorflow quantum. what is TensorFlow Quantum? How it is useful with an existing TensorFlow ...
0
votes
2answers
17 views

When combined correlation of features decreases

I'm building a machine learning model in Python to predict soccer player values. I'm trying to predict a "player_value" column containing the value of a specific player. Consider a sample of ...
3
votes
1answer
41 views

How to build a unbiased predictive ML model when the record of the event is less compared to the total number of records?

I am trying to build a model that will predict the communication loss of a wireless device. For now I am using RandomForestClassifier along with Device and Location as the features. I am getting both ...
1
vote
1answer
14 views

From analysing their previos transactions how can I predict for what type of product is the customer more likely to take take an EMI

So basically I need a kind of product/ category affinity for EMI for all customers eg - Customer A is more likely to take an EMI on her insurance premium. One approach I had thought was to broadly ...
-1
votes
3answers
56 views

Is it a good practice to evaluate a model on the training set

Is it a good practice to evaluate a model on the training set (i.e. train a model on training set and evaluate the regression error/accuracy on the same training set) and compare the evaluation result ...
1
vote
1answer
49 views

How to speed up passing of images to a GPU

I am using Ubuntu 16.04 LTS installed on a 4TB HDD. I am working with a large dataset (more than 30 GB and 150,000 images). I have a single 11GB GTX 1080 Ti GPU card on my system. I am training a mask ...
0
votes
1answer
29 views

How should I choose n_features in FeatureHasher in sklearn?

How should I choose n_features in FeatureHasher in sklearn ? assume that I have 1000 categories in feature "case" and I want to hash them
3
votes
3answers
244 views

How to insert two features in a model when a feature only applies to a certain group in the model

I'm building a machine learning model in Python to predict soccer player values. Consider the following feature columns of the dataframe: ...
0
votes
2answers
88 views

ML, Statistics and Mathematics

I have just started getting my hands wet in ML and every time I try delving deeper into the concepts/code, I face the challenges of the mathematics and its cryptic notations. Coming from a Computer ...
0
votes
0answers
22 views

Is there a certain threshold over which to accept or reject predictors based on correlation values with the target variable?

I have been working on the Titanic dataset. After some feature manipulation, I printed out the correlation values between my target variable Survived and all the ...
0
votes
0answers
11 views

Getting error while performing late fusion of audio and video feature vectors. Please help me resolve this

I am trying to build Multimodal emotion classifier for which I have created CNN based Audio and Video models separately. Below are the implemented CNNs: ...
1
vote
0answers
29 views

What kinds of math do I need to know to construct graph that preserve its directed simplicies at each time step? [closed]

First of all Thank you for taking your time to answer my questions. Disclaimer: I am no where near expert. I am just an undergrad student who is planning to get PhD in Deep Learning. I have been ...

1
2 3 4 5
8