|
|
|
@@ -0,0 +1,50 @@ |
|
|
|
import numpy as np |
|
|
|
import pandas as pd |
|
|
|
from typing import List, Set, Dict |
|
|
|
|
|
|
|
|
|
|
|
class LearnwareMarket: |
|
|
|
def __init__(self): |
|
|
|
pass |
|
|
|
|
|
|
|
def _reload_market(self, a: np.ndarray, b: float, c: List[int], d: Dict[int, float]) -> pd.DataFrame: |
|
|
|
"""_summary_ |
|
|
|
|
|
|
|
Parameters |
|
|
|
---------- |
|
|
|
a : np.ndarray |
|
|
|
_description_ |
|
|
|
b : float |
|
|
|
_description_ |
|
|
|
c : List[int] |
|
|
|
_description_ |
|
|
|
d : Dict[int, float] |
|
|
|
_description_ |
|
|
|
|
|
|
|
Returns |
|
|
|
------- |
|
|
|
pd.DataFrame |
|
|
|
_description_ |
|
|
|
|
|
|
|
Raises |
|
|
|
------ |
|
|
|
NotImplemented |
|
|
|
_description_ |
|
|
|
""" |
|
|
|
|
|
|
|
raise NotImplemented(f"_reload_market is not implemented") |
|
|
|
|
|
|
|
def add_learnware(self): |
|
|
|
raise NotImplemented("add_learnware is not implemented") |
|
|
|
|
|
|
|
def search_learnware(self): |
|
|
|
raise NotImplemented("search_learnwars is not implemented") |
|
|
|
|
|
|
|
def get_learnware_by_ids(self): |
|
|
|
raise NotImplemented("get_learnware_by_ids is not implemented") |
|
|
|
|
|
|
|
def delete_learnware(self): |
|
|
|
raise NotImplemented("delete_learnware is not implemented") |
|
|
|
|
|
|
|
def get_sematic_list(self): |
|
|
|
raise NotImplemented("get_sematic_list is not implemented") |