From c25c1b177ae60c4bf9727295f6e96e60055c0c8c Mon Sep 17 00:00:00 2001
From: Jashan <jashanpreet.singh0904@gmail.com>
Date: Wed, 16 Feb 2022 21:57:26 -0500
Subject: [PATCH] Add Skeleton Code

---
 .DS_Store                              | Bin 0 -> 6148 bytes
 ModelCreation/DecisionTreeCreation.py  |   4 +++
 ModelCreation/LogRegressionCreation.py |   4 +++
 ModelCreation/ModelCreation.py         |  33 +++++++++++++++++++++++++
 ModelCreation/RandomForestCreation.py  |   4 +++
 ModelCreation/XGBoostCreation.py       |   4 +++
 6 files changed, 49 insertions(+)
 create mode 100644 .DS_Store
 create mode 100644 ModelCreation/DecisionTreeCreation.py
 create mode 100644 ModelCreation/LogRegressionCreation.py
 create mode 100644 ModelCreation/ModelCreation.py
 create mode 100644 ModelCreation/RandomForestCreation.py
 create mode 100644 ModelCreation/XGBoostCreation.py

diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..859f03292fef24d733d82bd24c401be533d6abac
GIT binary patch
literal 6148
zcmZQzU|@7AO)+F(5MW?n;9!8zEL;p&0Z1N%F(jFwBFrH3z-HtyI5QM6q%tHjltAT1
zsnHM^4S~TM0-(Ih%izn9&yd29%7C1IGa2$3@{-Dn3zBm3lNcBnwkH+jWEPhg7+hmy
zVrF4wW9MM!;O2-8&d4thE=epYEp|#QiU#pQ^7C_&VC=-Cu*}r*cmWaT{JfIH%)Hbh
zkdolcl+>ieqL}c^yp;TMr~J~qlwz=6s00Tm2WPy1cy+ajp{b67k$J6-LbaulfsTTS
zu~}^`Cx@uAzI9N1c1~_yekUYs85too122?@QC$oS40t@4nOp|-Ame732k#3Az`V%G
z#m&RZ$1fl#BrGT*C@Lx{CN3%=DJdN<Ae@w#oSj|-a=LSVPJWS7PHAd%dQoOda6w{n
zW?p(kNoqw&aAs9%ynqmz(xB9oID}A0WkG7ZfCxeWY@B;hYHA+XJpZ(`;?$Cecme+6
z<f8nXoPhk|%#zIfyhtS3$e7}c{BqBd)LhTJwETDhp|Z@>a{mI5vf{ARqT<Z_JPiF2
zk%>h`iFxU%PL;7aiAkwB{&`OMB_;W}AeA7~lJoNdic&!)MPw%D=Yjm9Z2tiguF4MH
zFop(%A;6#vVK6Xo2r!1^CFZ7baw<DSKm|D%v>6;3d>O(RvKguvCNj)rSkJJV;RM57
zhW89V8QB>n8I>5d8BG{%8SNQ87(E%i83Pyt8G|6YnP8DC1L4C+#%TPJTNYfDmy@5D
z4ym7Dx<+Ye2tY%XgB!{prA9+wGz3ON02TtE@<9Pwb~-@m1_%w3Vqj!o0Cxcx85mfQ
z^nm&lAUTj$5Dn4_qCr|27(pzs8DOmpj8LtN;BE*510%Rg0;0j%85kMB+8G!bz}gvL
z^*kd)I|C!sW=3cag%NB!0|O&OI|Cy`JIr~b^k@i-h5$4KKy80e-yc-}yD~7~>i<Jk
zk5Z!{Fd72GF$5S{T!LMkz?Cv~?}6%CP<@&Jl?K)Rpz4?rR8K?nfs}w{nIHp-5?~HQ
d4x|-S?SrdgMg~YtKH3m~h0rKH8UpkW0RTQg&bt5r

literal 0
HcmV?d00001

diff --git a/ModelCreation/DecisionTreeCreation.py b/ModelCreation/DecisionTreeCreation.py
new file mode 100644
index 0000000..5562959
--- /dev/null
+++ b/ModelCreation/DecisionTreeCreation.py
@@ -0,0 +1,4 @@
+import ModelCreation
+class DecisionTreeCreation(ModelCreation):
+    def __init__(self):
+        super().__init__()
diff --git a/ModelCreation/LogRegressionCreation.py b/ModelCreation/LogRegressionCreation.py
new file mode 100644
index 0000000..a045c28
--- /dev/null
+++ b/ModelCreation/LogRegressionCreation.py
@@ -0,0 +1,4 @@
+import ModelCreation
+class LogRegressionCreation(ModelCreation):
+    def __init__(self):
+        super().__init__()
\ No newline at end of file
diff --git a/ModelCreation/ModelCreation.py b/ModelCreation/ModelCreation.py
new file mode 100644
index 0000000..15a7568
--- /dev/null
+++ b/ModelCreation/ModelCreation.py
@@ -0,0 +1,33 @@
+import pandas as pd 
+from sklearn.model_selection import train_test_split
+import numpy as np
+
+class ModelCreation:
+    def __init__(self, data, filename, averagePrecision):
+        self.data = data
+        self.filename = filename
+        self.averagePrecision = averagePrecision
+    
+    def construct(self, data):
+        return
+    
+    def fit(self):
+        return
+    
+    def save(self, filename):
+        return
+    
+    def predictProbability(self):
+        return
+    
+    def ROC(self):
+        return
+    
+    def AUC(self):
+        return
+    
+    def precisionCurve(self):
+        return
+
+    def averagePrecision(self):
+        return
\ No newline at end of file
diff --git a/ModelCreation/RandomForestCreation.py b/ModelCreation/RandomForestCreation.py
new file mode 100644
index 0000000..e081a5e
--- /dev/null
+++ b/ModelCreation/RandomForestCreation.py
@@ -0,0 +1,4 @@
+import ModelCreation
+class RandomForestCreation(ModelCreation):
+    def __init__(self):
+        super().__init__()
\ No newline at end of file
diff --git a/ModelCreation/XGBoostCreation.py b/ModelCreation/XGBoostCreation.py
new file mode 100644
index 0000000..661b8c3
--- /dev/null
+++ b/ModelCreation/XGBoostCreation.py
@@ -0,0 +1,4 @@
+import ModelCreation
+class XGBoostCreation(ModelCreation):
+    def __init__(self):
+        super().__init__()
\ No newline at end of file
-- 
GitLab