PathologyDataScience / HistomicsML2

A tool for training machine-learning models with whole-slide imaging datasets
22 stars 5 forks source link

Added validation #58

Closed slee172 closed 4 years ago

slee172 commented 4 years ago

A function is added for users to validate the classifiers.

  1. "Validation" tab is added to the main menu.

    • The tab includes three sessions: Start validation, Continue validation, and Finalize validation.
    • Users can "Start" validation by creating a classifier for validation.
    • Users can "Continue" validation by continuing an existing classifier for validation.
    • Users can "Finalize" validation by comparing a training classifer with a validating classifier. This provides "Accuracy", "F1-measure".
  2. "Picker" after "Start" and "Continue" validation.

    • Users can select samples by double-clicking
    • Users can save the selected samples.
  3. "Review" after "Picker".

    • Users can review the samples already selected.
    • Users can move the samples to positive or negative by a Drag-and-drop function

Html index.html - Updated picker.html - Added validation.html - Added picker_review.html - Added report.html - Updated viewer.html - Updated data.html - Updated

PHP pickerReviewSamples.php - Added initpicker_nn.php - Added finishPicker.php - Added finishReloadedPicker.php - Added getSession.php - Updated initSession_nn.php - Updated setReviewed.php - Added reloadSession_nn.php - Updated reloadPicker.php - Added

CSS style.css - Updated

Javascript picker.js - Added viewer.js - Updated picker_review.js - Added validation_main.js - Added

DB getnuclei_nn.php - Updated

PYTHON validate.py - Added picker.py - Added settings.py - Updated run_web_server.py - Updated run_model_server.py - Updated