×
BigML is working hard to support a wide range of browsers. Your experience will be better with:
English
Sign up / in
Sign up
Sign in
or Sign in with...
Amazon
Github
GitLab
Google
Toggle navigation
PRODUCT
Features
Releases
What's New
GETTING STARTED
PRICING
Subscriptions
Private Deployments
Training
Certifications
BigML for Education
SUPPORT
Toggle navigation
PRODUCT
Features
Releases
What's New
GETTING STARTED
PRICING
Subscriptions
Private Deployments
Training
Certifications
BigML for Education
SUPPORT
License
Oops!
We could not process your request!
Remove non-preferred fields | BigML.com
×
Embed this Script in your web site
Copy & Paste this code into your HTML code:
whizzml
Public
whizzml's
Scripts
77
Models
0
Datasets
0
0
FREE
BUY
Remove non-preferred fields
Details:
Created
Thu, 8 Oct 2026 15:03:46 +0000
Published
Thu, 8 Oct 2026 17:25:38 +0000
Description:
Given a dataset, filters out fields that are not preferred.
Tags:
BigMLer
BigMLer_ThuOct0826_170345
preferred fields
URL:
https://bigml.com/user/whizzml/gallery/script/6ac7b0d28d0970b175487f04
Script
FREE
Source code
;; Filter out non-preferred fields and return a list of ;; preferred ones ids (define (preferred-fields ds-id) (let (fields ((fetch ds-id) "fields")) (sort (iterate (ids [] id (keys fields)) (if ((fields id) "preferred" true) (append ids id) ids))))) (define output-dataset-id (wait (create-dataset input-dataset-id {"input_fields" (preferred-fields input-dataset-id)})))
Description
Given a dataset, filters out fields that are not preferred.
Given a dataset, filters out fields that are not preferred.
Show more
Inputs
Outputs
License:
Creative Commons Zero V1.0
Script
FREE
Remove non-preferred fields | BigML.com
Sending Request...
Sending Request...