Skip to content
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

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open

Tatiana belyukina #11

wants to merge 32 commits into from

Conversation

TatianaBelyukina
Copy link
Collaborator

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?

  • Executed code few times from start to end without crashing
  • Only ran once
  • Code have dedicated unit tests

@meanalexrin
Copy link
Collaborator

Please export IPython notebook to the .py file and include this .py file into the pull request
https://stackoverflow.com/a/52885953

Copy link
Collaborator

@meanalexrin meanalexrin left a 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

meanalexrin
meanalexrin previously approved these changes Feb 8, 2021
Copy link
Collaborator

@meanalexrin meanalexrin left a 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)
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants