How to use Machine Learning Algorithms in classification for categorical problem?
Mostrar comentarios más antiguos
I have a matrix with 100*100 data points. I need to apply ML for classification of (Yes, there is an event to be 1, or No, there is no event 0). In addirion, I should only label 7500 (as 1 or 0) (75%) for training and no adding 1 or 0 for the remainder 2500 (25%) for testing?
Which models I should try? If I need to do comparative study, which algorithms I should try?
5 comentarios
the cyclist
el 17 de Nov. de 2023
I'm confused (and I think you are, too).
You have a 100*100 matrix. What exactly is your response variable (the variable you are trying to predict)? What are your explanatory variables (the variables used to predict the response variable)?
Let's take a smaller example, where you just have a 5x5:
M = [0 0 0 0 1;
0 1 1 1 0;
1 1 1 1 1;
0 0 0 0 0;
1 0 1 0 1];
What are you trying to predict?
Mohamed
el 17 de Nov. de 2023
Mohamed
el 17 de Nov. de 2023
the cyclist
el 17 de Nov. de 2023
This is helpful information, but it is still not clear how to make this into a classification problem. Let's modify my small example:
M = [10 20 30 40 50;
20 35 45 55 60;
25 40 60 75 65;
25 20 30 40 50;
20 5 15 35 45];
There are two points that are "local minimum" points: The value 10 at location (1,1), and the value 5 at location (5,2).
I also have a local maximum: the value 75 at location (3,4).
Is the first step to find the local minima? (That is not a machine learning problem.)
Respuesta aceptada
Más respuestas (1)
the cyclist
el 17 de Nov. de 2023
0 votos
Based on your replies to my comments, this does not seem like a machine learning classification problem to me. It seems like a peak-finding problem.
Take a look at this question/answer from the MathWorks support team, about 2-dimensional peak-finding. Maybe it will help you.
1 comentario
Mohamed
el 17 de Nov. de 2023
Categorías
Más información sobre Get Started with Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!