Skip to content

Conversation

@BitaEt
Copy link
Owner

@BitaEt BitaEt commented Oct 6, 2022

No description provided.

sql1 = "select * from baseball.batter_counts"
database = "baseball"
user = "bita"
password = "salam"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bita don't add your your password onto a file on github, you want to use an environment variable or something so people dont know it.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you added the pre-commit hook, it would have caught that and not let it get committed!

)

sql1 = "select * from baseball.batter_counts"
database = "baseball"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't put your password in plain text on the internet, you're going to want to use an environment variable.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

numTrees=100,
predictionCol="pred_survived",
)
random_forest_fitted = random_forest.fit(results)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know if your transformer is working right

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I changed if from random forest regressor to linear regression. for me it runs without error, can you run it too?

Copy link

@TDerig23 TDerig23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left an extra comment about your transformer

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.

4 participants