Skip to content

Instantly share code, notes, and snippets.

@mdfarragher
Last active July 21, 2020 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdfarragher/419552f44f2ab74778ef2b7d0046b39f to your computer and use it in GitHub Desktop.
Save mdfarragher/419552f44f2ab74778ef2b7d0046b39f to your computer and use it in GitHub Desktop.
/// The TaxiTrip class represents a single taxi trip.
[<CLIMutable>]
type TaxiTrip = {
[<LoadColumn(0)>] VendorId : string
[<LoadColumn(5)>] RateCode : string
[<LoadColumn(3)>] PassengerCount : float32
[<LoadColumn(4)>] TripDistance : float32
[<LoadColumn(9)>] PaymentType : string
[<LoadColumn(10)>] [<ColumnName("Label")>] FareAmount : float32
}
/// The TaxiTripFarePrediction class represents a single far prediction.
[<CLIMutable>]
type TaxiTripFarePrediction = {
[<ColumnName("Score")>] FareAmount : float32
}
// the rest of the code goes here...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment