Skip to content

Instantly share code, notes, and snippets.

@nickinack
Last active November 22, 2020 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickinack/c7d1338946b41121aca9e6db7a626468 to your computer and use it in GitHub Desktop.
Save nickinack/c7d1338946b41121aca9e6db7a626468 to your computer and use it in GitHub Desktop.
import numpy as np
import matplotlib.pyplot as plt
import random
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn import preprocessing
from sklearn.tree import DecisionTreeClassifier
from sklearn.ensemble import RandomForestRegressor
from sklearn.linear_model import LinearRegression
from sklearn import metrics
from sklearn.metrics import f1_score
from sklearn.metrics import mean_squared_error
import sys
from typing import Sequence
sys.path.append("..")
from geneticalg.core.AbstractSolver import AbstractSolver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment