Documentation ¶
Index ¶
- type AppInterface
- func (_m *AppInterface) BrainList() ([]entity.BrainInterface, error)
- func (_m *AppInterface) CreateBrain(name string, description string) (entity.BrainInterface, error)
- func (_m *AppInterface) DeleteBrain(id int64) error
- func (_m *AppInterface) GetBrainByReference(reference string) (entity.BrainInterface, error)
- func (_m *AppInterface) GetClassByID(classID int64) (entity.ClassInterface, error)
- func (_m *AppInterface) HumanizedPredict(brainID int64, text string) (entity.HumanizedPrediction, error)
- func (_m *AppInterface) Predict(brainID int64, text string) (entity.Prediction, error)
- func (_m *AppInterface) Train(brainID int64, samples []entity.Sample) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInterface ¶
AppInterface is an autogenerated mock type for the AppInterface type
func (*AppInterface) BrainList ¶
func (_m *AppInterface) BrainList() ([]entity.BrainInterface, error)
BrainList provides a mock function with given fields:
func (*AppInterface) CreateBrain ¶
func (_m *AppInterface) CreateBrain(name string, description string) (entity.BrainInterface, error)
CreateBrain provides a mock function with given fields: name, description
func (*AppInterface) DeleteBrain ¶
func (_m *AppInterface) DeleteBrain(id int64) error
DeleteBrain provides a mock function with given fields: id
func (*AppInterface) GetBrainByReference ¶
func (_m *AppInterface) GetBrainByReference(reference string) (entity.BrainInterface, error)
GetBrainByReference provides a mock function with given fields: reference
func (*AppInterface) GetClassByID ¶
func (_m *AppInterface) GetClassByID(classID int64) (entity.ClassInterface, error)
GetClassByID provides a mock function with given fields: classID
func (*AppInterface) HumanizedPredict ¶
func (_m *AppInterface) HumanizedPredict(brainID int64, text string) (entity.HumanizedPrediction, error)
HumanizedPredict provides a mock function with given fields: brainID, text
func (*AppInterface) Predict ¶
func (_m *AppInterface) Predict(brainID int64, text string) (entity.Prediction, error)
Predict provides a mock function with given fields: brainID, text
Click to show internal directories.
Click to hide internal directories.