rainLinear' :: (Sample a) => [a] -> Solution
trainLinear' train =
    let trainFeatures = featureMatrix train
        trainTruth    = PV.fromList . map target $ train
    in solve trainFeatures trainTruth

trainLinear' :: (Sample a) => [a] -> Solution
trainLinear' train =
    let trainFeatures = featureMatrix train
        trainTruth    = PV.fromList . map target $ train
    in solve trainFeatures trainTruth
trainLinear' train =
    let trainFeatures = featureMatrix train
        trainTruth    = PV.fromList . map target $ train
    in solve trainFeatures trainTruth