This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Email: [email protected] | |
* @author Tomrock D'souza, St. Francis Institute Of Technology, University of Mumbai, 2017 | |
* @copyright GNU General Public License v3.0 | |
* No reproduction in whole or part without maintaining this copyright notice | |
* Example: https://s29.postimg.org/wm3rbxhaf/Bully_Algorithm.png | |
*/ | |
#include < stdio.h > | |
#include < conio.h > | |
#include < stdlib.h > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
/** The class encapsulates an implementation of the Apriori algorithm | |
* to compute frequent itemsets. | |
* | |
* Added Association Rules By Tomrock D'souza : https://gist.github.com/ENGINEER-RC/34bdc63161befad19ce33564a473fc58 | |
* | |
* Datasets contains integers (>=0) separated by spaces, one transaction by line, e.g. | |
* 1 2 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The class encapsulates an implementation of the Asynchornous Mulithreaded Odd-EvenTransposition | |
* @contributor Tomrock D'souza, St. Francis Institute Of Technology, University of Mumbai, 2017 | |
* Part of This code is Taken from : www.roseindia.net/java/beginners/arrayexamples/OddEvenTranspositionSort.shtml | |
* No reproduction in whole or part without maintaining this notice | |
* and imposing this condition on any subsequent users. | |
*/ | |
class EvenOddTrans extends Thread { | |
private int j; | |
public static final int array[] = {12,9,4,99,120,1,3,10,13}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** The class encapsulates an implementation of the Naive-Bayes algorithm | |
* | |
* First argument is for Outlook | |
* Sunny=2 Overcast=1 Rain=0 | |
* | |
* Second argument is for Temperature | |
* Hot=2 Mild=1 Cool=0 | |
* | |
* Third argument is for Humidity | |
* High=1 Normal=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** The class encapsulates an implementation of the Kmeans algorithm for 2D Dataset | |
* | |
* First argument is for Number of Elements | |
* Second argument is for Start of Randomizer | |
* Third argument is for End of Randomizer | |
* Fourth argument is for Number of Clusters | |
* | |
* Usage with the command line : | |
* >java Kmean2D 7 10 20 3 | |
* This Means 7 tupples of data will be created |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** The class encapsulates an implementation of the Kmeans algorithm for Linear Dataset | |
* | |
* First argument is for Number of Elements | |
* Second argument is for Start of Randomizer | |
* Third argument is for End of Randomizer | |
* Fourth argument is for Number of Clusters | |
* | |
* Usage with the command line : | |
* >java Kmeans 7 10 20 3 | |
* This Means 7 tupples of data will be created |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This Program Only Works in DOS-BOX on Turbo C++ Compiler | |
* To Get DOS-BOX emulator with Turbo C : https://www.google.com/search?q=turbo+C | |
* | |
* @author Tomrock D'souza, St. Francis Institute Of Technology, University of Mumbai, 2017 | |
* Email: [email protected] | |
* No reproduction in whole or part without maintaining this notice | |
*/ | |
#include<stdio.h> | |
#include<conio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @main-author Tomrock D'souza, St. Francis Institute Of Technology, University of Mumbai, 2017 | |
* Email: [email protected] | |
* No reproduction in whole or part without maintaining this notice | |
* and imposing this condition on any subsequent users. | |
* Example: https://postimg.org/image/y55004t9z/ | |
*/ | |
#include<stdio.h> | |
#include<conio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implementation of 8puzzle problem using Heuristic Function | |
* Needed matrix can be changed by altering variable array[9] | |
* 1 2 3 | |
* 8 0 4 | |
* 7 6 5 | |
* | |
* Input at the start Example | |
* Enter values:2 8 3 1 6 4 7 0 5 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implementation of adversarial search | |
* Example To Use Program :https://s15.postimg.org/yyh4lhdsr/Adversial.png | |
* | |
* Email: [email protected] | |
* @author Tomrock D'souza, St. Francis Institute Of Technology, University of Mumbai, 2017 | |
* @copyright GNU General Public License v3.0 | |
* No reproduction in whole or part without maintaining this copyright notice | |
* and imposing this condition on any subsequent users. | |
*/ |
OlderNewer