sciwing.cli¶
sciwing_interact¶
-
class
sciwing.cli.sciwing_interact.SciWINGInteract(infer_client: sciwing.infer.interface_client_base.BaseInterfaceClient)¶ Bases:
objectThis cli helps in interacting with different models of sciwing
-
interact()¶ Interact with the user to explore different models
This method provides various options for exploration of the different models.
See-Confusion-Matrixshows the confusion matrix on the test dataset.See-Examples-of-Classificationis to explore correct and mis-classifications. You can provide two class numbers as in,2 3and it shows examples in the test dataset where text that belong to class2is classified as class3.See-prf-tableshows the precision recall and fmeasure per class.See-text- Manually enter text and look at the classification results.
-
s3_mv_cli¶
-
class
sciwing.cli.s3_mv_cli.S3OutputMove(foldername: str)¶ Bases:
object-
__init__(foldername: str)¶ Provides an interactive way to move some folders to s3
Parameters: foldername (str) – The folder name which will be moved to S3 bucket
-
static
ask_deletion() → str¶ Since this is deletion, we want confirmation, just to be sure whether to keep the deleted folder locally or to remove it
Returns: An yes or no answer to the question Return type: str
-
get_folder_choice()¶ Goes through the folder and gets the choice on which folder should be moved
Returns: The folder which is chosen to be moved Return type: str
-
interact()¶ Interacts with the user by providing various options
-