1,310 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
457
457 views
patmull asked Feb 11, 2021
457 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
591
591 views
1 1 vote
1 1 answer
589
589 views
logic asked Sep 28, 2020
589 views
Is that possible to train a machine using another trained machine?
3 3 votes
1 answers 1 answer
7.8k
7.8k views
tofighi asked Feb 3, 2020
7,788 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
438
438 views
tofighi asked Dec 1, 2025
438 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}...