httpcomponents:httpcore ThreadSafe class not found solution

@ThreadSafe class not found compilation error occurs after updating your org.apache.httpcomponents:httpcore dependency version to 4.4.11 or above.
This httpcore version comes with:

    Class org.apache.http.annotation.Immutable removed
    Class org.apache.http.annotation.NotThreadSafe removed
    Class org.apache.http.annotation.ThreadSafe removed

Continue reading “httpcomponents:httpcore ThreadSafe class not found solution”

How to predict_proba with LinearSVC

Once I had a problem where I have to give the best solution according to Area under the curve (AUC or AUROC) score. I had hundreds of features and my training set was about 100.000 of objects. It was a classification problem. I had tried gradient boosting, logistic regression, random forests and then I decided to try SVM and LinearSVC. Continue reading “How to predict_proba with LinearSVC”

Where is MySQL database stored

All MySQL databases are stored in corresponding directories inside a MySQL DATADIR directory, which is specified in a configuration. E.g. myExampleDB’s files would be stored inside ‘$DATADIR/myExampleDB’ directory.

If you want to get MySQL datadir location and you have access to MySQL you can simply execute the following SQL query: Continue reading “Where is MySQL database stored”