Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Car ¶
type Car struct { ID CarID `json:"id"` Token string `json:"token"` Year int `json:"year"` Color divar.Color `json:"color"` UsageKM int `json:"usage_km"` BodyStatus divar.BodyStatus `json:"body_status"` CashCost int `json:"cash_cost"` MotorStatus divar.MotorStatus `json:"motor_status"` FrontChassisStatus divar.ChassisStatus `json:"front_chassis_status"` RearChassisStatus divar.ChassisStatus `json:"rear_chassis_status"` ThirdPartyInsuranceDue int `json:"third_party_insurance_due"` Gearbox divar.Gearbox `json:"gearbox"` }
type CarService ¶
type CarStorage ¶
type PCar ¶
type PCar struct { ID PCarID Token string Year int UsageKM int Abi int Albaluyi int Atlasi int Bademjani int Boronz int Bezh int Banafsh int PoostPiyazi int Titanium int Khakestari int Khaki int Dolfini int Zoghali int Zard int Zereshki int Zeytooni int Sabz int Sorbi int Sormeyi int Sefid int SefidSadafi int Talayi int Toosi int Adasi int Annabi int Ghermez int Ghahveyi int CarbonBlack int Kerem int Gilasi int Mesi int Meshki int Moka int Narenji int NogrAbi int Noghreyi int NookMedadi int Yashmi int BadaneSalem int KhatKhashJozi int SafkariBirang int RangShodegi int DorRang int TamamRang int Tasadofi int Oraghi int CashCost int MotorSalem int NiyazBeTaamir int TaavizShode int RearChasisSalem int RearZarbeKhorde int RearChasisRangShode int FrontChasisSalem int FrontZarbeKhorde int FrontChasisRangShode int ThirdPartyInsuranceDue int Dandeyi int Automatic int }
PCar represents one-hot-encoded Car.
type PCarService ¶
type PreProcessService ¶
type PreProcessService interface { List(context.Context) ([]Car, error) Year(ctx context.Context, minYear, maxYear int) error Color(context.Context) error UsageKM(context.Context) error BodyStatus(context.Context) error CashCost(context.Context) error MotorStatus(context.Context) error FrontChassisStatus(context.Context) error RearChassisStatus(context.Context) error InsuranceDue(context.Context) error GearBox(context.Context) error }
Click to show internal directories.
Click to hide internal directories.