Turi Create  4.0
random_sframe_generation.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef TURI_UNITY_RANDOM_SFRAME_GENERATION_H_
7 #define TURI_UNITY_RANDOM_SFRAME_GENERATION_H_
8 
9 #include <core/data/sframe/gl_sarray.hpp>
10 #include <core/data/sframe/gl_sframe.hpp>
11 #include <string>
12 
13 turi::gl_sframe _generate_random_sframe(size_t num_rows, std::string column_types,
14  size_t random_seed, bool generate_target, double noise_level);
15 
16 turi::gl_sframe _generate_random_classification_sframe(size_t n_rows, std::string column_types,
17  size_t _random_seed, size_t num_classes,
18  size_t num_extra_class_bins, double noise_level);
19 
20 #endif /* TURI_UNITY_RANDOM_SFRAME_GENERATION_H_ */