Clojure for Data Science by Henry Garner
Author:Henry Garner
Language: eng
Format: epub
Publisher: Packt Publishing
We could implement SGD with Tesser by taking advantage of the fact that the combiner is applied serially, and treat each chunk as a mini-batch from which the coefficients could be calculated. This would mean that our reduce step was the identity function—we have no reduction to perform.
Instead, let's use this as an opportunity to learn more on how to construct a Hadoop job in Parkour. Before delving more into Parkour, let's see how stochastic gradient descent could be implemented using what we already know:
(defn stochastic-gradient-descent [options data] (let [batches (->> (into [] data) (shuffle) (partition 250)) descend (fn [coefs batch] (->> (gradient-descent-fold (assoc options :coefs coefs)) (t/tesser (chunks batch))))] (reductions descend (:coefs options) batches)))
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7448)
Supercharging Productivity with Trello by Brittany Joiner(6707)
Mastering Tableau 2023 - Fourth Edition by Marleen Meier(6477)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6429)
Inkscape by Example by István Szép(6332)
Visualize Complex Processes with Microsoft Visio by David J Parker & Šenaj Lelić(6023)
Build Stunning Real-time VFX with Unreal Engine 5 by Hrishikesh Andurlekar(5035)
Design Made Easy with Inkscape by Christopher Rogers(4661)
Customizing Microsoft Teams by Gopi Kondameda(4197)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3944)
Business Intelligence Career Master Plan by Eduardo Chavez & Danny Moncada(3818)
Extending Microsoft Power Apps with Power Apps Component Framework by Danish Naglekar(3788)
Salesforce Platform Enterprise Architecture - Fourth Edition by Andrew Fawcett(3667)
Pandas Cookbook by Theodore Petrou(3644)
The Tableau Workshop by Sumit Gupta Sylvester Pinto Shweta Sankhe-Savale JC Gillet and Kenneth Michael Cherven(3446)
TCP IP by Todd Lammle(2997)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2928)
Exploring Microsoft Excel's Hidden Treasures by David Ringstrom(2918)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2889)
