dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
264 stars 56 forks source link

Advanced Training Options - Optimization Metrics / Exclude algorithms #2191

Closed luisquintanilla closed 1 year ago

luisquintanilla commented 2 years ago

In the Model Buidler training tab, provide a dialog for "Advanced Training Options", similar to the existing "Advaced Data Options" in the data tab. In this dialog, a user should be able to:

luisquintanilla commented 2 years ago

@zewditu - UI @LittleLittleCloud - Backend

luisquintanilla commented 2 years ago

This issue is blocking #60 @luisquintanilla to provide design by EOW.

luisquintanilla commented 1 year ago

To-Do's

@luisquintanilla

@LittleLittleCloud

@zewditu

Proposed Design

image

image

Copy

Optimizing Metric Tab

Note: For each of the scenarios, set the default to the metric being used today.

Heading: Choose the metric that will be used to find the best-performing model. Subheading: When should I use each metric?

Data classification

Binary Classification

Note: This is determined based on whether the label column is boolean.

Multiclass Classification

Value prediction

Image classification

Same as data classification (multiclass). Disable for cloud scenario. Azure ML environment does not allow to specify metric.

Recommendation

Same as value prediction.

Object Detection

Disabled for now. Azure ML scenario does not allow to specify metric.

Forecasting

Trainers Tab

Heading: Choose the trainers to explore during training. Subheading: Which trainer should I use?

Data classification

Value prediction

Image classification

Recommendation

Disabled for now. MatrixFactorization is the only option

Object Detection

Disabled for now. Azure ML is the only option.

Forecasting

Disabled for now. ForecastBySsa is the only option.

zewditu commented 1 year ago

For Image classification : Accuracy, Average Precision Score Weight, AUC weighted , normalized macro recall For OD: we only have one, MeanAveragePrecision.

zewditu commented 1 year ago

One thing want to confirm, when we say " Image classification metrices are the same as data classification", are we talking about the multi-classification one?

luisquintanilla commented 1 year ago

One thing want to confirm one thing , when we say " Image classification metrices are the same as data classification", are we talking about the muti-classification one?

Good question. It looks like it's multiclass. Here's a model I just trained. It uses MicroAccuracy.

|      Trainer                             MicroAccuracy Duration    |
|--------------------------------------------------------------------|
|0     ImageClassificationMulti            0.8564     520.1900       |
|--------------------------------------------------------------------|
|                          Experiment Results                        |
|--------------------------------------------------------------------|
|                               Summary                              |
|--------------------------------------------------------------------|
|ML Task: image classification                                       |
|Dataset: C:\Users\luquinta.REDMOND\Datasets\EuroSAT200              |
|Label : Label                                                       |
|Total experiment time :   520.1900 Secs                             |
|Total number of models explored: 1                                  |
|--------------------------------------------------------------------|
|                        Top 1 models explored                       |
|--------------------------------------------------------------------|
|      Trainer                             MicroAccuracy Duration    |
|--------------------------------------------------------------------|
|0     ImageClassificationMulti            0.8564     520.1900       |
|--------------------------------------------------------------------|
luisquintanilla commented 1 year ago

@LittleLittleCloud can you please take a look at the descriptions I provided for the trainers to make sure I accurately captured the main points.

@luisquintanilla overall looks good, made one small change on lightGbm though