class_docstr: WARNING: Advisor API is subject to change in future releases.
  
  This advisor creates a new trial when validation accuracy of any one of the trials just dropped.
  The trial is killed if the validation accuracy doesn't improve for at least k last-reported metrics.
  To demonstrate the high flexibility of writing advisors, we don't use tuners or the standard definition of
  search space. This is just a demo to customize an advisor. It's not intended to make any sense.
class_docstr_tok: ["WARNING",":","Advisor","API","is","subject","to","change","in","future","releases",".","This","advisor","creates","a","new","trial","when","validation","accuracy","of","any","one","of","the","trials","just","dropped",".","The","trial","is","killed","if","the","validation","accuracy","does","n't","improve","for","at","least","k","last-reported","metrics",".","To","demonstrate","the","high","flexibility","of","writing","advisors",",","we","do","n't","use","tuners","or","the","standard","definition","of","search","space",".","This","is","just","a","demo","to","customize","an","advisor",".","It","'s","not","intended","to","make","any","sense","."]
code: def handle_trial_end(self, data):
      logger.info("Trial end: {}".format(data))
  
file_path: nni/examples/tuners/mnist_keras_customized_advisor/dummy_advisor.py
imports: import logging
  from collections import defaultdict
  import json_tricks
  import numpy
  from nni import parameter_expressions
  from nni.msg_dispatcher_base import MsgDispatcherBase
  from nni.protocol import CommandType, send
  from nni.utils import MetricType
label_desc: Use image node_id 6 for calling the DummyAdvisor obj's underlying member method code with example usage: obj.handle_trial_end(data) without return types