-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tatiana belyukina #11
base: main
Are you sure you want to change the base?
Conversation
Please export IPython notebook to the .py file and include this .py file into the pull request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move you work to the /[username]_code
location, as described in readme
https://github.com/rnd4u-org/2021-knu-cairl#development
…ask1_Titanic/main.py
…na_code/task1_Titanic/requirements.txt
…e/task1_Titanic/main.ipynb
…de/task1_Titanic/titanic.csv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
x_train, y_train, x_test, y_test = load_data() | ||
model = build_model() | ||
|
||
model.fit(x_train, y_train) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using if name == "__main__":
to indicate entry point to program
It also may help you in future if you'll ever try to use multiprocessing
library
Description
First we process the data:
delete this columns ('PassengerId', 'Ticket', 'Name', 'Cabin') because they don't
have any useful information besides column 'Name' from where we get 'Age';
split such columns as "Sex", "Embarked" by values in order to get table with '0' and '1'
"Age", "Fare", "Parch", "SibSp" split by intervals of values;
Training:
tried different models from sklearn. Compared accuracies and chose SVC
with radial basis function that has ~82% accuracy, and 77.5 on kaggle
How has this been tested?