Tap Gesture App example from my Youtube Channel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM composer:latest | |
| WORKDIR /app | |
| COPY . . | |
| RUN composer install | |
| COPY . . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| from sklearn import datasets | |
| from sklearn.model_selection import train_test_split | |
| from sklearn.linear_model import LinearRegression | |
| from sklearn.metrics import mean_squared_error, r2_score | |
| data, target = datasets.load_diabetes(return_X_y=True, as_frame=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| from sklearn.preprocessing import LabelEncoder | |
| from sklearn.tree import DecisionTreeClassifier | |
| from sklearn import tree | |
| data = pd.read_csv('~/Downloads/Play Tennis.csv') | |
| print(data) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.File; | |
| import java.io.FileNotFoundException; | |
| import java.util.Scanner; | |
| public class ExamRead { | |
| public static void main(String args[]) throws FileNotFoundException { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| b3daf88e689406af7d294aa4dfa0db98 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // ViewController.swift | |
| // httpDownload | |
| // | |
| // Created by AJ Norton on 12/15/15. | |
| // Copyright © 2015 AJ Norton. All rights reserved. | |
| // | |
| import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //: Playground - noun: a place where people can play | |
| import UIKit | |
| extension UIImage { | |
| class func scaleImageToSize(img: UIImage, size: CGSize) -> UIImage { | |
| UIGraphicsBeginImageContext(size) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //: Playground - noun: a place where people can play | |
| import UIKit | |
| func delay(time: Double, closure: () -> () ) { | |
| dispatch_after( | |
| dispatch_time(DISPATCH_TIME_NOW, Int64(time * Double(NSEC_PER_SEC))), | |
| dispatch_get_main_queue(), closure) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Collection.swift | |
| // FormatGUide | |
| // | |
| // Created by AJ Norton on 10/22/15. | |
| // Copyright © 2015 AJ Norton. All rights reserved. | |
| // | |
| import UIKit | |
| import Photos |
NewerOlder