PROGRAM-1 import csv import random import math import operator Define loadDataset def loadDataset(filename,split,trainingSet=[],testSet=[]): with open(filename) as csvfile: lines = csv.reader(csvfile) dataset = list(lines) for x in range(len(dataset)-1): for y in range(4): dataset[x][y] = float(dataset[x][y]) if random.random()