2
$\begingroup$

I am training machine learning classification model. I have data in csv format with lets say 5 features(or columns) and 100 such observations(or rows).

I want to add more similar data to improve my model accuracy. I do not have more data from original source.

I did data augmentation on images in deep learning where I performed brightness(-/+), rotate, flip. But I do not know how to do such exercise in ML.

Please help.

$\endgroup$
1
$\begingroup$

You can do mainly two things: bootstrap or oversampling.

With statistical data you can do bootstrapping (random sampling with replacement)

Bagging methods help boosting you model accuracy. The pseudocode will be a bit like this.

for estimator in range(number of estimators):
    Sampling some data
    Fitting a model
    Predicting
mean(predictions)

This way you are able to train different models with the same sample of data and helps in boosting accuracy. Well known as Random Forest use this technique.

There is other way to create synthetic data and they are the oversampling/undersampling techniques that you can have a look in the imblearn documentation. Techniques like SMOTE (Synthetic Minority Over-sampling Technique) are sometimes used, but they generate synthetic data.

With statistical data you can not rotate, add brightness...

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.