Hi @maryam_nourmand,
Welcome in the Community !
If you're using Logistic Regression, you have the possibility to save probability formulas for your classes : Logistic Platform Options (jmp.com)
Simply click on red triangle, and then on "Save Probability Formula" :
New columns will be added in your datatable, with probabilities for each class for every rows of your datatable, as well as Most Likely Class (default threshold is 0.5) :
Example here is from Titanic Passengers dataset, available in menu "Help", "Sample Index", "Exploratory Modeling", Titanic Passengers.
I hope this will answer your question,
Victor GUILLER
L'Oréal Data & Analytics
"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)