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

Implementing Train-Test Split Functionality Without External Libraries #1 #38

Closed
wants to merge 1 commit into from

Conversation

gauravghodinde
Copy link

Fixes: #1

Shuffle the rows of the DataFrame using the sample() method with the parameter frac as 1, it determines what fraction of total instances need to be returned.

image

then separate that data into x and y
image

image

@darshbaxi
Copy link
Contributor

Awesome, looks good.

@darshbaxi darshbaxi closed this Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementing Train-Test Split Functionality Without External Libraries
2 participants