Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [machine-learning-model]

The tag has no usage guidance.

0
votes
0answers
3 views

How to use boolean data to build DecisionTreeClassifier?

I was looking for solution on StackExchange, but I didn't find anything which matches my question. I am using this dataset: https://web.archive.org/web/20100704072013/http://lpis.csd.auth.gr/mlkd/...
1
vote
1answer
14 views

Recommender system for next carrer step

I want to build a recommender system that suggests the next step in your career. About the dataset. About 50'000 Users with following informations: Skills (tags, string value) every job they did (...
0
votes
0answers
5 views

Is there a consensus on which voting to use in VotingClassifier and why? Hard voting vs. Soft voting?

I get much better accuracy in soft voting (e.g. 0.5) vs hard voting (e.g. 0.8). Should i report both? or can i depend on one of them? Am i conservative if i chose hard voting? I do understand the ...
0
votes
1answer
17 views

Why does the votingClassifier in sklearn.ensemble gives higher accuracy than each of the classifiers that make it? and should i depend on it?

I am running an ML classifier on my data. I used SVM, RF and KNN. I used GScv for each of them and then used votingclassifier.The accuracy i got in each classifier independently was low, but from the ...
1
vote
1answer
17 views

Do I use actual data or data difference to train machine learning model?

I would like to predict tomorrows temperature :-). But I'm unsure of the best approach. Do I simply drop data from the last x days, or do I try do drop data from the last x days in difference? Last ...
0
votes
1answer
16 views

What're the differences between model accuracy and model generalization? [closed]

I googled but not found a good answer for it, if anyone can answer it, I appreciate.
0
votes
0answers
10 views

Using machine learning to classify pages on website based on HTML structure

I'm currently working on an audit of a site for a client. One of the problems we've run is that all the articles are in a CMS; but depending on the author, were authored with different methodology. ...
0
votes
0answers
11 views

EDA : Model decision making

I am working on this dataset. Completely new to the machine learning. It seems to be a time series data. 1) Can I go for regression or classification modelling for this dataset? The target id in ...
0
votes
0answers
20 views

Best regression model for dataset having all numerical features [closed]

My dataset contains 5 fields all of which are numerical==> longitude ,latitude,velocity,Heading angle, oncoming time. My target prediction value is acceleration(so basically is an infinite value set) ...
0
votes
1answer
22 views

How I can interpret the attached tree?

Is the total sample size = 30.891 and the overall percentage of “yes” = 11,3%? How I can describe the leaves predicting "yes" outcome in term of explicative variables and values? What are the ...
0
votes
1answer
10 views

Décision tree, How to see under/over fitting with just looking at the leafs?

My question is: how with just looking at the leafs of a decision tree could you tell if the model is under/over-fitting? Any sort of advice will be helpful.
0
votes
1answer
38 views

Why the VC dimension to this linear hypothesis equal to 3?

I am trying hard to understand this. Here is the scenario: X = R^2 H = { h(x) = x + 10 } I need to calculate the VC dimension for the above linear separator. ...
6
votes
6answers
80 views

Is it advisable to combine two dataset?

I have two datasets on heart rate of subjects that were recorded in two different places (two different continent to be exact). The two research experiments aimed to find the subjects' emotions based ...
0
votes
0answers
22 views

Unable to converge in my multi layer neural network while training on MNIST

I have been trying to implement neural network from scratch using numpy library only.... I have checked thoroughly and the net is able to converge in very simple dataset( 2d graph ) but I wanted to ...
0
votes
0answers
9 views

Open data sets and commercial usage [migrated]

If you train a machine learning model from publicly available (Open) data sets such as COCO or VOC (which have there own respective licenses), can you use that model for commercial purposes?
0
votes
1answer
26 views

Running multiple random forest and combining them

I am trying to build a random forest model in R (RStudio). My training dataset has around 2 million rows and 38 variables. When I tested 5000 rows from this dataset I was able to build the random ...
-1
votes
0answers
58 views

ValueError: could not convert string to float:DPC3941_3.0p12s1

