2
votes
Accepted
Combine multiple duplicate categorical variables into a single one for multiple linear regression
The issue is just that you consider the list of actors as ordered, but if they are considered as an (unordered) set it works perfectly. The regular "bag of words" representation used in text ...
1
vote
Predict data using Pre-Trained Classification Model
Yes. Whatever steps/processing you have done to the data before feeding it to the model, all of steps needs to be done again in the raw data.
Ideally you should create a function which takes the data/...
1
vote
Accepted
How to convert a string to callable
You can simply change the values stored in the strarray variable to simply store either the model name or the initialized model:
...
1
vote
Gradient descent implementation of logistic regression
I think your implementation is correct and the answer provided is just wrong.
Just for reference, the below figure represents the theory / math we are using here to implement Logistic Regression with ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
machine-learning-model × 711machine-learning × 401
python × 88
deep-learning × 88
classification × 86
neural-network × 57
scikit-learn × 49
predictive-modeling × 46
data-science-model × 39
keras × 38
random-forest × 32
regression × 31
dataset × 30
tensorflow × 28
model-selection × 28
linear-regression × 27
time-series × 25
decision-trees × 23
training × 23
feature-selection × 20
nlp × 19
statistics × 19
logistic-regression × 18
data × 16
cross-validation × 15