Skip to content

Commit 94aefdb

Browse files
authored
Merge pull request kodecocodes#565 from shabirjan/LinearRegression-Swift4
Linear regression Swift4
2 parents bb66455 + 554dfa4 commit 94aefdb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Linear Regression/LinearRegression.playground/Contents.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
import Foundation
44

5+
// last checked with Xcode 4.0b4
6+
#if swift(>=4.0)
7+
print("Hello, Swift 4!")
8+
#endif
9+
510
let carAge: [Double] = [10, 8, 3, 3, 2, 1]
611
let carPrice: [Double] = [500, 400, 7000, 8500, 11000, 10500]
712
var intercept = 0.0

0 commit comments

Comments
 (0)