code: def test_fit_params():
      iris = load_iris()
      X = iris.data
      y = iris.target
      sample_weight = np.ones(X.shape[0])
      forest = RandomForestClassifier(
          n_estimators=100, random_state=123
      )
      sfs = SFS(estimator=forest, verbose=0)
      sfs.fit(X, y, sample_weight=sample_weight)
      assert sfs.k_feature_idx_ == (3,)
  
imports: import numpy
  import pandas
  from numpy import nan
  from numpy.testing import assert_almost_equal
  from packaging.version import Version
  from sklearn import __version__
  from sklearn.datasets import load_iris
  from sklearn.decomposition import PCA
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.linear_model import LinearRegression
  from sklearn.metrics import accuracy_score, make_scorer, roc_auc_score
  from sklearn.model_selection import GridSearchCV, GroupKFold
  from sklearn.neighbors import KNeighborsClassifier
  from sklearn.pipeline import Pipeline
  from mlxtend.classifier import SoftmaxRegression
  from mlxtend.data import boston_housing_data
  from mlxtend.feature_selection import SequentialFeatureSelector
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 4 for calling a global function with example usage: test_fit_params() without return types