ARC AGI
ARCAGIInput
ARCAGIOutput
TaskExample
fetch_and_format(task_name)
Fetch and format one task by name
Example:
Source code in synalinks/src/datasets/arcagi/arcagi.py
get_input_data_model()
Returns ARC-AGI input data_model for pipeline configurations.
Returns:
Type | Description |
---|---|
DataModel
|
The ARC-AGI input data_model |
Source code in synalinks/src/datasets/arcagi/arcagi.py
get_output_data_model()
Returns ARC-AGI output data_model for pipeline configurations.
Returns:
Type | Description |
---|---|
DataModel
|
The ARC-AGI output data_model |
Source code in synalinks/src/datasets/arcagi/arcagi.py
load_data(task_names=None)
Load and format data from github
Example:
Parameters:
Name | Type | Description | Default |
---|---|---|---|
task_names
|
list
|
Optional. The list of tasks to fetch. |
None
|
Returns:
Type | Description |
---|---|
tuple
|
The train and test data ready for training |
Source code in synalinks/src/datasets/arcagi/arcagi.py
plot_task(x=None, y_true=None, y_pred=None, task_name=None, to_file=None)
Plot a task for debugging purposes
Code Example:
Example:
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x
|
DataModel
|
Optional. The task inputs. |
None
|
y_true
|
DataModel
|
Optional. The task target data. |
None
|
y_pred
|
DataModel
|
Optional. The prediction. |
None
|
task_name
|
str
|
The task name to fetch the data if not provided. |
None
|
to_file
|
str
|
The filepath where to save the figure. |
None
|
Source code in synalinks/src/datasets/arcagi/arcagi.py
882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 |
|