diff --git a/.DS_Store b/.DS_Store index 106eb59f4485db07cba0073733956842b640812f..942fd30a9f40b152c4f4b81765b733297b33664c 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Models/TDA_Prediction.py b/Models/TDA_Prediction.py deleted file mode 100644 index bd9c6e29e6784898059c36e0dc382088efe91ba8..0000000000000000000000000000000000000000 --- a/Models/TDA_Prediction.py +++ /dev/null @@ -1,64 +0,0 @@ -def dataload(): - """ - upload toy datasets from scikit-learn - """ - data = None - return data - -def datafetch(file_name): - """ - upload real world datasets from scikit-learn - """ - data = None - print("reading data from:", file_name) - return data - -def descriptive_statistic(df): - """ - Provides brief descriptive statistics on dataset. - Takes dataframe as input. - """ - print("Type : ", None, "\n\n") - print("Shape : ", None) - print("Head -- \n", None) - print("\n\n Tail -- \n", None) - print("Describe : ", None) - -def model_selection(df): - """ - Takes dateframe as input. Performs foward/backward stepwise - regression. Returns best model for both methods. - """ - null_fit = None - foward_step = None - backward_step = None - return foward_step, backward_step - -def MSE_fit(fit): - """ - Takes in a fitted model as the input. - Calculates the MSU of the fitted model. - Outputs the model's MSE. - """ - MSE = None - return MSE - -def accuracy_metrics(fit, MSE): - """ - This function is used for model validation. It returns a dictionary - of several regression model accuracy metrics. Its inputs are a fitted model - and the MSE of the fitted model. - """ - d = dict() - sumObj = None - SSE = None - n = None - p = None - pr = None - d['R2'] = None - d['R2ad'] = None - d['AIC'] = None - d['BIC'] = None - d['PRESS'] = None - d['Cp']= None - return d \ No newline at end of file diff --git a/Models/__pycache__/TDA_Prediction.cpython-37.pyc b/Models/__pycache__/TDA_Prediction.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..677893168cd75bddce499a302a50388551b43c8c Binary files /dev/null and b/Models/__pycache__/TDA_Prediction.cpython-37.pyc differ diff --git a/Topological_Machine_Learning/.DS_Store b/Topological_Machine_Learning/.DS_Store deleted file mode 100644 index 7196b2f952ea476a0da897cb355f6bf9b0581816..0000000000000000000000000000000000000000 Binary files a/Topological_Machine_Learning/.DS_Store and /dev/null differ diff --git a/Topological_Machine_Learning/.ipynb_checkpoints/Untitled1-checkpoint.ipynb b/Topological_Machine_Learning/.ipynb_checkpoints/Untitled1-checkpoint.ipynb deleted file mode 100644 index 2fd64429bf421126b7000c94ce0f6fd186fbd01f..0000000000000000000000000000000000000000 --- a/Topological_Machine_Learning/.ipynb_checkpoints/Untitled1-checkpoint.ipynb +++ /dev/null @@ -1,6 +0,0 @@ -{ - "cells": [], - "metadata": {}, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/Topological_Machine_Learning/.ipynb_checkpoints/__init__.py-checkpoint.ipynb b/Topological_Machine_Learning/.ipynb_checkpoints/__init__.py-checkpoint.ipynb deleted file mode 100644 index 2fd64429bf421126b7000c94ce0f6fd186fbd01f..0000000000000000000000000000000000000000 --- a/Topological_Machine_Learning/.ipynb_checkpoints/__init__.py-checkpoint.ipynb +++ /dev/null @@ -1,6 +0,0 @@ -{ - "cells": [], - "metadata": {}, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/Topological_Machine_Learning/TDA_Prediction.py b/Topological_Machine_Learning/TDA_Prediction.py deleted file mode 100644 index bd9c6e29e6784898059c36e0dc382088efe91ba8..0000000000000000000000000000000000000000 --- a/Topological_Machine_Learning/TDA_Prediction.py +++ /dev/null @@ -1,64 +0,0 @@ -def dataload(): - """ - upload toy datasets from scikit-learn - """ - data = None - return data - -def datafetch(file_name): - """ - upload real world datasets from scikit-learn - """ - data = None - print("reading data from:", file_name) - return data - -def descriptive_statistic(df): - """ - Provides brief descriptive statistics on dataset. - Takes dataframe as input. - """ - print("Type : ", None, "\n\n") - print("Shape : ", None) - print("Head -- \n", None) - print("\n\n Tail -- \n", None) - print("Describe : ", None) - -def model_selection(df): - """ - Takes dateframe as input. Performs foward/backward stepwise - regression. Returns best model for both methods. - """ - null_fit = None - foward_step = None - backward_step = None - return foward_step, backward_step - -def MSE_fit(fit): - """ - Takes in a fitted model as the input. - Calculates the MSU of the fitted model. - Outputs the model's MSE. - """ - MSE = None - return MSE - -def accuracy_metrics(fit, MSE): - """ - This function is used for model validation. It returns a dictionary - of several regression model accuracy metrics. Its inputs are a fitted model - and the MSE of the fitted model. - """ - d = dict() - sumObj = None - SSE = None - n = None - p = None - pr = None - d['R2'] = None - d['R2ad'] = None - d['AIC'] = None - d['BIC'] = None - d['PRESS'] = None - d['Cp']= None - return d \ No newline at end of file diff --git a/Topological_Machine_Learning/__init__.py b/Topological_Machine_Learning/__init__.py deleted file mode 100644 index 2fd64429bf421126b7000c94ce0f6fd186fbd01f..0000000000000000000000000000000000000000 --- a/Topological_Machine_Learning/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -{ - "cells": [], - "metadata": {}, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/Topological_Machine_Learning/__init__.py.ipynb b/Topological_Machine_Learning/__init__.py.ipynb deleted file mode 100644 index 30349492904d6ab76fc13a00d78259b0fb9f8b6a..0000000000000000000000000000000000000000 --- a/Topological_Machine_Learning/__init__.py.ipynb +++ /dev/null @@ -1,32 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.7.3" - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/Topological_Machine_Learning/__pycache__/__init__.cpython-37.pyc b/Topological_Machine_Learning/__pycache__/__init__.cpython-37.pyc deleted file mode 100644 index 1cdb03ac8b5d5281d83237dfc0207ee9fc9ba3dd..0000000000000000000000000000000000000000 Binary files a/Topological_Machine_Learning/__pycache__/__init__.cpython-37.pyc and /dev/null differ