1,423 views
0 0 votes
When pre processing data for machine learning. Is there any difference in using one hot encoding to turn categoric variables into numeric variables or to segment the data and the model being used along the category. So say you run a multivariate regression model on data covering 5 cities. Would a single model with one variable for each city be more better or worse than having 5 models specific for each city? Or is there no difference? Or does it depend on certain factors and intuition?

Please log in or register to answer this question.

Related questions

0 0 votes
0 0 answers
520
520 views
patmull asked Feb 11, 2021
520 views
I need some tool to classify articles based on short category text which consists of two or three words separated by '-'. The RSS/XML tag content is for example:Foreign -...
2 2 votes
1 1 answer
748
748 views
1 1 vote
1 1 answer
675
675 views
logic asked Sep 28, 2020
675 views
Is that possible to train a machine using another trained machine?
3 3 votes
1 answers 1 answer
7.9k
7.9k views
tofighi asked Feb 3, 2020
7,937 views
How to solve this problem?https://i.imgur.com/8urywpf.jpgQ1) Complete the ? sectionsQ2) Accuracy of system if threshold = 0.5?Q3) Accuracy of system if threshold = 0.95?
0 0 votes
1 answers 1 answer
778
778 views
tofighi asked Dec 1, 2025
778 views
Consider a simplified Recurrent Neural Network (RNN) with a single input and a single output. The hidden state is updated using the recurrence:$$ h_t = \text{ReLU}(W_{ih}...