featrixsphere 0.2.5978__py3-none-any.whl → 0.2.6127__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- featrixsphere/__init__.py +1 -1
- featrixsphere/client.py +8 -1
- {featrixsphere-0.2.5978.dist-info → featrixsphere-0.2.6127.dist-info}/METADATA +1 -1
- {featrixsphere-0.2.5978.dist-info → featrixsphere-0.2.6127.dist-info}/RECORD +7 -7
- {featrixsphere-0.2.5978.dist-info → featrixsphere-0.2.6127.dist-info}/WHEEL +0 -0
- {featrixsphere-0.2.5978.dist-info → featrixsphere-0.2.6127.dist-info}/entry_points.txt +0 -0
- {featrixsphere-0.2.5978.dist-info → featrixsphere-0.2.6127.dist-info}/top_level.txt +0 -0
featrixsphere/__init__.py
CHANGED
featrixsphere/client.py
CHANGED
|
@@ -1958,7 +1958,7 @@ class FeatrixSphereClient:
|
|
|
1958
1958
|
ax.text(0.5, 0.5, f'Error plotting embedding: {e}',
|
|
1959
1959
|
transform=ax.transAxes, ha='center', va='center')
|
|
1960
1960
|
|
|
1961
|
-
def create_embedding_space(self, name: str, s3_training_dataset: str, s3_validation_dataset: str, s3_visualization_dataset: str = None, webhooks: Dict[str, str] = None, user_metadata: Dict[str, Any] = None) -> SessionInfo:
|
|
1961
|
+
def create_embedding_space(self, name: str, s3_training_dataset: str, s3_validation_dataset: str, s3_visualization_dataset: str = None, webhooks: Dict[str, str] = None, user_metadata: Dict[str, Any] = None, foundation_mode: bool = None) -> SessionInfo:
|
|
1962
1962
|
"""
|
|
1963
1963
|
Create a new embedding space from S3 training and validation datasets.
|
|
1964
1964
|
|
|
@@ -1969,6 +1969,9 @@ class FeatrixSphereClient:
|
|
|
1969
1969
|
s3_visualization_dataset: Optional S3 URL for visualization dataset for epoch projection animations (must start with 's3://')
|
|
1970
1970
|
webhooks: Optional dict with webhook configuration keys (webhook_callback_secret, s3_backup_url, model_id_update_url)
|
|
1971
1971
|
user_metadata: Optional user metadata for ES/SP identification (max 32KB)
|
|
1972
|
+
foundation_mode: Force foundation training mode for large datasets. If True, uses foundation
|
|
1973
|
+
training (chunked iteration, SQLite-backed splits). If False, uses standard
|
|
1974
|
+
training. If None (default), auto-detects based on dataset size (>=100k rows).
|
|
1972
1975
|
|
|
1973
1976
|
Returns:
|
|
1974
1977
|
SessionInfo for the newly created embedding space session
|
|
@@ -1989,6 +1992,8 @@ class FeatrixSphereClient:
|
|
|
1989
1992
|
print(f" Validation: {s3_validation_dataset}")
|
|
1990
1993
|
if s3_visualization_dataset:
|
|
1991
1994
|
print(f" Visualization: {s3_visualization_dataset}")
|
|
1995
|
+
if foundation_mode is not None:
|
|
1996
|
+
print(f" Foundation mode: {'enabled' if foundation_mode else 'disabled'}")
|
|
1992
1997
|
|
|
1993
1998
|
data = {
|
|
1994
1999
|
"name": name,
|
|
@@ -2003,6 +2008,8 @@ class FeatrixSphereClient:
|
|
|
2003
2008
|
import json
|
|
2004
2009
|
data['user_metadata'] = json.dumps(user_metadata)
|
|
2005
2010
|
print(f"User metadata: {user_metadata}")
|
|
2011
|
+
if foundation_mode is not None:
|
|
2012
|
+
data['foundation_mode'] = foundation_mode
|
|
2006
2013
|
|
|
2007
2014
|
response_data = self._post_json("/compute/create-embedding-space", data)
|
|
2008
2015
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
featrixsphere/__init__.py,sha256=
|
|
2
|
-
featrixsphere/client.py,sha256=
|
|
1
|
+
featrixsphere/__init__.py,sha256=tnkl4O62quDkp8n4aXzKQu1ELKyF5yfqpgmcjA9-rnY,2190
|
|
2
|
+
featrixsphere/client.py,sha256=mxUcqkhMkAsYpwJjdamQdXB_wRlnV-TUCU71xA289tA,451235
|
|
3
3
|
featrixsphere/api/__init__.py,sha256=quyvuPphVj9wb6v8Dio0SMG9iHgJAmY3asHk3f_zF10,1269
|
|
4
4
|
featrixsphere/api/api_endpoint.py,sha256=i3eCWuaUXftnH1Ai6MFZ7md7pC2FcRAIRO87CBZhyEQ,9000
|
|
5
5
|
featrixsphere/api/client.py,sha256=TdpujNsJxO4GfPMI_KoemQWV89go3KuK6OPAo9jX6Bs,12574
|
|
@@ -10,8 +10,8 @@ featrixsphere/api/prediction_result.py,sha256=Tx7LXzF4XT-U3VqAN_IFc5DvxPnygc78M2
|
|
|
10
10
|
featrixsphere/api/predictor.py,sha256=-vwCKpCfTgZKqzpDnzy1iYZQ-1-MGW8aErvxM9trktw,17652
|
|
11
11
|
featrixsphere/api/reference_record.py,sha256=-XOTF6ynznB3ouz06w3AF8X9SVId0g_dO20VvGNesUQ,7095
|
|
12
12
|
featrixsphere/api/vector_database.py,sha256=BplxKkPnAbcBX1A4KxFBJVb3qkQ-FH9zi9v2dWG5CgY,7976
|
|
13
|
-
featrixsphere-0.2.
|
|
14
|
-
featrixsphere-0.2.
|
|
15
|
-
featrixsphere-0.2.
|
|
16
|
-
featrixsphere-0.2.
|
|
17
|
-
featrixsphere-0.2.
|
|
13
|
+
featrixsphere-0.2.6127.dist-info/METADATA,sha256=Ew2yMa6rOSrsv1bSq38HXJogU0O5bliojWkbyQYGWV0,16232
|
|
14
|
+
featrixsphere-0.2.6127.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
featrixsphere-0.2.6127.dist-info/entry_points.txt,sha256=QreJeYfD_VWvbEqPmMXZ3pqqlFlJ1qZb-NtqnyhEldc,51
|
|
16
|
+
featrixsphere-0.2.6127.dist-info/top_level.txt,sha256=AyN4wjfzlD0hWnDieuEHX0KckphIk_aC73XCG4df5uU,14
|
|
17
|
+
featrixsphere-0.2.6127.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|