@@ -0,0 +1,871 @@
+class SplitNode:%0A  # TODO Naming convention%0A%0A  %22%22%22%0A  Type: Node%0A  Function: Splits the dataset into 2 sets%0A  Input port requirements: DATASET, PERCENTAGES%0A  Output port promises: a tuple that contains the 2 new sets%0A  %22%22%22%0A%0A  def __init__(self, input_port, output_port1, output_port2):%0A    self.input_port = input_port%0A    self.output_port1 = output_port1%0A    self.output_port2 = output_port2%0A%0A  def run(self):%0A    # TODO Define the function to get the percentages from the port%0A    # TODO Define the function to set the output port splitsets%0A    # TODO Agree on the output ports features%0A    dataset = self.input_port.get()%0A    out1_percentage, out2_percentage = input_port.get_percentages()%0A    out1_end = int(out1_percentage * len(dataset))%0A    out1 = dataset%5B:out1_end%5D%0A    out2 = dataset%5Bout1_end:%5D%0A    self.output_port1.data = out1%0A    self.output_port2.data = out2%0A

Split Node initial commit. Class is created with its primary feature