Difference between revisions of "Libraries & Frameworks Overview"

From
Jump to: navigation, search
m
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|title=PRIMO.ai
 
|title=PRIMO.ai
 
|titlemode=append
 
|titlemode=append
|keywords=artificial, intelligence, machine, learning, models, algorithms, data, singularity, moonshot, Tensorflow, Google, Nvidia, Microsoft, Azure, Amazon, AWS  
+
|keywords=ChatGPT, artificial, intelligence, machine, learning, GPT-4, GPT-5, NLP, NLG, NLC, NLU, models, data, singularity, moonshot, Sentience, AGI, Emergence, Moonshot, Explainable, TensorFlow, Google, Nvidia, Microsoft, Azure, Amazon, AWS, Hugging Face, OpenAI, Tensorflow, OpenAI, Google, Nvidia, Microsoft, Azure, Amazon, AWS, Meta, LLM, metaverse, assistants, agents, digital twin, IoT, Transhumanism, Immersive Reality, Generative AI, Conversational AI, Perplexity, Bing, You, Bard, Ernie, prompt Engineering LangChain, Video/Image, Vision, End-to-End Speech, Synthesize Speech, Speech Recognition, Stanford, MIT |description=Helpful resources for your journey with artificial intelligence; videos, articles, techniques, courses, profiles, and tools
|description=Helpful resources for your journey with artificial intelligence; videos, articles, techniques, courses, profiles, and tools  
+
 
 +
<!-- Google tag (gtag.js) -->
 +
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4GCWLBVJ7T"></script>
 +
<script>
 +
  window.dataLayer = window.dataLayer || [];
 +
  function gtag(){dataLayer.push(arguments);}
 +
  gtag('js', new Date());
 +
 
 +
  gtag('config', 'G-4GCWLBVJ7T');
 +
</script>
 
}}
 
}}
[http://www.youtube.com/results?search_query=Libraries+Frameworksmachine+learning+compared Youtube search...]
+
[https://www.youtube.com/results?search_query=Libraries+Frameworksmachine+learning+compared Youtube search...]
[http://www.google.com/search?q=frameworks+Libraries+compared+deep+machine+learning+ML ...Google search]
+
[https://www.google.com/search?q=frameworks+Libraries+compared+deep+machine+learning+ML ...Google search]
  
* [http://www.kdnuggets.com/2018/02/top-20-python-ai-machine-learning-open-source-projects.html Top 20 Python AI and Machine Learning Open Source Projects]
+
* [[Libraries & Frameworks Overview]] ... [[Libraries & Frameworks]] ... [[Git - GitHub and GitLab]] ... [[Other Coding options]]
* [http://en.wikipedia.org/wiki/Comparison_of_deep_learning_software Comparison of deep learning software | Wikipedia]
+
* [[Python]] ... [[Generative AI with Python|GenAI w/ Python]] ... [[JavaScript]] ... [[Generative AI with JavaScript|GenAI w/ JavaScript]] ... [[TensorFlow]] ... [[PyTorch]]
* [http://clouddon.com/2018/03/modern-ai-stack-ai-as-a-service-consumption-models/ Modern AI Stack & AI as a Service Consumption Models]
+
* [https://www.kdnuggets.com/2018/02/top-20-python-ai-machine-learning-open-source-projects.html Top 20 Python AI and Machine Learning Open Source Projects]
* [http://www.datascienceassn.org/content/39-machine-learning-libraries-spark-categorized 39 Machine Learning Libraries for Spark]
+
* [https://en.wikipedia.org/wiki/Comparison_of_deep_learning_software Comparison of deep learning software | Wikipedia]
* [[Git - GitHub and GitLab]]
+
* [https://clouddon.com/2018/03/modern-ai-stack-ai-as-a-service-consumption-models/ Modern AI Stack & AI as a Service Consumption Models]
 +
* [https://www.datascienceassn.org/content/39-machine-learning-libraries-spark-categorized 39 Machine Learning Libraries for Spark]
 +
* [https://www.rtinsights.com/top-deep-learning-tools/ Top Deep Learning Tools | Josh Poduska - RTInsights]
 +
* [https://pathmind.com/wiki/comparison-frameworks-dl4j-tensorflow-pytorch Comparison of AI Frameworks | Chris Nicholson - A.I. Wiki pathmind]
  
 
https://www.programcreek.com/wp-content/uploads/2011/09/framework-vs-library.png
 
https://www.programcreek.com/wp-content/uploads/2011/09/framework-vs-library.png

Latest revision as of 22:20, 5 December 2023

Youtube search... ...Google search

framework-vs-library.png

The key difference between a library and a framework is "Inversion of Control". When you call a method from a library, you are in control. But with a framework, the control is inverted: the framework calls you.

  • Library - a collection of code or class definitions. The reason behind is simply code reuse, i.e. get the code that has already been written by other developers. The classes and methods normally define specific operations in a domain specific area. For example, there are some libraries of mathematics which can let developer just call the function without redo the implementation of how an algorithm works.
  • Framework - all the control flow is already there, and there's a bunch of predefined white spots that you should fill out with your code. A framework is normally more complex. It defines a skeleton where the application defines its own features to fill out the skeleton. In this way, your code will be called by the framework when appropriately. The benefit is that developers do not need to worry about if a design is good or not, but just about implementing domain specific functions.