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