Current location - Recipe Complete Network - Healthy recipes - The classification problem of judging whether an iris belongs to iris
The classification problem of judging whether an iris belongs to iris
The classification problem of judging whether a picture is iris belongs to binary classification.

We will classify iris according to the length and width of calyx and petals. There are about 300 kinds of iris, but our program will only classify the following three kinds: Iris spinosa, Iris virginiana and Iris discolor. We import and analyze the training data set, and download a 120 iris data set that has been created by others and contains the measured values of calyx and petals.

Use? tf.keras.utils.get_file? Function to download the training data set file. The main function of this function is to download resources directly from URL: fname: file name. If an absolute path is specified, the file will be saved to that path. Origin: the original URL of the file.