Question: Machine Learning Classification and Clustering Models Multiclass strategies to evaluate and compare the performance of combined over - sampling and under - sampling methods at
Machine Learning Classification and Clustering Models
Multiclass strategies to evaluate and compare the performance of combined oversampling and undersampling methods at different sampling fractions when building a machine learning model for a synthetic dataset.
Instructions:
Generate the synthetic dataset as follows: makeclassificationnsamples nfeatures ninformative nclasses flipy weights randomstate
Balance the dataset choose any oversampling method
Considering the previous dataset, compare the accuracy performance of at least classification algorithms when using the onevsone and onevsall strategies.
In terms of F measure, calculate the macro and weighted average performances.
Repeat steps and but do not implement any resampling strategy this time. Do you notice any performance change in terms of accuracy and F metrics?
Visualize and analyze your results
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
