I have an problem, related to machine learning and which method is used to proceed further?

2 次查看(过去 30 天)
Hi all,
I have an data with 11 rows and 2 columns in which the single output is the combination of single row and column. As an probability i will get 11x11 outputs.And i need to find the best solution. from the above problem 11x11, i need to find a 1x1 single value as an best solution.
for the above problem, which type of method will be better to achieve the best solution to proceed further.And if possible, please share the link of some examples related to my problem.
  2 个评论
Rahul
Rahul 2022-10-11
Can you please elaborate your problem? What exactly you want to execute? There are various machine learning algorithms for classification. Please share some details about the dataset, the target variable, etc.
John D'Errico
John D'Errico 2022-10-25
So just evaluate the function at all 121 combinatinos of values. Then choose the one that makes you happy. Simple loops would suffice, but you can use meshgrid to do some of the work for you.

请先登录,再进行评论。

回答(1 个)

arushi
arushi 2024-9-6
I understand that you have a 11x11 matrix and you want to select 1x1 element as the best solution.
One possible approach to find the best solution is to use optimization techniques. For now, you can consider treating the 11x11 output grid as an objective function and use an optimization algorithm to find the maximum or minimum value.
MATLAB provides various optimization functions and tools like “fminsearch”,fminunc”,fmincon”, “ga” that you can utilize for this purpose. The choice of the specific optimization algorithm depends on the nature of your problem, constraints, and specific requirements.
Another possible approach is to use Machine Learning algorithms to find the best solution from 11x11 grid, you can Treat the problem as a regression task, where you train a model to predict the single value output based on the 11x11 input grid. You can use algorithms such as linear regression, decision trees, random forests, or gradient boosting.
Please find links to below documentation which I believe will help you for further reference.

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by