This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MLUtils | |
using CategoricalArrays | |
using StatsPlots | |
using DataFrames | |
""" | |
generate_imbalanced_data(num_rows, num_features, majority_ratio) | |
Generate random imbalanced data with specified number of rows and features, and a majority class ratio. |