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 pandas as pd | |
from sklearn.model_selection import train_test_split | |
from sklearn.linear_model import LinearRegression | |
from sklearn.metrics import mean_absolute_error, median_absolute_error | |
class DataProcessor: | |
def __init__(self, features, target_feature, test_size): | |
self.predictors = features | |
self.target_feature = target_feature |
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
from PyQt4 import QtCore | |
from PyQt4.QtCore import pyqtSlot, qDebug | |
import time | |
import sys | |
class AlgorithmExecutor(QtCore.QObject): | |
instanceCounter = 0 | |
started = QtCore.pyqtSignal(int) | |
progress = QtCore.pyqtSignal(int, int) |