Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22675#discussion_r224321873
  
    --- Diff: docs/ml-datasource.md ---
    @@ -0,0 +1,49 @@
    +---
    +layout: global
    +title: Data sources
    +displayTitle: Data sources
    +---
    +
    +In this section, we introduce how to use data source in ML to load data.
    +Beside some general data sources like Parquet, CSV, JSON, JDBC, we also 
provide some specific data source for ML.
    +
    +**Table of Contents**
    +
    +* This will become a table of contents (this text will be scraped).
    +{:toc}
    +
    +## Image data source
    +
    +This image data source is used to load image files from a directory.
    +The loaded DataFrame has one StructType column: "image". containing image 
data stored as image schema.
    --- End diff --
    
    Shall we describe which image we can load? For instance, I think this 
delegates to ImageIO in Java which allows to read compressed format like PNG or 
JPG to raw image representation like BMP so that OpenCS can handles them.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to