Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions bin/functions/hibench_prop_env_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@
# For Random Forest
NUM_EXAMPLES_RF="hibench.rf.examples",
NUM_FEATURES_RF="hibench.rf.features",
NUMTREES="hibench.rf.numTrees",
NUMCLASSES="hibench.rf.numClasses",
FEATURESUBSETSTRATEGY="hibench.rf.featureSubsetStrategy",
IMPURITY="hibench.rf.impurity",
MAXDEPTH="hibench.rf.maxDepth",
MAXBINS="hibench.rf.maxBins",
NUM_TREES_RF="hibench.rf.numTrees",
NUM_CLASSES_RF="hibench.rf.numClasses",
FEATURE_SUBSET_STRATEGY_RF="hibench.rf.featureSubsetStrategy",
IMPURITY_RF="hibench.rf.impurity",
MAX_DEPTH_RF="hibench.rf.maxDepth",
MAX_BINS_RF="hibench.rf.maxBins",
# For SVD
NUM_EXAMPLES_SVD="hibench.svd.examples",
NUM_FEATURES_SVD="hibench.svd.features",
Expand Down
12 changes: 6 additions & 6 deletions bin/workloads/ml/rf/spark/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ rmr_hdfs $OUTPUT_HDFS || true

SIZE=`dir_size $INPUT_HDFS`
START_TIME=`timestamp`
OPTION="--numTrees $NUMTREES \
--numClasses $NUMCLASSES \
--featureSubsetStrategy $FEATURESUBSETSTRATEGY \
--impurity $IMPURITY \
--maxDepth $MAXDEPTH \
--maxBins $MAXBINS"
OPTION="--numTrees $NUM_TREES_RF \
--numClasses $NUM_CLASSES_RF \
--featureSubsetStrategy $FEATURE_SUBSET_STRATEGY_RF \
--impurity $IMPURITY_RF \
--maxDepth $MAX_DEPTH_RF \
--maxBins $MAX_BINS_RF"
run_spark_job com.intel.hibench.sparkbench.ml.RandomForestClassification $OPTION $INPUT_HDFS
END_TIME=`timestamp`

Expand Down