New answers tagged

0 votes

Deep Learning accuracy vs Confusion Matrix accuracy

"precision: 0.8492" is on the training data. "val_precision: 0.9168" is on the validation data. "Confusion Matrix" is on the test data. The precision values are different ...
user avatar
0 votes

Supply chain model

Supply chain modeling requires a good simulator. You can use existing software like anyLogistix but you might be limited if you want to use other features such as the weather or the stock markets. ...
user avatar
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 ...
user avatar
0 votes

Every one knows data-driven modeling, but what is model-driven (or non data-driven) modeling?

Data-driven methods are ones that rely on empirical observation, and produce models that map between observed inputs and observed outputs. Non-data-driven models can be built from domain knowledge or ...
user avatar
0 votes

What kind of model would you use to predict recurring transactions?

None. It's always good to use the simplest approach. In this case, you do not need any model. You want to detect events on a regular interval? Once you have two examples, you know the interval, and ...
user avatar
  • 356
0 votes

Autoencoder general questions and poor loss

There is some confusion in your question, since you are talking about an AE, but you are using softmax as output... which makes almost no sense First of all, the loss by itself, has no meaning: If I ...
user avatar
0 votes

How to suppress "Estimator fit failed. The score on this train-test" warning message?

In the param_grid "max_features": [np.arange(0.3, 0.6, 0.1),'sqrt'], this code essentially means ...
user avatar
  • 1
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/...
user avatar
0 votes

How to perform Grid Search on NLP CRF model

The code does produce an exception indeed, but it is catched by the try-except. To avoid the exception, you could modify your local copy of the sklearn_crfsuite library and add the missing attributes (...
user avatar
  • 1
0 votes

Machine learning and time-based data

I assume it depends on what information you want to get/what you're trying to capture/predict. E.g. are you looking to understand influence of season on shopping rates? Yearly data wouldn't be of use ...
user avatar
  • 71
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: ...
user avatar
  • 5,844

Top 50 recent answers are included