
Naive Bayes Algorithm
This is a program demonstrating the Naive Bayes Algorithm. It is used to see if it will be a good day to golf.
This is a program demonstrating the Naive Bayes Algorithm. It is used to see if it will be a good day to golf.
I made a program for Hangman, where the user is given 5 wrong letters to try to guess the random word.
This program first assigns initial clusters to a set of data. It then takes the mean of each of these clusters and then uses them to make new clusters. If the new cluster is the same as the previous loop's cluster then the program ends.
This code implements Hierarchical Clustering into a real dataset of information regarding credit cards. It outputs the centroids of the number of clusters that the user wants the data to be split into.
This code takes a real dataset of information of credit card users and uses K means Clustering to categorize the users into separate clusters. It outputs the lowest variation and the centroids of the clusters
This code takes a real dataset of types of glass and uses K nearest neighbors to classify what the new type of glass(given by the user) is used for. The user needs to input the following to receive what type of glass they have: RI: refractive index Na: Sodium (unit measurement: weight percent in corresponding oxide, as are attributes 4-10) Mg: Magnesium Al: Aluminum Si: Silicon K: Potassium Ca: Calcium Ba: Barium Fe: Iron
This program asks the user for a specific point and an amount of neighbors to check. It then checks these nearest points for a color and the color of the most nearest points is the color of the user's point.
This program asks the user for a length of a DNA strand, it then generates the strand and converts it to RNA. After, it splits the RNA into Codons and then converts it into an Amino Acid Chain.
This program converts decimal, binary, and hexadecimal
This program calculates the Correlation Coefficient of the two data sets
This code uses the Naive Bayes Theorem and a random dataset to decide if the weather given by the user is appropriate to play golf
This code converts decimal, hexadecimal, and binary numbers into another type of number.