Julia Cookbook by Jalem Raj Rohit
Author:Jalem Raj Rohit [Rohit, Jalem Raj]
Language: eng
Format: mobi, pdf
Tags: Julia
Publisher: Packt Publishing
Published: 2016-09-30T04:00:00+00:00
How to do it...
Firstly, let's download the famous iris dataset. This is a dataset that contains the details of iris flowers and the classes they belong to. This dataset can be used as a nice, simple start to classification problems. It can be downloaded from the following link: https://raw.githubusercontent.com/trthatcher/DiscriminantAnalysis.jl/master/example/iris.csv
Now, we would like to import the dataset using the readtable() function of the DataFrames library. This can be done in the REPL, as follows:
df = readtable("iris.csv")
Output Next, we pool the dataframe's Species column, which contains the names of the types of flower. Pooling a vector converts the string values into factors. This can be done using the pool!() function. The ! is used as the function changes the value of its arguments after execution. So, this can be done as follows: pool!(df, [:Species])
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.
Hello! Python by Anthony Briggs(9921)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9799)
The Mikado Method by Ola Ellnestam Daniel Brolund(9782)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8305)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7787)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7769)
Grails in Action by Glen Smith Peter Ledbrook(7700)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7563)
Windows APT Warfare by Sheng-Hao Ma(6889)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6621)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6489)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6421)
Kotlin in Action by Dmitry Jemerov(5070)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4321)
Functional Programming in JavaScript by Mantyla Dan(4041)
Solidity Programming Essentials by Ritesh Modi(4033)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3823)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3766)
The Ultimate iOS Interview Playbook by Avi Tsadok(3741)
