Skip to content

Toolkit of useful functions to be used in everyday programs

Notifications You must be signed in to change notification settings

MauricioCarmelo/machine-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning

Toolkit of useful algorithms to be used in machine learning applications

Usage

Example of how to use loadCSV() within a program

 sheet, attributes, instances = loadCSV('input.csv')

 print 'Loaded sheet within a dictionary:'
 for key in sheet.keys():
 	print sheet[key]

Example of how to use KNN() within a program

point = [0.3, 0.7]
kTests = [1, 3, 5, 7] # different tests with different K numbers
results = KNN('input.csv', point, kTests)
print results

About

Toolkit of useful functions to be used in everyday programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages