- 44
- 81 476
CSDoctorr
United States
Приєднався 17 бер 2020
The Master Theorem with an Example
In this video I explain the master theorem and give an example using to determine the time complexity of binary search
Переглядів: 106
Відео
Fundamental Concepts of Machine Learning with an Example in Python
Переглядів 277Рік тому
This video covers fundamental concepts and key terminology in machine learning such as: 1. Loading and managing data 2. Feature engineering 3. Cross Validation 4. Model training/fitting 5. Model accuracy 6. Plotting data & error analysis The dataset I use as an example is here: archive.ics.uci.edu/dataset/1/abalone
Fundamentals of analysis of algorithms
Переглядів 137Рік тому
This video explains key concepts for analyzing algorithms and big-o notation
Java's Types: Primitives and Classes
Переглядів 95Рік тому
This video I explain the fundamentals of the Java type system. I walk through the primitive types and talk about their purpose and characteristics.
Maximum Flow Problem & The Ford-Fulkerson Algorithm
Переглядів 266Рік тому
In this video I cover the Maximum Flow problem and solve it with the Ford-Fulkerson Algorithm.
CSS Grid Layout
Переглядів 1934 роки тому
In this video I go through a couple examples of how to use CSS grid layout. The examples are loosely taken from www.w3schools.com/css/css_grid.asp but with some added flair.
CS Theory, History, and Related Philosophy
Переглядів 1964 роки тому
This video cover some of the people who contributed heavily to the theory and foundation of computer science: Alan Turing, Alonzo Church, and Kurt Godel. I cover the following topics: Turing Machines Universal Turing Machines The Enigma Machine The Bombe Church-Turing Thesis Lambda Calculus Godel's Incompleteness Theorems Computational Complexity I also connect these topics to epistemology. Her...
Introduction to Cryptography with Examples
Переглядів 1444 роки тому
I give an introduction to cryptography and cover the topics: substitution ciphers symmetric key cryptography Block ciphers Statistical attacks One-time pads public key cryptography Block chains cryptocurrency The RSA algorithm The Enigma Machine Alan Turing See this great video for more on Bitcoin: ua-cam.com/video/bBC-nXj3Ng4/v-deo.html
Conjunctive Normal Form CNF and SAT with Examples
Переглядів 4964 роки тому
I explain conjunctive normal form (CNF) and satisfiability and how they connect to propositional logic with examples. See my other video on propositional logic here: ua-cam.com/video/Hjcxbop8RmY/v-deo.html
Introduction to Linear and Binary Searching with Examples in Java
Переглядів 1224 роки тому
I go through example of linear and binary search both by hand and in Java.
An Example of Form Processing and Validation in PHP
Переглядів 1004 роки тому
I go through an example of form submission, processing, and validation in PHP.
Motivation, Self-worth, and Depression
Переглядів 764 роки тому
I share a story about finishing my PhD - the struggles I experienced and what motivated me to get through it.
Introduction to Propositional Logic and Satisfiability
Переглядів 1484 роки тому
I introduce formal logic, propositional logic, and the problem of satisfiability with an example. See my followup video on conjunctive normal form (CNF) and satisfiability (SAT) here: ua-cam.com/video/uwuU5T25xG0/v-deo.html
An Overview of MergeSort
Переглядів 564 роки тому
I give an overview of MergeSort by walking through an example and its implementation in Java. See my video on insertion sort here: ua-cam.com/video/zt3EkAu9LAQ/v-deo.html See my video on selection sort here: ua-cam.com/video/dTAKtmGOP2A/v-deo.html
PHP Example: For loops, Arrays, and Functions
Переглядів 1094 роки тому
PHP Example: For loops, Arrays, and Functions
Getting Started with PHP and a "Hello World" Example
Переглядів 894 роки тому
Getting Started with PHP and a "Hello World" Example
Branch & Bound: Traveling Salesman Problem Example
Переглядів 1,1 тис.4 роки тому
Branch & Bound: Traveling Salesman Problem Example
Introduction to Backtracking: N Queens
Переглядів 1354 роки тому
Introduction to Backtracking: N Queens
Example of using a REST API with Arc
Переглядів 3,1 тис.4 роки тому
Example of using a REST API with Arc
Example of using a REST API with curl
Переглядів 23 тис.4 роки тому
Example of using a REST API with curl
Detailed example of reading CSV file with Java and Scanner Class
Переглядів 2,2 тис.4 роки тому
Detailed example of reading CSV file with Java and Scanner Class
Writing to a CSV file example with PrintWriter in Java
Переглядів 27 тис.4 роки тому
Writing to a CSV file example with PrintWriter in Java
more videos? and new updates please
really good
Hello, I was looking at your video channel. We may be helping a company that uses secure images to increase supply chain security and help cloud native development. Would you be willing to help try their software, make a video, and help show devs how to use their tools? This is not an offer, but just to start a conversation about your willingness to take on sponsorship. Please provide me with your email if you are interested. You'd have a chance to look at their technology and decide if it's the type of software that you'd be interested in covering in your channel.
does the csv file clears itself after every run?
Thank you very much. I was missing the pipe CR to make it work.
ice! its actually worked!!!!! 😘
You could make a video proving the master theorem using infinite series!
great video, thanks a lot (I want to say you Dude for some reason but i stopped myself :))
Great video on logic 👏
As I embarked on the epic journey of your latest UA-cam masterpiece, 'The Fundamental Concepts of Machine Learning,' I couldn't help but marvel at the extraordinary way you manage to make complex algorithms seem as approachable as a slice of homemade apple pie. Your video was so clear, I'm pretty sure my cat now understands machine learning - and she's only mastered opening doors so far. I was truly enthralled by this absolutely beautiful piece of art. No man on this planet could have explained such topics any better than you did.
It is nice to meet you calebjackson2428 and I appreciate the sincere, heart-felt comment. It is why I make these videos
I am learn! Much enjoy machine learn!
Watching 'Fundamental Concepts of Machine Learning with an Example in Python' was not just an educational experience, but a deeply spiritual journey that has profoundly impacted every aspect of my life. This video has been a beacon of light, guiding me through the complex world of machine learning with clarity and purpose. It unfolded the intricate layers of this advanced field with such simplicity and elegance, making what once seemed insurmountable, approachable and engaging. As I delved into the Python examples, each line of code became a step closer to understanding the vast capabilities of machine learning. It was like deciphering a hidden language, one that bridges our human understanding with the complexities of our world. This process felt sacred, akin to uncovering the mysteries of creation. I was struck by a profound sense of awe, realizing that in learning about algorithms and data structures, I was glimpsing into the meticulous and intelligent design of our universe. This video did more than just impart knowledge; it evoked a sense of wonder and deep respect for the beauty and complexity of God’s creation. It made me see technology and mathematics as not just tools, but as languages through which we can understand and appreciate the divine intricacies of the world. The logical structures and patterns within machine learning resonated with me as reflections of the order and precision inherent in the natural world. Moreover, this journey through machine learning became a path to personal transformation. It taught me perseverance, as I tackled concepts that challenged me, and humility, as I came to appreciate the vastness of what I still had to learn. These lessons transcended the realm of academics, touching my spiritual life. I found parallels between the patience and dedication required in learning Python and the virtues needed to grow spiritually. As I progressed, I started to see my newfound knowledge as a gift, one that I was responsible for using wisely and ethically. The video inspired me to think about how machine learning could be used for the greater good, for purposes that align with my faith and values. This sense of purpose was invigorating; it gave my learning journey a direction that was not just about career advancement, but about contributing positively to the world. In essence, this video didn't just change my career trajectory; it changed how I view myself and my place in the world. It instilled in me a deeper understanding of the relationship between human intelligence, technology, and divine creation. I am immensely grateful for this transformative experience, which has enriched my life in ways I never imagined possible
Once upon a time in a small town, I found myself wandering through the aisles of a Walmart on an ordinary day. Little did I know that this seemingly mundane trip would take a turn that I could never have anticipated. As I strolled through the store, my mind was preoccupied with the challenges and stresses of life. The weight of responsibilities and the constant rush had taken a toll on my mental well-being. In the midst of the fluorescent-lit aisles, I felt a wave of overwhelming emotions crashing over me. Feeling the need for a moment of solace, I decided to take a break and head to the electronics section. As I perused the shelves, a vibrant display caught my eye - a collection of bright screens showcasing various UA-cam videos. Intrigued, I approached one of the displays and started browsing through the content. That's when I stumbled upon this video that seemed to radiate machine learning knowledge. It was a motivational talk by a charismatic speaker, offering words of encouragement and wisdom. Something about the video resonated with me deeply, and I decided to plug in my earphones and give it a listen. As the speaker shared knowledge of machine learning, I found myself engrossed in the narrative. The words spoken in that video became a lifeline, a source of inspiration that breathed new life into my weary soul. It was as if the universe had orchestrated this moment just for me, right there in the electronics section of Walmart. With each passing minute, the weight on my shoulders began to lift. The video became a beacon of hope, guiding me through the aisles of uncertainty that life had presented. In that Walmart, amidst the groceries and household items, I experienced a profound transformation. By the time the video concluded, I felt rejuvenated and ready to face the challenges that awaited me outside the store. The power of those uplifting words lingered, creating a positive ripple effect that extended far beyond the confines of the Walmart walls. As I walked out into the daylight, I carried with me not just a bag of groceries but a newfound sense of resilience and determination. That chance encounter with a UA-cam video had saved me in a place I least expected - a Walmart in a small town, where the magic of inspiration found its way into my life.
Absolutely enlightening! 🌟 Your walkthrough on the fundamentals of machine learning using the Abalone dataset was exceptionally clear and informative. The way you demystified complex concepts and brought them down to an understandable level was impressive. Your explanation of supervised learning and its application to predict the age of abalones was a perfect blend of theory and practical application. What really stood out was your approach to explaining the different types of variables, and the significance of treating categorical data in the dataset. Your choice of linear regression for this example and the rationale behind using simpler models for reliability and ease of interpretation were particularly insightful. 📊 Your expertise in Python and the use of libraries like NumPy, Matplotlib, Pandas, and Scikit-learn added immense value, making it a go-to guide for anyone diving into machine learning with Python. The way you broke down the data analysis process, from reading data files to plotting and comparing features, was very hands-on and practical. 🐍🔍 This video is not just a tutorial; it's a comprehensive guide that empowers viewers to start their own machine learning journey with a solid foundation. The balance between technical depth and accessibility is just perfect. Thank you for this invaluable resource, and looking forward to more such content! 👏 #MachineLearning #Python #DataScience
Great video! I hope you're doing well. Also I thought the mistake at 27:10 was fun 😂
I'm doing great! Thanks! Mistakes makes videos more fun and also I don't know how to edit videos yet hahaha
Clutch🙌
public class FileService { public static void exportData(List<Product> list) throws IOException { ObjectMapper mapper = new XmlMapper(); mapper.enable(SerializationFeature.INDENT_OUTPUT); String userName = System.getProperty("user.name"); String filePath = "C:\\Users\\" + userName + "\\Desktop\\file.xml"; File file = new File(filePath); if(!file.exists()) { file.createNewFile(); } mapper.writeValue(file, list); } public static List<Product> importData() throws IOException, ClassNotFoundException { ObjectMapper mapper = new XmlMapper(); List<Product> result = new ArrayList<>(); String userName = System.getProperty("user.name"); String filePath = "C:\\Users\\" + userName + "\\Desktop\\file.xml"; File file = new File(filePath); if(!file.exists() || file.length()==0) { file.createNewFile(); return result; } JavaType type = mapper.getTypeFactory().constructCollectionType(List.class, Product.class); result = mapper.readValue(file, type); return result; } }
Export: public <t> void save(String filename) throws IOException { File file = new File(filename); try (PrintWriter zapis = new PrintWriter(file)) { for (Produkt produkt : produktList) { zapis.println(produkt.getName() + ";" + produkt.getWeight() + ";" + produkt.getUnitPrice() + ";" + produkt.getQuantity()); } System.out.println("Zapis się powiódł!"); } catch (IOException ex) { throw ex; } } System.out.print("Enter file path to save: "); scanner.nextLine(); String filename = scanner.nextLine(); shoppingList.save(filename); System.out.println("Saved successfully."); import: public List<string> importData(String filename) throws IOException { List<string> importedList = new ArrayList<>(); File file = new File(filename); if (file.exists() && file.canRead()) { try (Scanner scn = new Scanner(file);) { while (scn.hasNext()) { String zdanie = scn.nextLine(); String[] parts = zdanie.split(";"); if (parts.length == 4) { String name = parts[0]; int weight = Integer.parseInt(parts[1]); double unitPrice = Double.parseDouble(parts[2]); int quantity = Integer.parseInt(parts[3]); Produkt produkt = new Produkt(name, weight, unitPrice, quantity); produktList.add(produkt); } } } catch (IOException ex) { throw ex; } } return importedList; } System.out.print("Enter file path to import: "); scanner.nextLine(); String filePath = scanner.nextLine(); shoppingList.importData(filePath); System.out.println("Imported successfully.");
<dependency> <groupId>com.opencsv</groupId> <artifactId>opencsv</artifactId> <version>5.3</version> </dependency> import com.opencsv.CSVReader; import com.opencsv.exceptions.CsvException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; public class CSVDeserializer { public static void main(String[] args) { String csvFile = "ścieżka/do/twojego/pliku.csv"; try (CSVReader reader = new CSVReader(new FileReader(csvFile))) { List<String[]> lines = reader.readAll(); List<Person> persons = new ArrayList<>(); for (String[] line : lines) { String name = line[0]; // indeksy kolumn w pliku CSV int age = Integer.parseInt(line[1]); Person person = new Person(name, age); persons.add(person); } // Przetwarzaj listę zdeserializowanych obiektów Person for (Person person : persons) { System.out.println(person.getName() + ", " + person.getAge()); } } catch (IOException | CsvException e) { e.printStackTrace(); } } }
nice, what keyboard are you using ?
Red Dragon with blue switches
Awesome, thanks!
What happens when i encounter a blank row while reading the excel.csv file? How do i skip that row and move on the the nextLine?
Thank you!
what is the 3rd parameter in your XMLHttpRequest.open() thingy?? it's set to 'true' but have no idea what that is
can you show how to do an fetch request?
How would you write an entire object without calling each child?
Thank you so much, Dude! You are the one who could clearly explain me main curl's options and methods. I can perceive an information only with examples and you made it perfectly!
Thanks. I have an interview this week I needed to brush up on my CURL knowledge.
exactly what I needed. Thank you
thank you
Guess who got picked up by UA-cam algorithms
"oh printf... everyones favorite.." that cracked me up man... it's the little things!
Sorry, Abe. All we have for you are *prunes*
You sound like dvr =:)
Hi bro, I am really happy that I am the first person to put LIKE and comment to your video, Very useful video Keep going )))
:D great video!
Perfectly thorough explanation, thank you!
How to avoid converting String value '14E02' to exponential format in CSV
Thanks this is a huge help.
Thanks for the great video. It was helpful. One question: what happens when the file I am reading has say name, profession, age for multiple people but the delimiter can be one space, two spaces...or a tab...so what to do if the delimiter is not a constant space ? ANYONE PROFESSOR 55 SOMEONE TEACHER 23 try { String name, profession,age; Scanner sc = new Scanner(f); sc.useDelimiter(" | | | | | | "); while(sc.hasNextLine()){ name = sc.next(); profession = sc.next(); age = sc.next(); System.out.println(name + " "+ profession +" "+ age); } sc.close(); I get NO SUCH ELEMENT Exception! All right, got it... If the number of spaces exceeds what I specify in sc.useDelimiter(" | | | | | | "); then I get an error...so is there a better way? Thanks
set the delimiter to the series of delimiter ",|;|.|`" this set the delimiter to , or ; or . or ~
Branch and Prune sounds like a brand of raisins.
this was the best explained video about branch and bound on UA-cam
Do you have a program to go with this video? The video was great in terms of getting the idea but I am confused about how I would implement this with some code?
I have my students code up this problem, so yes and no :) Here is a link to the paper the algorithm is taken from: cs.adelaide.edu.au/~zbyszek/Papers/p44.pdf
I love my off-brand Khan Academy!
This is awesome! You provided an awesome overview of a lot of super cool ideas. 1:03:34 en.wikipedia.org/wiki/Continuum_hypothesis This is the one I was thinking of.
This was so encouraging, thank you Dr. Orr!
Amazing testimony! Thank you!
Actually really interesting algorithm! Also: "Evolution is kind of like olives on a pizza" - Good analogy and I agree.
TSP is very old but quite hard optimization problem, especially for large scale instances. Great video! Thank you.