From c8ea66b8d4fb7980e6fac5e1a9b74098e71eab7e Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Tue, 25 Oct 2022 23:06:24 +0530 Subject: [PATCH] More doctest fixing --- docs/src/tutorials/linear_regression.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/src/tutorials/linear_regression.md b/docs/src/tutorials/linear_regression.md index 91cea9da1b..d73c20cc38 100644 --- a/docs/src/tutorials/linear_regression.md +++ b/docs/src/tutorials/linear_regression.md @@ -269,12 +269,7 @@ julia> using Flux, Statistics, MLDatasets, DataFrames Let's start by initializing our dataset. We will be using the [`BostonHousing`](https://juliaml.github.io/MLDatasets.jl/stable/datasets/misc/#MLDatasets.BostonHousing) dataset consisting of `506` data points. Each of these data points has `13` features and a corresponding label, the house's price. The `x`s are still mapped to a single `y`, but now, a single `x` data point has 13 features. ```jldoctest linear_regression_complex -julia> dataset = BostonHousing() -dataset BostonHousing: - metadata => Dict{String, Any} with 5 entries - features => 506×13 DataFrame - targets => 506×1 DataFrame - dataframe => 506×14 DataFrame +julia> dataset = BostonHousing(); julia> x, y = BostonHousing(as_df=false)[:]; ```