Skip to content

Commit

Permalink
Changed as per the new repo structure
Browse files Browse the repository at this point in the history
  • Loading branch information
darshantina1524 authored and darshantina1524 committed Sep 18, 2020
1 parent e3f5db0 commit 2bcb709
Show file tree
Hide file tree
Showing 4 changed files with 16,400 additions and 1 deletion.
File renamed without changes.
16 changes: 16 additions & 0 deletions train-test/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
// instructions about running the code and the dataset and other relevant information. I recommend adding a brief about what the goal of the file is and what is the expected output.

The code for train test split is in a Jupyter notebook that depends on the dataset falldetection.csv in the dataset folder.

After viewing this, you can successfully
1. Use sklearn library to perform a train test split
2. How to resolve the issue of data imbalance
3. Perform and evaluate cross validation results

How to run this code?
Once you have cloned the repository, and assuming you have python installed follow these steps

1. Run jupyter notebook in your terminal ( root structure of this project )
2. Follow the folder structure and open Train_Test_Validation.ipynb
3. Run each cell on the jupyter notebook using [shift + Enter] or the RUN cell on the top
4. Make sure you have the dataset in the same directory as on the code, if not point it to the same directory
5. Run every cell one by one to understand the output. ( Comments have been provided to help you walk through the output )
2 changes: 1 addition & 1 deletion train-test/Train_Test_Validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"metadata": {},
"outputs": [],
"source": [
"Data = pd.read_csv('dataset/falldeteciton.csv')"
"Data = pd.read_csv('dataset/falldetection.csv')"
]
},
{
Expand Down
Loading

0 comments on commit 2bcb709

Please sign in to comment.