def instantiate_new_model(arch_class_name):
    """
    This function responsible to instantiate appropriate classifier using the
    checkpoint file name. On completion of training, checkpoint file is saved
    using the class name. this method with the help of reflection instantiate
    new instance of the type of the checkpoint file name.
    
    Using the object of same class that is used to train, allows us to apply 
    the same configuration was used for training. This eliminates the need
    of explicitly redefine the classifier again.

    Parameters:
        arch_class_name - This is the class name determined from the checkpoint
                        file name
    Return:
        classifier - Classifer object will the optional attributes set to it.
    """
    module = __import__('model_factory')
    flower_classifer_class = getattr(module, arch_class_name)
    flower_classifer = flower_classifer_class('', 'test')
    return flower_classifer