Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Feature Neutralization

feature neutralization(factor neutralization)はKaggleやNumeraiで使われる特徴量の変換手法

feature neutralizationはneutralにしたい変数を、ターゲットに対して直交化して置き換える処理をしています。

feature neutralizationによる正則化 | Coding Memorandum

/tmp/ipykernel_331/527208119.py:13: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
  correction = proportion * (exposures.dot(np.linalg.lstsq(exposures, scores)[0]))
<Figure size 640x480 with 1 Axes>