{"id":46723,"date":"2022-10-27T00:00:00","date_gmt":"2022-10-27T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/"},"modified":"2025-11-13T12:56:15","modified_gmt":"2025-11-13T20:56:15","slug":"graduate-admissions-prediction-using-machine-learning-java-and-griddb","status":"publish","type":"post","link":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/","title":{"rendered":"Graduate Admissions Prediction using Machine Learning, Java, and GridDB"},"content":{"rendered":"<p>Random forest is a powerful module that can be used for classification predictions and performs better than a decision tree. In this article, we will focus on using the random forest module combined with a clean dataset to predict the admission likelihood of a college student to a given university. This problem is a well know prediction set in the industry. To implement our machine learning algorithm, we will be using Java programming. This article will follow the Cross-industry standard process for the data mining process. Initially, we will retrieve the data, prepare it, create our module, run it and finally test it by evaluating the results.<\/p>\n<p>Full source code and data: <a href=\"https:\/\/github.com\/griddbnet\/Blogs\/tree\/admissions\">https:\/\/github.com\/griddbnet\/Blogs\/tree\/admissions<\/a><\/p>\n<h2>Requirements<\/h2>\n<p>The creation of our random forest module will use the <strong>GridDB<\/strong> database storage mechanism as a secondary memory instrument. It is essential to ensure that <strong>GridDB<\/strong> is up and running in your system by downloading and setting up <strong>GridDB<\/strong> variables.<\/p>\n<p>Make sure to run the following command to update the needed environment variables:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">export GS_HOME=$PWD\nexport GS_LOG=$PWD\/log\nexport PATH=${PATH}:$GS_HOME\/bin\nexport CLASSPATH=$CLASSPATH:\/usr\/share\/java\/gridstore.jar\nexport CLASSPATH=${CLASSPATH}:\/usr\/share\/java\/weka.jar<\/code><\/pre>\n<\/div>\n<p>Making sure you have a running <strong>GridDB<\/strong> cluster should be implemented in your Java class. This task should start by creating a <strong>GridDB<\/strong> container. Next, define the container schema that is presented in the form of our dataset columns.<\/p>\n<p>The code below is used to achieve the above tasks:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\/\/ Manage connection to GridDB\nProperties properties = new Properties();\nproperties.setProperty(\"notificationAddress\", \"239.0.0.1\");\nproperties.setProperty(\"notificationPort\", \"31999\");\nproperties.setProperty(\"clusterName\", \"cluster\");\nproperties.setProperty(\"database\", \"public\");\nproperties.setProperty(\"user\", \"admin\");\nproperties.setProperty(\"password\", \"admin\");\n\n\/\/ Get Store and Container\nGridStore store = GridStoreFactory.getInstance().getGridStore(properties);\n\nstore.getContainer(\"newContainer\");\n\nString containerName = \"mContainer\";\n\n\/\/ Define container schema and columns\nContainerInfo containerInfo = new ContainerInfo();\nList&lt;columninfo> columnList = new ArrayList&lt;\/columninfo>&lt;columninfo>();\n\ncolumnList.add(new ColumnInfo(\"key\", GSType.INTEGER));\ncolumnList.add(new ColumnInfo(\"Serial No.\", GSType.INTEGER));\ncolumnList.add(new ColumnInfo(\"GRE Score\", GSType.INTEGER));\ncolumnList.add(new ColumnInfo(\"TOEFL Score\", GSType.INTEGER));\ncolumnList.add(new ColumnInfo(\"University Rating\", GSType.INTEGER));\n\ncolumnList.add(new ColumnInfo(\"SOP\", GSType.FLOAT));\ncolumnList.add(new ColumnInfo(\"LOR\", GSType.FLOAT));\ncolumnList.add(new ColumnInfo(\"CGPA\", GSType.FLOAT));\n\ncolumnList.add(new ColumnInfo(\"Research\", GSType.INTEGER));\n\ncolumnList.add(new ColumnInfo(\"Chance of Admit\", GSType.FLOAT));\n\ncontainerInfo.setColumnInfoList(columnList);\ncontainerInfo.setRowKeyAssigned(true);\n\nCollection&lt;Void, Row> collection = store.putCollection(containerName, containerInfo, false);\nList&lt;row> rowList = new ArrayList&lt;\/row>&lt;row>();&lt;\/row>&lt;\/columninfo><\/code><\/pre>\n<\/div>\n<p>In our random forest Java program, we need to import classes from four library groups:<\/p>\n<ul>\n<li><code>java.util<\/code>: used for reading and writing our dataset.<\/li>\n<li><code>java.io<\/code>: used for input and output tasks.<\/li>\n<li><code>com.toshiba.mwcloud.gs<\/code>: used to set up and operate the <strong>GridDB<\/strong> database.<\/li>\n<li><code>weka.classifier.trees<\/code>: used to implement the random forest module. <\/li>\n<\/ul>\n<p>Find below the Java code used to implement the task explained above:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\/\/ ---------- Java Util ---------\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Properties;\nimport java.util.Random;\nimport java.util.Scanner;\n \n\/\/ ---------- Java IO ---------\nimport java.io.IOException;\nimport java.io.File;\nimport java.io.BufferedReader;\nimport java.io.FileReader;\n \n\/\/ ---------- GridDB ---------\nimport com.toshiba.mwcloud.gs.Collection;\nimport com.toshiba.mwcloud.gs.ColumnInfo;\nimport com.toshiba.mwcloud.gs.Container;\nimport com.toshiba.mwcloud.gs.ContainerInfo;\nimport com.toshiba.mwcloud.gs.GSType;\nimport com.toshiba.mwcloud.gs.GridStore;\nimport com.toshiba.mwcloud.gs.GridStoreFactory;\nimport com.toshiba.mwcloud.gs.Query;\nimport com.toshiba.mwcloud.gs.Row;\nimport com.toshiba.mwcloud.gs.RowSet;\n \n \n\/\/----------- Weka ---------\nimport weka.core.Instances;\nimport weka.core.converters.ConverterUtils.DataSource;\nimport weka.classifiers.trees.RandomForest;\nimport weka.classifiers.Evaluation;\n<\/code><\/pre>\n<\/div>\n<h2>The Dataset<\/h2>\n<p>To implement the random-forest algorithms, we will use the admission dataset to predict the admission of students to a given university. The dataset is composed of <strong>9<\/strong> attributes and <strong>400<\/strong> instances.<\/p>\n<p>The attributes that make up this dataset are as follows:<\/p>\n<ul>\n<li><strong>Serial No<\/strong>: Numerical value used to identify the student.<\/li>\n<li><strong>GRE Score<\/strong>: Numerical value used to quantify the GRE score of the student.<\/li>\n<li><strong>TOEFL Score<\/strong>: Numerical value used to quantify the TOEFL score of the student.<\/li>\n<li><strong>University Rating<\/strong>: Numerical value used to quantify the university ranking.<\/li>\n<li><strong>SOP<\/strong>: Numerical value used to quantify the SOP score of the student.<\/li>\n<li><strong>LOR<\/strong>: Numerical value used to quantify the LOR score of the student.<\/li>\n<li><strong>CGPA<\/strong>: Numerical value used to quantify the cumulative GPA score of the student.<\/li>\n<li><strong>Research<\/strong>: Binary value used to quantify the research score of the student.<\/li>\n<li><strong>Chance of Admit<\/strong>: A binary value used to quantify the chances of admission.<\/li>\n<\/ul>\n<p>Find below an extract of the dataset:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">Serial No.,GRE Score,TOEFL Score,University Rating,SOP,LOR ,CGPA,Research,Chance of Admit \n1,337,118,4,4.5,4.5,9.65,1,0.92\n2,324,107,4,4,4.5,8.87,1,0.76\n3,316,104,3,3,3.5,8,1,0.72\n4,322,110,3,3.5,2.5,8.67,1,0.8\n5,314,103,2,2,3,8.21,0,0.65\n6,330,115,5,4.5,3,9.34,1,0.9<\/code><\/pre>\n<\/div>\n<p>To ensure we are ready for the next step, we must read the dataset file using Java. Once this task is done, the next step would be to write this dataset in our long-term storage using the <strong>GridDB<\/strong> database.<\/p>\n<p>In the following code, we implement the steps described above:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">File data = new File(\"\/home\/ubuntu\/griddb\/gsSample\/Admission_Predict.csv\");\nScanner sc = new Scanner(data);\nsc.useDelimiter(\"n\");\n\nwhile (sc.hasNext())  \/\/ Returns a boolean value\n{\n    int i = 0;\n    Row row = collection.createRow();\n\n    String line = sc.next();\n    String columns[] = line.split(\",\");\n\n    int serial = Integer.parseInt(columns[0]);\n    int gre = Integer.parseInt(columns[1]);\n    int toefl = Integer.parseInt(columns[2]);\n    int rating = Integer.parseInt(columns[3]);\n\n    float sop = Float.parseFloat(columns[4]);\n    float lor = Float.parseFloat(columns[5]);\n    float cgpa = Float.parseFloat(columns[6]);\n\n    int research = Integer.parseInt(columns[7]);\n\n    float admitclass = Float.parseFloat(columns[8]);\n\n    row.setInteger(0, i);\n    row.setInteger(1, serial);\n    row.setInteger(2, gre);\n    row.setInteger(3, toefl);\n    row.setInteger(4, rating);\n\n    row.setFloat(5, sop);\n    row.setFloat(6, lor);\n    row.setFloat(7, cgpa);\n\n    row.setInteger(8, research);\n\n    row.setFloat(9, admitclass);\n\n    rowList.add(row);\n\n    i++;\n}<\/code><\/pre>\n<\/div>\n<h2>Implementing a Random Forest Algorithm in Java<\/h2>\n<p>This article will use a classification model that performs better than a decision tree. This algorithm is known as the random forest. To understand the choice behind this model, we need to explain the benefits of using it compared to a decision tree. First, the random forest algorithm takes advantage of creating many trees and averages out the results to give us the best possible accuracy. This makes this module a better module for numerical datasets. Second, our problem statement deals with admission prediction that relies heavily on university scores and grades. In other words, the random forest is the perfect solution for such a dataset as it is a numerical dataset. In terms of Java implementation, the <code>weka.classifier.trees<\/code> package will be used as it contains the random forest source code. This library will be used to implement our model and perform the evaluation process to check for validity data and accuracy.<\/p>\n<h2>Write Data into GridDB<\/h2>\n<p>Writing data in a long-term storage database is critical to reusability and model accessibility. This set can be done using the <code>List&lt;Row&gt;<\/code> datatypes that start by storing our values in a list and then adding them later on to our <strong>GridDB<\/strong> database.<\/p>\n<p>The following code was used to conduct the task explained in this section:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">row.setInteger(0, i);\nrow.setInteger(1, serial);\nrow.setInteger(2, gre);\nrow.setInteger(3, toefl);\nrow.setInteger(4, rating);\n\nrow.setFloat(5, sop);\nrow.setFloat(6, lor);\nrow.setFloat(7, cgpa);\n\nrow.setInteger(8, research);\n\nrow.setFloat(9, admitclass);\n\nrowList.add(row);<\/code><\/pre>\n<\/div>\n<h2>Store the Data in GridDB<\/h2>\n<p>To store our data in the <strong>GridDB<\/strong> database, we must use the proper column names and datatypes. First, this task should be achieved by inspecting the data types of our attributes and mapping that type in our database. After examining our dataset, we found that all our attributes are numerical values. In other words, no strings or characters must be determined in our mapping process. Next, we will have to differentiate between integer values and floats. This step is very straightforward as we can observe that the university scores are all floats and other values are integers.<\/p>\n<p>The following code was used to conduct the task explained in this section:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">ContainerInfo containerInfo = new ContainerInfo();\nList&lt;columninfo> columnList = new ArrayList&lt;\/columninfo>&lt;columninfo>();\n\ncolumnList.add(new ColumnInfo(\"key\", GSType.INTEGER));\ncolumnList.add(new ColumnInfo(\"Serial No.\", GSType.INTEGER));\ncolumnList.add(new ColumnInfo(\"GRE Score\", GSType.INTEGER));\ncolumnList.add(new ColumnInfo(\"TOEFL Score\", GSType.INTEGER));\ncolumnList.add(new ColumnInfo(\"University Rating\", GSType.INTEGER));\n\ncolumnList.add(new ColumnInfo(\"SOP\", GSType.FLOAT));\ncolumnList.add(new ColumnInfo(\"LOR\", GSType.FLOAT));\ncolumnList.add(new ColumnInfo(\"CGPA\", GSType.FLOAT));\n\ncolumnList.add(new ColumnInfo(\"Research\", GSType.INTEGER));\n\ncolumnList.add(new ColumnInfo(\"Chance of Admit\", GSType.FLOAT));&lt;\/columninfo><\/code><\/pre>\n<\/div>\n<h2>Retrieve the Data from GridDB<\/h2>\n<p>Testing code validity should be one of our main priorities. This section will verify that the data was stored correctly in our database with no issues. To conduct this task, we will use the <code>SELECT<\/code> query that will return all the database values.<\/p>\n<p>The following code was used to conduct the task explained in this section:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">Container<?, Row> container = store.getContainer(containerName);\n\nif (container == null) {\n    throw new Exception(\"Container not found.\");\n}\n\nQuery&lt;row> query = container.query(\"SELECT * \");\nRowSet&lt;\/row>&lt;row> rowset = query.fetch();&lt;\/row><\/code><\/pre>\n<\/div>\n<p>Once the data was retrieved from our database, the next step would be to display our data. This task will require using a Java loop and a print statement.<\/p>\n<p>The following code was used to display our <strong>GridDB<\/strong> data:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">while (rowset.hasNext()) {\n\n    Row row = rowset.next();\n\n    int serial = row.getInt(0);\n\n    float gre = row.getFloat(1);\n    float toefl = row.getFloat(2);\n    float rating = row.getFloat(3);\n\n    int sop = row.getInt(4);\n    int lor = row.getInt(5);\n    int cgpa = row.getInt(6);\n    int research = row.getInt(7);\n\n    float admitclass =row.getFloat(8);\n\n    System.out.println(admitclass);\n}<\/code><\/pre>\n<\/div>\n<h2>Build the Random Forest<\/h2>\n<p>The random forest model will be called in our Java program to determine the admission prediction of a student to a given university. Our code will start by initialising the random forest object. Next, the random forest algorithm will be configured using the default <code>WEKA<\/code> parameters.<\/p>\n<p>The following code was used to conduct the task explained in this section:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">RandomForest randomForest = new RandomForest();\n\nString[] parameters = new String[14];\n     \nparameters[0] = \"-P\";\nparameters[1] = \"100\";\nparameters[2] = \"-I\";\nparameters[3] = \"100\";\nparameters[4] = \"-num-slots\";\nparameters[5] = \"1\";\nparameters[6] = \"-K\";\nparameters[7] = \"0\";\nparameters[8] = \"-M\";\nparameters[9] = \"1.0\";\nparameters[10] = \"-V\";\nparameters[11] = \"0.001\";\nparameters[12] = \"-S\";\nparameters[13] = \"1\";\n   \nrandomForest.setOptions(parameters);<\/code><\/pre>\n<\/div>\n<p>Once the parameters are defined, we will have to set them up in our model. The next step of our program is to use our training data to train our model. Finally, we finish our code by evaluating the results once our model is trained using our admission dataset.<\/p>\n<p>The following code was used to conduct the task explained in this section:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">randomForest.setOptions(parameters);\n\nrandomForest.buildClassifier(datasetInstances);\n\nEvaluation evaluation = new Evaluation(datasetInstances);\n\nevaluation.crossValidateModel(randomForest, datasetInstances, numFolds, new Random(1));\n\nSystem.out.println(evaluation.toSummaryString(\"nResultsn======n\", true));<\/code><\/pre>\n<\/div>\n<h2>Compile and Run the Code<\/h2>\n<p>To compile our Java program, we will locate our GridDB folder and use our command line to run our program. To compile our Java program, we will use the <code>javac<\/code> command. Once our program compiles, the next step is to run our code using the <code>java<\/code> command.<\/p>\n<p>The following commands are a representation of our explanation:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">javac gsSample\/randomForest.java\n\njava gsSample\/randomForest.java<\/code><\/pre>\n<\/div>\n<h2>Conclusion &amp; Results<\/h2>\n<p>After compiling our random forest Java program, we have to examine our results to understand the performance of our model. The summary of our results contains the accuracy of our model. In addition, our summary results include the number of attributes, instances, and the accuracy of the information in our model. Our random forest reached an accuracy of <strong>91&#46;05%<\/strong> using only <strong>400<\/strong> instances. To explain, the number of instances of our dataset is not a representation of an extensive dataset. In other words, a bigger dataset will be more extensively helpful in increasing our accuracy. In addition, the <strong>GridDB<\/strong> database is dynamic and can easily store any additional instances we run in our model.<\/p>\n<p>The following summary output is a representation of our results and evaluation information:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">=== Run information ===\n\nRelation:     Admission_Predict\nInstances:    400\nAttributes:   9\n              Serial No.\n              GRE Score\n              TOEFL Score\n              University Rating\n              SOP\n              LOR \n              CGPA\n              Research\n              Chance of Admit \n\n=== Summary ===\n\nCorrectly Classified Instances          91.05 %\nIncorrectly Classified Instances        8.96 %  \nMean absolute error                     0.0896\nRelative absolute error                 9.19   %\nRoot relative squared error             34.3846 %\nTotal Number of Instances               400   <\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Random forest is a powerful module that can be used for classification predictions and performs better than a decision tree. In this article, we will focus on using the random forest module combined with a clean dataset to predict the admission likelihood of a college student to a given university. This problem is a well [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":28871,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[121],"tags":[],"class_list":["post-46723","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Graduate Admissions Prediction using Machine Learning, Java, and GridDB | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"Random forest is a powerful module that can be used for classification predictions and performs better than a decision tree. In this article, we will\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Graduate Admissions Prediction using Machine Learning, Java, and GridDB | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"Random forest is a powerful module that can be used for classification predictions and performs better than a decision tree. In this article, we will\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-27T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-13T20:56:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.griddb.net\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1160\" \/>\n\t<meta property=\"og:image:height\" content=\"653\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"Graduate Admissions Prediction using Machine Learning, Java, and GridDB\",\"datePublished\":\"2022-10-27T07:00:00+00:00\",\"dateModified\":\"2025-11-13T20:56:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/\"},\"wordCount\":1232,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png\",\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/\",\"url\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/\",\"name\":\"Graduate Admissions Prediction using Machine Learning, Java, and GridDB | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png\",\"datePublished\":\"2022-10-27T07:00:00+00:00\",\"dateModified\":\"2025-11-13T20:56:15+00:00\",\"description\":\"Random forest is a powerful module that can be used for classification predictions and performs better than a decision tree. In this article, we will\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png\",\"contentUrl\":\"\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png\",\"width\":1160,\"height\":653},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb.net\/en\/#website\",\"url\":\"https:\/\/griddb.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\/\/www.griddb.net\/en\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Graduate Admissions Prediction using Machine Learning, Java, and GridDB | GridDB: Open Source Time Series Database for IoT","description":"Random forest is a powerful module that can be used for classification predictions and performs better than a decision tree. In this article, we will","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/","og_locale":"en_US","og_type":"article","og_title":"Graduate Admissions Prediction using Machine Learning, Java, and GridDB | GridDB: Open Source Time Series Database for IoT","og_description":"Random forest is a powerful module that can be used for classification predictions and performs better than a decision tree. In this article, we will","og_url":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2022-10-27T07:00:00+00:00","article_modified_time":"2025-11-13T20:56:15+00:00","og_image":[{"width":1160,"height":653,"url":"https:\/\/www.griddb.net\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png","type":"image\/png"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"Written by":"griddb-admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#article","isPartOf":{"@id":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"Graduate Admissions Prediction using Machine Learning, Java, and GridDB","datePublished":"2022-10-27T07:00:00+00:00","dateModified":"2025-11-13T20:56:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/"},"wordCount":1232,"commentCount":0,"publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png","articleSection":["Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/","url":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/","name":"Graduate Admissions Prediction using Machine Learning, Java, and GridDB | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#primaryimage"},"image":{"@id":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png","datePublished":"2022-10-27T07:00:00+00:00","dateModified":"2025-11-13T20:56:15+00:00","description":"Random forest is a powerful module that can be used for classification predictions and performs better than a decision tree. In this article, we will","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.griddb.net\/en\/blog\/graduate-admissions-prediction-using-machine-learning-java-and-griddb\/#primaryimage","url":"\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png","contentUrl":"\/wp-content\/uploads\/2022\/08\/Graduate-Admissions.png","width":1160,"height":653},{"@type":"WebSite","@id":"https:\/\/griddb.net\/en\/#website","url":"https:\/\/griddb.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/www.griddb.net\/en\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts\/46723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/comments?post=46723"}],"version-history":[{"count":1,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts\/46723\/revisions"}],"predecessor-version":[{"id":51395,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts\/46723\/revisions\/51395"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/media\/28871"}],"wp:attachment":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/media?parent=46723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/categories?post=46723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/tags?post=46723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}