Repository navigation
Optimizing ML pipeline #11409
Answered
by
trivialfis
jankogasic
asked this question in
Q&A
|
Hi, My pipeline setup:
Is there a way to make this process faster? To skip some steps? Potential ideas:I would try to avoid pandas in step 3 and use Is there a way to load data from Spark memory or HDFS directly to |
Answered by
trivialfis
Apr 16, 2025
Replies: 2 comments
|
Not a Spark expert. But here are a few things that might be useful:
|
0 replies
Answer selected by
jankogasic
|
In addition to the above comment, you can consider using the (py)spark interface of XGBoost. However, getting rid of the text-based inputs should be the first step before trying anything else. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not a Spark expert. But here are a few things that might be useful:
QuantileDMatixfor thedtrain(training dataset) instead ofDMatrixwhen using thehisttree method (default).DMatrixto load files, use pandas to load parquet or numpy to load its data, then pass them to XGBoost.