napkin-0.5.14
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Types.Commands.BigQuery

Description

 

Documentation

data Model #

data Replacement #

Instances

Instances details
Generic Replacement # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Associated Types

type Rep Replacement :: Type -> Type #

Show Replacement # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Eq Replacement # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Ord Replacement # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

RenderSql Replacement BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

type Rep Replacement # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

type Rep Replacement = D1 ('MetaData "Replacement" "Napkin.Types.Commands.BigQuery" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'False) (C1 ('MetaCons "Replacement_CreateOnly" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Replacement_CreateIfMissing" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Replacement_CreateOrReplace" 'PrefixI 'False) (U1 :: Type -> Type)))

data ModelType #

Instances

Instances details
Generic ModelType # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Associated Types

type Rep ModelType :: Type -> Type #

Show ModelType # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Eq ModelType # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Ord ModelType # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

RenderSql ModelType BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> ModelType -> Doc #

type Rep ModelType # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

type Rep ModelType = D1 ('MetaData "ModelType" "Napkin.Types.Commands.BigQuery" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'False) (C1 ('MetaCons "ModelType_LinearRegression" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ModelType_LogisticRegression" 'PrefixI 'False) (U1 :: Type -> Type))

data SplitMethod #

Instances

Instances details
Generic SplitMethod # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Associated Types

type Rep SplitMethod :: Type -> Type #

Show SplitMethod # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Eq SplitMethod # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Ord SplitMethod # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

type Rep SplitMethod # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

type Rep SplitMethod = D1 ('MetaData "SplitMethod" "Napkin.Types.Commands.BigQuery" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'False) ((C1 ('MetaCons "SplitMethod_Auto" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SplitMethod_Random" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SplitMethod_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: (C1 ('MetaCons "SplitMethod_Seq" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "SplitMethod_NoSplit" 'PrefixI 'False) (U1 :: Type -> Type))))

data ModelOptions #

Instances

Instances details
Generic ModelOptions # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Associated Types

type Rep ModelOptions :: Type -> Type #

Show ModelOptions # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Eq ModelOptions # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Ord ModelOptions # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

RenderSql ModelOptions BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

type Rep ModelOptions # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

type Rep ModelOptions = D1 ('MetaData "ModelOptions" "Napkin.Types.Commands.BigQuery" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'False) (C1 ('MetaCons "ModelOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelOptions_modelType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModelType) :*: (S1 ('MetaSel ('Just "modelOptions_l1reg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "modelOptions_l2reg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)))) :*: (S1 ('MetaSel ('Just "modelOptions_maxIterations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "modelOptions_splitMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe SplitMethod)) :*: S1 ('MetaSel ('Just "modelOptions_splitEvalFraction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double))))))

data CreateModel #

Instances

Instances details
Generic CreateModel # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Associated Types

type Rep CreateModel :: Type -> Type #

Show CreateModel # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Eq CreateModel # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Ord CreateModel # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

HasDeps CreateModel # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

RenderSql CreateModel BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

type Rep CreateModel # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

type Rep CreateModel = D1 ('MetaData "CreateModel" "Napkin.Types.Commands.BigQuery" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'False) (C1 ('MetaCons "CreateModel" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createModel_modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ref Model)) :*: S1 ('MetaSel ('Just "createModel_replacement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Replacement)) :*: (S1 ('MetaSel ('Just "createModel_modelOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModelOptions) :*: S1 ('MetaSel ('Just "createModel_trainingData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Query))))

data ML_Predict #

Instances

Instances details
Generic ML_Predict # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Associated Types

type Rep ML_Predict :: Type -> Type #

Show ML_Predict # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Eq ML_Predict # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

Ord ML_Predict # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

HasDeps ML_Predict # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

RenderSql ML_Predict BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

type Rep ML_Predict # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

type Rep ML_Predict = D1 ('MetaData "ML_Predict" "Napkin.Types.Commands.BigQuery" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'False) (C1 ('MetaCons "ML_Predict" 'PrefixI 'True) (S1 ('MetaSel ('Just "mlPredict_model") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ref Model)) :*: S1 ('MetaSel ('Just "mlPredict_data") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Query)))