I am using a huge dataset with only 8 features. 7 are categorical while only 1 is numeric. I dropped 4 categorical features, used get_dummies() to transform the ...
-2
votes
1answer
29 views

Which algorithms are the best choices for my binary classification problem? [closed]

Which algorithms are the best choices for my binary classification problem? I have approximately 200 K samples in the training set and 18 attributes, including binary, numeric and categorical. I ...
1
vote
1answer
11 views

How to decide optimal threshold for my classification model from FPR, TPR and threshold

I am building my model in Python to classify customer in buyer/ non-buyer category. I used mutiple agorithms for this problem and then after evaluation selecting the best out of all. sklearn package ...
1
vote
2answers
37 views

Why to/not to use Dropout on the input layer?

People generally avoid using Dropout at the I/p layer itself... But isn't it better to do it is my main question? My reasoning: Adding dropout (given that it's randomized it will probably end up ...
1
vote
0answers
20 views

one predictive methods

Is there any algorithm/method/system/application that combine all predictive methods into one? so for users instead of deciding which method they should use, is there any platform that you just feed ...
0
votes
1answer
20 views

Which ML algorithm to use if we have categorical data, numeric data, derived data (derived from) other variable in our data set? [closed]

I am a beginner in Data Science. I have a data set which contains numerical data, categorical data and derived data (derived from other columns). The target column (dependent) is binary. Which Machine ...
3
votes
1answer
25 views

How to chose a Machine Learning algorithm? [closed]

I was wondering, are their any guidelines or any rules of the thumb as to which algorithms perform best for each task? What I'm looking for is something along the lines of: NLP tasks are usually ...
1
vote
0answers
14 views

Multiple output from a model

i have dataset where input is userId and day and Output is project activity and hour, each day some users are reporting for two projects, two activities and 4 hour each,,and some users only report for ...
2
votes
1answer
27 views

Algortihm for making predictions from minimal data

I am working with classification problem. I have a dataset with a lot of features. A lot of them can easily determine class. On production, I want to ask the user to provide me with only part of the ...
2
votes
0answers
34 views

Making inferences from incomplete data

I have data which have complete information. Each record has one class assigned. On production, I won't be able to get so many information from a user, so I want to create a model which will be able ...
2
votes
1answer
22 views

On Inductive Bias

The first line of section 2.7.3 in Mitchell's Machine Learning is: "A Learner that makes no prior assumptions regarding the identity of the target concept has no rational basis for classifying any ...
1
vote
0answers
29 views

How to implement one vs rest classifier in a multiclass classification problem?

I have a dataset which contains 750 data points with 8 classes in the target variable. I tried implementing simple machine learning models and also did hyperparameter tuning but they results were not ...
3
votes
2answers
39 views

Is there a definitive and more conclusive way of interpreting the R^2 score from a linear regression model in terms of prediction accuracy?

I'm trying to find a definitive way to conclude the R^2 score from a prediction accuracy point of view rather than variance. How should I do it? Conceptually, most blogs / articles explain R^2 as: ...
5
votes
2answers
155 views

How Do Machine Learning Models Work and Remember? [closed]

I am new to machine learning. I am confused about how a machine learning model remembers what it learns. And how it learns. I know the basic workflow of machine learning: first is data gathering, ...
3
votes
2answers
21 views

Dummy variable for Categorical values

