mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-08 12:37:44 +00:00
feat: filter feature which is high correlation to former implemented features (#145)
* filter feature which is high correlation to former implemented features * use multiprocessing to calculate IC and some minor fix
This commit is contained in:
@@ -127,8 +127,6 @@ class PDVectorBase(VectorBase):
|
||||
else:
|
||||
self.vector_df = pd.DataFrame(columns=["id", "label", "content", "embedding"])
|
||||
|
||||
logger.info(f"VectorBase loaded, shape={self.vector_df.shape}")
|
||||
|
||||
def shape(self):
|
||||
return self.vector_df.shape
|
||||
|
||||
@@ -205,4 +203,3 @@ class PDVectorBase(VectorBase):
|
||||
|
||||
def save(self, vector_df_path, **kwargs):
|
||||
self.vector_df.to_pickle(vector_df_path)
|
||||
logger.info(f"Save vectorBase vector_df to: {vector_df_path}")
|
||||
|
||||
Reference in New Issue
Block a user