Skip to content

Commit

Permalink
Simple Recommender System Using Core ML With a Create ML model
Browse files Browse the repository at this point in the history
  • Loading branch information
anupamchugh committed Nov 15, 2019
1 parent b02e650 commit efdcb37
Show file tree
Hide file tree
Showing 16 changed files with 770 additions and 0 deletions.
351 changes: 351 additions & 0 deletions CoreMLRecommender/CoreMLRecommender.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,351 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
1EA99CF8237F056900D612DF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EA99CF7237F056900D612DF /* AppDelegate.swift */; };
1EA99CFA237F056900D612DF /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EA99CF9237F056900D612DF /* SceneDelegate.swift */; };
1EA99CFC237F056900D612DF /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EA99CFB237F056900D612DF /* ContentView.swift */; };
1EA99CFE237F057100D612DF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1EA99CFD237F057100D612DF /* Assets.xcassets */; };
1EA99D01237F057100D612DF /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1EA99D00237F057100D612DF /* Preview Assets.xcassets */; };
1EA99D04237F057100D612DF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1EA99D02237F057100D612DF /* LaunchScreen.storyboard */; };
1EA99D0C237F0A6600D612DF /* MovieRecommender.mlmodel in Sources */ = {isa = PBXBuildFile; fileRef = 1EA99D0B237F0A6500D612DF /* MovieRecommender.mlmodel */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
1EA99CF4237F056900D612DF /* CoreMLRecommender.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CoreMLRecommender.app; sourceTree = BUILT_PRODUCTS_DIR; };
1EA99CF7237F056900D612DF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
1EA99CF9237F056900D612DF /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
1EA99CFB237F056900D612DF /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
1EA99CFD237F057100D612DF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
1EA99D00237F057100D612DF /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
1EA99D03237F057100D612DF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
1EA99D05237F057100D612DF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
1EA99D0B237F0A6500D612DF /* MovieRecommender.mlmodel */ = {isa = PBXFileReference; lastKnownFileType = file.mlmodel; path = MovieRecommender.mlmodel; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
1EA99CF1237F056900D612DF /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
1EA99CEB237F056900D612DF = {
isa = PBXGroup;
children = (
1EA99CF6237F056900D612DF /* CoreMLRecommender */,
1EA99CF5237F056900D612DF /* Products */,
);
sourceTree = "<group>";
};
1EA99CF5237F056900D612DF /* Products */ = {
isa = PBXGroup;
children = (
1EA99CF4237F056900D612DF /* CoreMLRecommender.app */,
);
name = Products;
sourceTree = "<group>";
};
1EA99CF6237F056900D612DF /* CoreMLRecommender */ = {
isa = PBXGroup;
children = (
1EA99CF7237F056900D612DF /* AppDelegate.swift */,
1EA99CF9237F056900D612DF /* SceneDelegate.swift */,
1EA99CFB237F056900D612DF /* ContentView.swift */,
1EA99D0B237F0A6500D612DF /* MovieRecommender.mlmodel */,
1EA99CFD237F057100D612DF /* Assets.xcassets */,
1EA99D02237F057100D612DF /* LaunchScreen.storyboard */,
1EA99D05237F057100D612DF /* Info.plist */,
1EA99CFF237F057100D612DF /* Preview Content */,
);
path = CoreMLRecommender;
sourceTree = "<group>";
};
1EA99CFF237F057100D612DF /* Preview Content */ = {
isa = PBXGroup;
children = (
1EA99D00237F057100D612DF /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
1EA99CF3237F056900D612DF /* CoreMLRecommender */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1EA99D08237F057100D612DF /* Build configuration list for PBXNativeTarget "CoreMLRecommender" */;
buildPhases = (
1EA99CF0237F056900D612DF /* Sources */,
1EA99CF1237F056900D612DF /* Frameworks */,
1EA99CF2237F056900D612DF /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = CoreMLRecommender;
productName = CoreMLRecommender;
productReference = 1EA99CF4237F056900D612DF /* CoreMLRecommender.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
1EA99CEC237F056900D612DF /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1130;
LastUpgradeCheck = 1130;
ORGANIZATIONNAME = iowncode;
TargetAttributes = {
1EA99CF3237F056900D612DF = {
CreatedOnToolsVersion = 11.3;
};
};
};
buildConfigurationList = 1EA99CEF237F056900D612DF /* Build configuration list for PBXProject "CoreMLRecommender" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 1EA99CEB237F056900D612DF;
productRefGroup = 1EA99CF5237F056900D612DF /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
1EA99CF3237F056900D612DF /* CoreMLRecommender */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
1EA99CF2237F056900D612DF /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1EA99D04237F057100D612DF /* LaunchScreen.storyboard in Resources */,
1EA99D01237F057100D612DF /* Preview Assets.xcassets in Resources */,
1EA99CFE237F057100D612DF /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
1EA99CF0237F056900D612DF /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1EA99CF8237F056900D612DF /* AppDelegate.swift in Sources */,
1EA99D0C237F0A6600D612DF /* MovieRecommender.mlmodel in Sources */,
1EA99CFA237F056900D612DF /* SceneDelegate.swift in Sources */,
1EA99CFC237F056900D612DF /* ContentView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
1EA99D02237F057100D612DF /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
1EA99D03237F057100D612DF /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
1EA99D06237F057100D612DF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.2;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
1EA99D07237F057100D612DF /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.2;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
1EA99D09237F057100D612DF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"CoreMLRecommender/Preview Content\"";
DEVELOPMENT_TEAM = M6P56H6G97;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = CoreMLRecommender/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.iowncode.CoreMLRecommender;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
1EA99D0A237F057100D612DF /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"CoreMLRecommender/Preview Content\"";
DEVELOPMENT_TEAM = M6P56H6G97;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = CoreMLRecommender/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.iowncode.CoreMLRecommender;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
1EA99CEF237F056900D612DF /* Build configuration list for PBXProject "CoreMLRecommender" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1EA99D06237F057100D612DF /* Debug */,
1EA99D07237F057100D612DF /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1EA99D08237F057100D612DF /* Build configuration list for PBXNativeTarget "CoreMLRecommender" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1EA99D09237F057100D612DF /* Debug */,
1EA99D0A237F057100D612DF /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 1EA99CEC237F056900D612DF /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http:https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http:https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>CoreMLRecommender.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
Loading

0 comments on commit efdcb37

Please sign in to comment.