The question is in reference to solution of Titanic survival predictionat kaggle . As many have did the similar kind of feature extraction, They have converted some of the numerical features (Age, ...
0
votes
0answers
17 views

Time series with multiple attributes and multiple groups

I am working on this dataset UK Traffic Dataset. Here is my sample kernel : my kernel on UK traffic data This dataset consists of several groups and it has date and hour , as it is hourly time ...
0
votes
2answers
42 views

Newbie in ML - how to [closed]

We have a data set of n variables (profile attributes) and want to feed through a model, and classify into M buckets (functionally signifying some action to be performed) . Which MLmodel/ algorithm ...
0
votes
0answers
9 views

Visualize strengths and weaknesses of a sample

Let's say I'm trying to predict an apartment price. So, I have a lot of labeled data, where on each apartment I have features that could affect the price like: city street floor year built ...
0
votes
1answer
77 views

how to visualize InceptionV3 hidden layers

I am following google codelab: Tensorflow for poet to train my custom model. This google codelab use the Inception-V3 model for training. The inception-V3 model have 48 layer. My question is that ...
10
votes
4answers
2k views

Why does adding a dropout layer in Keras improve machine learning performance, given that dropout suppresses some neurons from the model?

If removing some neurons result in a better performing model, why not use a simpler neural network with fewer layers, fewer neurons in the first place? Why build a bigger, more complicated model in ...
1
vote
1answer
49 views

How to add noise to supervised (binary-classifier)?

Note: The question is not about validating/testing a trained model. Say i have an unlabeled features set, I want to approximate the true labels (for the sake of argument lets assume it's a binary ...
0
votes
0answers
32 views

Scorecard in R/Python, save in PMML format

Does anyone know how to build a Scorecard model in R/Python? and save it in PMML format? Is there any popular implementation in R/Python (or some other language)? Please feel free to respond even ...
0
votes
0answers
8 views

How to find correlation among multiple attributes in group by dataframe object?

I have a data frame with following attributes : CP - Counting point of vehicles A-Junction - Starting node of a road ...
1
vote
1answer
21 views

Linear regression, R²?

When I do a linear regression, R²: 0.90, but the estimates are not correct, why is this happening? (Deep Not : Adjusted R-squared: -0.3872)
2
votes
1answer
44 views

Python OneHotEncoder Using Many Dummy Variables or better practice?

I am building a neural network and am at the point of using OneHotEncoder on many independent(categorical) variables. I would like to know if I am approaching this properly with dummy variables or if ...
1
vote
0answers
9 views

While using TensorFlow, is there some way I can 'create' the input values on the fly?

I use MySQL, I have a table that has some data in each row. For a TensorFlow model I need a new table with the data from one of the first tables' rows plus its 2 previous rows. One solution would be ...
1
vote
1answer
36 views

Chi-square as evaluation metrics for nonlinear machine learning regression models

I am using machine learning models to predict an ordinal variable (values: 1,2,3,4, and 5) using 7 different features. I posed this as a regression problem, so the final outputs of a model are ...
0
votes
0answers
6 views

What is an example of an STDP general equation for a Spiking Neural Network?

I have been reading many articles on SNNs, and I understand the different instances of STDP such as locality, boundedness etc. But what is the general equation for such a model? For example ...
0
votes
0answers
88 views

Making 20 Day Ahead Predictions with RNN LSTM

I am trying to make predictions of Google Prices 20 days into the future, with one feature, based on RNN LSTM Model. My code is as follows: ...
4
votes
6answers
431 views

I got 100% accuracy on my test set,is there something wrong?

I got 100% accuracy on my test set when trained using decision tree algorithm.but only got 85% accuracy on random forest Is there something wrong with my model or is decision tree best suited for the ...
1
vote
1answer
27 views

can accuracy rise while precision and recall drop?

I am working on a model and running some experiments, I see that under some configurations, The accuracy rises while the recall and precision are much lower, what is the mathematical explanation? is ...
1
vote
1answer
30 views

How to show value of a classification model even though it doesn't get the desired performance?

I developed a classification model for a telecom client. Where we classify between Dual-sim and non-Dual-Sim clients. After many iteration the best precision we can get is 60%. The contract says that ...
0
votes
1answer
41 views

Need help on Time Series ARIMA Model

I'm working on forecasting daily volumes and have used time series model to check for data stationarity. However, I'm strugging at forecasting data with 90% accuracy. Right now variation is extremely ...
1
vote
0answers
23 views

How to train and validate a model continously which affects its own future data?

We are working with a online marketplace. Our problem is to predict whether certain products are profitable or not for our marketplace in near future(next one month horizon). For example: Consider 2 ...