Stack Exchange Network

Stack Exchange network consists of 175 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]

Methods and principles of building "computer systems that automatically improve with experience."

2
votes
0answers
11 views

Sequence to sequence LSTM is “slow” to observe changes. Can this be improved?

I have some multivariate time series, and I'm trying to teach an LSTM with simulated data what is good and what is bad, so the input is a timeseries with a label for every timestep, i.e. [1,1,1,1,1,1,...
1
vote
1answer
13 views

Doubt regarding the number of weights in 2 layer neural network

Considering a hypothetical scenario , where we have 10 input layers, and 5 output layers. How many weights are there in the neural network? If this is implemented in pytorch, the answer will be 50. ...
-1
votes
0answers
31 views

Machine learning [closed]

Please i am stuck using machine learning for find association between data just I have one column input vector and one output target i want to match the values from vector a to b (There is not ...
1
vote
0answers
13 views

Word2vec compact models

Tell me if there are any w2v models that do not require a dictionary. So, everything that I found in torchtext first wants to know the dictionary build_vocab. But if I have a huge body of text, I ...
1
vote
0answers
30 views

Stacking with missing predictions from models [on hold]

There are several models A, B, ..., Z. These models may not give a prediction for any of entities from id1, id2, id3, .., idn. What approaches will be more suitable for stacking in these situations? ...
0
votes
0answers
3 views

Building a minimal encoding of nominal labels from numerical features

I have a set of ~500 objects, only a single instance of each kind, and each has ~500 numerical features ... I need to find the minimal encoding which allows to identify objects. I am interested in ...
5
votes
0answers
43 views

How to deal with possible data leakage in time series data?

I have historical consumer data who have taken out a loan at some point in time. The task is to predict if a consumer will default when requesting a loan. My issue is that for some customer in the ...
1
vote
2answers
26 views

How to deal with overestimation of small values and underestimation of high values in XGBoost?

I'm running XGBoost to predict prices on a cars dataset, I was wondering what alternatives are there for this kind of problem ...
0
votes
0answers
16 views

Regression model Giving the same prediction for all new inputs until i load the model again

I have build a regression model that has some decent accuracy measures. I have pickled it and loading it another project. However it is producing the same predictions every time when i pass new ...
0
votes
0answers
11 views

How to create a model avoiding correlation with a given variable? [on hold]

Imagine I want to create an model with a set X of n variables which are to some degree correlated to a variable c. The final output of the model can be strongly correlated with the variable c, thing ...
0
votes
0answers
11 views

LSTM Multi-state forecast

I follow several tutorials about LSTM multi-step forecast to solve my problem. My problem: I have a time series of price about 3 months (Jan 2018 to Mar 2018) and I assume there are seasonal. So, my ...
1
vote
1answer
20 views

Where is my error in understanding gradient descent calculated two different ways?

The gradient descent algorithm is, most simply, w'(i) = w(i)-r*dC/dw(i) where w(i) are the old weights, w'(i) are the new weights, C is the cost, r is the learning rate. I'm aware of the graphical ...
2
votes
1answer
37 views

ML algorithm with fixed number of inputs and variable number of outputs

I am trying to solve the following problem: Let's say I have a chess position: I encode each square as one-hot encoded vector of length 13 index 0 for empty square index 1 for white pawn index 2 ...
0
votes
0answers
4 views

In votingclassifier, why does soft voting gets higher accuracy score than hard voting? [closed]

In all my runs, i saw that hard voting gave a lower accuracy than soft voting, is there a reason behind this?
1
vote
0answers
10 views

PAC Learnability - Notation

the following is from Understanding Machine Learning: Theory to Algorithm textbook: Definition of PAC Learnability: A hypothesis class $H$ is PAC learnable if there exist a function $m_H : (0, 1)^2 \...
2
votes
0answers
12 views

How to implement Moving window with LSTM for Time Series Prediction?

I am trying to implement a moving window in my dataset. The window size=14 (for instance).After implemntinf sliding window how to prepare inputs and outputs for netwok? ...
1
vote
0answers
12 views

Is it beneficial to train 1 object detector for N classes vs N object detectors each for a different class?

I always wondered if training an object detector to recognize (let's say), dogs and cats performs better or worse than training 2 object detectors, one for cats only and one for dogs only. Would this ...
2
votes
1answer
52 views

ML regression poor performance

I am experimenting with 3 years time series electrical demand data (kW) for a building and attempting to create regression supervised ML models from sci kit learn regressor algorithms but I have very ...
1
vote
0answers
12 views

Training regression LTSM model with features having more than one value per time

Dataset of amount of #Alarms, on weekly basis, there are 37 weeks. The feature data set connected to the each week, have more than one value. ...
1
vote
0answers
8 views

Need inputs for Food data set to predict consumer ordering behaviour [on hold]

I am looking for food order data set that shows the consumer list and type of food they order regularly. Like : customer_number, gender, day, time, choice_of_food, food_category, quantity(grams), ...
1
vote
0answers
7 views

Is it possible to have a better performance with C4.5 than Bagged tree?

I am not sure but I have read that bagged trees is used to improve the accuracy of a signle tree methods such as C4.5 but applying both of them over the same dataset I got better accuracy with C4.5, ...
1
vote
0answers
11 views

Construction Adjacency matrix for GNN

A bit of a novice question, my data comes in the form of 2D hit points, my goal is to perform node/edge classification to find out whether this graph is my signal or background. My question is, when ...
1
vote
0answers
19 views

How to approach edge detection using GNN on sparse data?

I'm at the beginning of a project and I really wish to try and on the way learn Graph-Neural-Networks. The goal is to find the underlying graph structure of data points, some could be more clustered ...
-1
votes
0answers
23 views

Which clustering method to apply for this data set

I have sound recordings from different kinds of birds, basically chirp sound. These are inherently nonlinear signals. I want to cluster sounds into groups based on the loudness. If the sound for each ...
3
votes
0answers
29 views

How to deal with count data in random forest

I am working on a classification model where my target class is a biased class with the class shape as 0 1 20694 101 Most of my features are the ...
1
vote
0answers
20 views

Tool For Multi-Label Image Classification

I am currently working on a project that requires multi-label image classification. The best way to achieve this seems to be through Binary Relevance. I was intending to use a convolutional neural ...
1
vote
0answers
14 views

How to use Zero-Shot Learning on text?

Zero-shot learning used to predict the unseen classes using the attributes for each image. For example, we feed the model pictures of horses and pandas. The model will learn how horses look like and ...
2
votes
1answer
9 views

Coefficient of determination of linear regression in Azure ML studio differs significantly from regression R square in Orange 3 for same dataset why?

I tried exactly same dataset in Orange 3 and Azure ML Studio for linear regression. Coefficient of determination in Azure ML studio is .71 while Orange gives R square as .45. Why such a huge ...
3
votes
0answers
41 views

Which machine learning algorithm can be used for traffic prediction using images from Google Maps? [closed]

I am doing a traffic prediction project. I am using data from Google Maps. I'm collecting maps of different location and analyzing them. I am converting the maps to images, analyzing the image, and ...
1
vote
1answer
21 views

How to find what values are assigned to labels that where encoded using LabelEncoder?

places = ['India','France','India','Australia','Australia','India','India','France'] Here places are the DataFrame Series, now how can I find that which label ...
1
vote
1answer
17 views

Use prediction as feature for a decision tree

I'm working at classifying documents according to their content. First I built a decision tree model that gives 90% of goods results. Then I tried a TFIDF/SVC approach which also gives 90% of good ...
1
vote
1answer
18 views

Splitting image dataset with few subjects but many data

I'm carrying out training/testing of a convolutional neural network for facial expression recognition with various datasets - all labelled by 7 emotion classes. For other datasets, there are a large ...
1
vote
1answer
30 views

How to turn linear regression into logistical regression

I followed these articles to implement logistic regression. I'm confused however because after training the model and getting the weights for my variables I don't now how to use the one-hot vector ...
0
votes
0answers
6 views

Long run time for grid search SARIMA

I am running a grid search for identifying the right set of params for Seasonal ARIMA, for over a 1300 training set and range for all the params being 0,1 and 2. But this process is taking over ...
1
vote
0answers
15 views

Automating scoring of answers for a given question

There is a topic 'X' on which students are asked to write an English passage. Given a question, I have multiple solutions with their scorings out of 10. For a given answer by a new candidate, one ...
0
votes
1answer
14 views

clustering with heterogeneous (quantitative and qualitative)data?

I'm a Phd student and I have the results of some approaches (algorithms) that I would like to analyze. Data (results) are stored in csv files as follows: - the lines describe each algorithm with its ...
1
vote
0answers
35 views

Tensorflow Deep learning network not utilizing GPU?

I have a Nvidia GeForce GT 755M (PC), which I heard should be at least functional for running deep learning models. But when I train my model (DCGAN) and check the task manager process info (Win 10) I ...
0
votes
1answer
23 views

Unsupervised Learning and Training Data

As far as I know, we need to use training data to find out the relation between the features, also known as input values, and labels, that are output values, in supervised learning. After that, by ...
1
vote
0answers
19 views

Why is recall so high?

I've built a binary classification model based on Keras and I am getting about 70% accuracy, and about 72% precision and 88% recall, making up to 79% F1-Score. I've tried different data models (...
0
votes
1answer
15 views

Is there any text similarity databse available for phrases?

I want to train my application for phrase similarity. I want my model to predict similarity score for phrases as shown in below examples. ex- ...
1
vote
1answer
10 views

How to determine the weights of features when calculating the weighted average?

I have a dataset of Tweets along with their Retweet Counts and Favorite Counts. After extracting features from the Tweets, I am training a model to predict the Retweet Counts and Favorite Counts. I ...
1
vote
1answer
37 views

SciKit-Learn Decision Tree Overfitting

I'm pursuing a computer science minor at my university, and one class I'm in is Machine Learning. We have a project to utilize a few algorithms we have learned so far. I've been using SciKit-Learn to ...
1
vote
0answers
17 views

How to choose the support vectors after minimizing the objective function?

I'm training a SVM that uses the following objective function: $$ \frac{1}{2}\sum_i{\sum_j{\alpha_i\alpha_j t_i t_j \mathcal{K}(\vec{x_i}, \vec{x_j})}} - \sum_i{\alpha_i} $$ The objective function ...
1
vote
0answers
15 views

Learning Marketing Analytics

I'm a application developer and want to switch to Data Science field. I have done basic course in DS. I want to learn marketing analytics, which resources should I refer?
2
votes
2answers
56 views

How can I train a model for localizing objects(classification not required) in Python

I need to make a model that creates bounding box around objects(but does not classify them) for a competition. Which libraries or pre-trained models should I use. I need values of x1,x2(x1+w),y1,y2(y1+...
1
vote
1answer
12 views

Newbie question on restricted boltzmann machine

I’m quite a newbie to RBMs so I’m trying to understand how do you feed real valued data to it given that all the visible and hidden units are binary?
1
vote
0answers
12 views

Assessing performance of an agent based on commission rate, market share and revenue

I have a set of data for agents selling properties (apartments) for a company in different states. The company would like to assess the performance of the different agents given the following: Number ...
1
vote
1answer
25 views

Problem with important feature having a lot of missing value

I am facing a dilemma with a project of mine. One of the variables (numerical) doesn't have enough data i,e almost 99% data are missing. However, upon talking to the domain experts, it appears that ...
1
vote
2answers
39 views

What does the “Loss” value given by Keras mean?

I setup my neural net to use mean square error as shown below. To my understanding (and from reading the documentation) this means that if the correct result of a row is 0.7 and the net predicts 0.8 ...
2
votes
1answer
27 views

Calculating saliency maps for text classification

I'm following the text classification with movie reviews TensorFlow tutorial, and wanted to extend the project by looking, for a certain input, which words influenced the classification the most. I ...