Question: Instead of using K - MEANS as stated below: PLEASE SEE IF USING T - SNE WILL REDUCE THE NUMBER OF DIMENSIONS. ARE THE RESULTE
Instead of using KMEANS as stated below: PLEASE SEE IF USING TSNE WILL REDUCE THE NUMBER OF DIMENSIONS. ARE THE RESULTE BETTER, WORSE, OR THE SAME?
please use numpy
he program should print out the habitat number for each alligator in the dataset. Then it should print out the Kmeans centers. Then, we are assuming that a new turtle is arriving. Ask the user to input the length, height, width, color and weight for this new alligator Then have the Kmean model predict the correct habitat or for the new alligator.
Here is sample code. This is only a sample of how the program will run. The number may not be correct. Do no use these numbers for testing.
Load alligator data
Create Kmeans mode
Habitat number for each alligator
Centers
Enter information for new alligator
Enter length
Enter height
Enter width
Enter color code
Enter weight
Put this alligator in habitat
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
