Ещё бы знать, что на оси у отображено... А данные за тебя кто масштабировать будет? Дядя Вася Бояркин? Попробуй StandardScaler. Предполагаю, что в этом может быть проблема.
Нажмите, чтобы раскрыть...
f1 метрика.
Все параметры у меня имеют одинаковый масштаб (признаки это частота встречаемости триграмм в исходных данных)
мёртвый сайт, девоутают любые вопросы без причины
честно говоря ллмками на вопросах сложнее хелоу ворлда лучше не пользоваться
Нажмите, чтобы раскрыть...
Ну мы с помощью чатгпт решали задачи по цифровому анализу сигналов. Иногда даже успешно. По крайней мере они могут дать толчок начальный.
Я кстати нашёл решение, дело было в параметрах модели SVM, а именно в гамме и С.
Я правда не знаю почему параметры настолько сильно изменяются на отметке строго 25к, но если вместо гамма 0.5 и с=1 установить гамма 1000 и с=100, то классификация РБФ становится адекватной, хотя и проседает ниже 15к, но там уже просто немножко проседает.
Я сейчас запустил код который определяет оптимальные параметры для каждого размера, к сожалению я этих типоразмеров наплодил слишком много, вот уже два часа жду результата.
For bs: 100...The best parameters are {'C': 100000.0, 'gamma': 100.0} with a score of 0.44
For bs: 1000...The best parameters are {'C': 1000000.0, 'gamma': 1.0} with a score of 0.84
For bs: 10000...The best parameters are {'C': 1000000.0, 'gamma': 0.1} with a score of 0.98
For bs: 100000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.98
For bs: 11000...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 12000...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 1250...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.87
For bs: 12500...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 13000...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 140...The best parameters are {'C': 1000000.0, 'gamma': 10.0} with a score of 0.48
For bs: 14000...The best parameters are {'C': 10000000.0, 'gamma': 0.1} with a score of 0.98
For bs: 1500...The best parameters are {'C': 100000.0, 'gamma': 10.0} with a score of 0.89
For bs: 15000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.99
For bs: 16000...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 17000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.99
For bs: 1750...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.90
For bs: 17500...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 1.00
For bs: 18000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 1.00
For bs: 19000...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 2000...The best parameters are {'C': 1000000.0, 'gamma': 1.0} with a score of 0.91
For bs: 20000...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 21000...The best parameters are {'C': 1000000.0, 'gamma': 0.1} with a score of 1.00
For bs: 22000...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 22500...The best parameters are {'C': 1000.0, 'gamma': 1000.0} with a score of 0.99
For bs: 23000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 1.00
For bs: 24000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.98
For bs: 250...The best parameters are {'C': 100000.0, 'gamma': 100.0} with a score of 0.55
For bs: 2500...The best parameters are {'C': 1000000.0, 'gamma': 1.0} with a score of 0.93
For bs: 25000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.99
For bs: 27500...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.99
For bs: 300...The best parameters are {'C': 1000000.0, 'gamma': 100.0} with a score of 0.63
For bs: 3000...The best parameters are {'C': 1000000.0, 'gamma': 1.0} with a score of 0.96
For bs: 30000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.99
For bs: 32500...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.99
For bs: 35000...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.99
For bs: 37500...The best parameters are {'C': 100.0, 'gamma': 1000.0} with a score of 0.99
For bs: 400...