Как использовать алгоритм smapling weka.smote в java-коде?
I have a question about the correct way to use the SMOTE sampling algorithm. I have been read a lot about this algorithm. I forced to use SMOTE within my code, so I can't use any tools like KNIME or WEKA. After few days in searching, I can say that there are two implementation of SMOTE, one in R language and other included in weka java library. I have downloaded the weka.dev.jar file and weka.core.jar file and used them in my code. Unfortunately I'm not expert enough in Java. Can anyone help me. I just need to use SMOTE with crossvalidation. and both SMOTE and crossvalidation are java clasess. But I failed to write a simple java class that create objects from these classes. The reaseon is that theses classes need another objects from other classes. any help will be appreciated
Что я уже пробовал:
Я проверил коды по этой ссылке
Примеры Кода Java[^]
но я не могу понять, как написать простой класс java с помощью just
<pre lang="java">публичный статический пустота основной() функция, которая может использовать поразил класс.