1,484 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
575
575 views
patmull asked Feb 11, 2021
575 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
838
838 views
1 1 vote
1 1 answer
755
755 views
logic asked Sep 28, 2020
755 views
Is that possible to train a machine using another trained machine?
3 3 votes
1 answers 1 answer
8.1k
8.1k views
tofighi asked Feb 3, 2020
8,069 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
1.1k
1.1k views
tofighi asked Dec 1, 2025
1,142 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}...