CSE 514 Programming assignment
Dijkstra Liu:
- Artificial Neural Network
- Supported Vector Machine
Zheyuan Wu:
- K-Nearest Neighbors
- Random Forest
The code using this module to import the data should have the following structure
preprocessing techniques are applied in data import module, include dropping na and one-hot encoding for categorical values.
- project_folder
- data
- __init__.py
- customer_personality_analysis.py
- marketing_campaign.csv
- part_A
- your_code.py
and in your_code.py
, import the module using the example code follow:
# appending a path
sys.path.append(os.path.join(Path(__file__).resolve().parent.parent,'customer_personality_analysis'))
# print(Path(__file__).resolve().parent.parent)
from customer_personality_analysis import customer_personality_analysis
cpa_data = customer_personality_analysis().data()