{"title":"Table Partitioner","nodeType":"Manipulator","id":"*T0AhxSe0Yi42rQK8","factoryName":"org.knime.base.node.preproc.partition.PartitionNodeFactory","factoryId":"org.knime.base.node.preproc.partition.PartitionNodeFactory","path":["Manipulation","Row","Transform"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>The input table is split row-wise into two partitions, for instance into a train and test data set. The two partitions are available at the two output ports.</p>\n        ","shortDescription":"Splits table into two partitions.","keywords":["Partitioning","Partition"],"deprecated":false,"streamable":true,"tags":["Manipulation","Row","Transform","Streamable"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowYjM2YWM5Ny01ZWJhLTQwZTctOTE4OS1iYmU4ZDdkMGYyNGUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDRENDQxNjMxNjhDMTFFNUJEOTVBMUI1OTFFQzZGQkIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDRENDQxNjIxNjhDMTFFNUJEOTVBMUI1OTFFQzZGQkIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDplYjRlYWE5NS1mMzM5LTQzZTctYmY1Yy0yNzFmOThkY2ZiMmIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MGIzNmFjOTctNWViYS00MGU3LTkxODktYmJlOGQ3ZDBmMjRlIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+KYoRLAAAAEdJREFUeNpikRKX/s+ABP79+8fw4vVzBmIBIxD/BwJUQUZGBmLFmBgoBANvAAvMLxiBQ6wYesAMvTCg2ADG0ZQ4CFIiQIABAAu7JS6cCK/xAAAAAElFTkSuQmCC","views":[],"inPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Input Table","description":"Table to partition."}],"outPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"First partition","description":"Rows from the input table that have been selected as per the node configuration."},{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Second partition","description":"Remaining rows from the input table."}],"dynInPorts":[],"dynOutPorts":[],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"sectionName":"Options","fields":[{"name":"First partition type","description":"Defines how the size of the first partition is specified: as a percentage of total rows (relative) or as an absolute number of rows.","optional":false},{"name":"Relative size","description":"Specifies the percentage of rows from the input table to be included in the first partition. Must be between 0 and 100 (inclusive).","optional":false},{"name":"Number of rows","description":"Specifies the absolute number of rows to include in the first partition. If the input table contains fewer rows than specified, all rows are placed in the first table, and the second table will be empty.","optional":false},{"name":"Sampling strategy","description":"Determines how rows are selected for the first partition. Strategies include random, linear, stratified, and first rows (sequential).\n<ul><li><b>Random</b> : Randomly selects rows from the input table. You can optionally specify a random seed for reproducible results.</li><li><b>Stratified</b> : Preserves the distribution of values in the selected group column. You can optionally specify a random seed for reproducible stratified sampling.</li><li><b>Linear</b> : Selects rows evenly spaced across the input table, always including the first and last row. This method is useful for downsampling sorted columns while preserving boundary values.</li><li><b>First rows</b> : Allows you to select the top-most rows of the input table.</li></ul>","optional":false},{"name":"Group column","description":"Specifies the column whose value distribution should be preserved in stratified sampling. Ensures both output tables reflect the same distribution of values.","optional":false},{"name":"Fixed random seed","description":"Optional seed value for random or stratified sampling. Using a seed ensures the same rows are selected each time the node is executed. Without a seed, a different random selection will occur each time.","optional":false},{"name":"If input table is empty","description":"Defines how the node should behave when the input table has no rows. Options include generating empty outputs or failing the execution.","optional":false}]}],"links":[],"kudos":[],"kudosCount":0,"bundleInformation":{"bundleVersion":"5.12.0.v202606261225","bundleName":"KNIME Base Nodes","bundleSymbolicName":"org.knime.base","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.base","featureName":"KNIME Base nodes","featureVersion":"5.12.0.v202606261225","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*bjR3r1yWOznPIEXS"},"frequentSuccessors":[{"id":"*mTvdLptC3aqDqGrI","factoryName":"org.knime.base.node.mine.decisiontree2.predictor2.DecTreePredictorNodeFactory","probability":0.1456713322965267},{"id":"*T2WZJU7jOfyFDtl6","factoryName":"org.knime.base.node.mine.decisiontree2.learner2.DecisionTreeLearnerNodeFactory3","probability":0.09313979609469501},{"id":"*wa3Cexa-0Df6kyDj","factoryName":"org.knime.base.node.mine.knn.KnnNodeFactory","probability":0.035510627268014516},{"id":"*aoLtzFmsAKOw1SBL","factoryName":"org.knime.base.node.mine.neural.mlp2.MLPPredictorNodeFactory","probability":0.027475375842405392},{"id":"*MDnuT47u-1Lrdpba","factoryName":"org.knime.base.node.mine.treeensemble2.node.randomforest.predictor.classification.RandomForestClassificationPredictorNodeFactory","probability":0.026524969759806463},{"id":"*izly7J6Cf2Jpbfso","factoryName":"org.knime.base.node.mine.treeensemble2.node.randomforest.predictor.classification.RandomForestClassificationPredictorNodeFactory2","probability":0.025574563677207535},{"id":"*lISJ_edcE_TG6MVp","factoryName":"org.knime.base.node.mine.bayes.naivebayes.predictor3.NaiveBayesPredictorNodeFactory2","probability":0.024969759806462762},{"id":"*LyRcLydCVnHBRIb0","factoryName":"org.knime.base.node.mine.regression.predict3.RegressionPredictorNodeFactory2","probability":0.023500950406082598},{"id":"*bEpED7jfbp16dueW","factoryName":"org.knime.ext.weka37.predictor3.WekaPredictorNodeFactory","probability":0.020649732158285812},{"id":"*DOkyMaii62U05xZ1","factoryName":"org.knime.base.node.preproc.filter.column.DataColumnSpecFilterNodeFactory","probability":0.019526524969759807}]}
